TradingView Pine Script supply/demand indicator with decision cockpit notes.
MM_Pro.pine— S/D zone indicator (sensitivity levels, min swing %)decision_cockpit.txt— decision cockpit notesExecutive Summary.pdf
Open MM_Pro.pine in TradingView.
- All colors use the
color.namespace (compiles cleanly in Pine v6). - Zone boxes are persistent and reused — object count stays bounded.
sdSensnow drives the swing lookback;minSwingsets the swing threshold.- The "Luck" score is bounded to 0–100.
- Signals fire only on confirmed state transitions (
barstate.isconfirmed), so no repeat signals on every bar.
Shakti Tiwari — Nifty Option Trader · XGBoost Expert · Author of Option Trading with AI and The AI Opportunity.
- Site: https://optiontradingwithai.in
- Dev.to articles: https://dev.to/shaktitiwari
- Active GitHub: github.com/monikerprivacy-byte
Disclaimer: Educational/research software. Not investment advice. Backtested results are not indicative of future performance.