OPEN-SOURCE SCRIPT
Aggiornato DailyDesk - Pre-Market Plan & Risk

DailyDesk - Pre-Market Plan and Risk
OVERVIEW
DailyDesk is a multi-timeframe planning and execution-support indicator designed to help traders prepare scenarios before entering a trade.
It is not a conventional BUY/SELL signal generator. Instead, it combines market context, location, structure, volatility, execution confirmation, risk geometry, and trade-state management into a single decision dashboard.
The default workflow uses:
These roles are configurable, but they must remain ordered from the higher timeframe to the execution timeframe.
CORE FRAMEWORK
DailyDesk separates the market plan into two fixed roles:
The indicator then identifies which scenario is currently reachable and potentially actionable. A counter setup is never treated as an ordinary trend pullback; it requires stronger reversal evidence.
DAY-QUALITY GATE
The dashboard grades the trading environment using:
Continuation and counter scenarios receive separate scores. These scores are planning filters, not guarantees of profitability.
SMC AND ICT-STYLE CONTEXT
DailyDesk evaluates confirmed price-action structures including:
Order blocks, fair value gaps, and key levels are used to construct candidate execution zones. These concepts are algorithmic interpretations of price action and should not be confused with exchange-level order-book data.
ADAPTIVE ENTRY CONFIRMATION
Execution logic uses price action rather than EMA or directional-indicator entry signals.
Depending on the active market mode, confirmation may require:
Counter-trend setups require stronger confirmation, including a liquidity sweep and micro structure shift.
An open execution candle may display provisional information, but it cannot trigger a confirmed entry.
ENTRY PROCESS
The trade-state sequence is:
WAIT → ARMED → NEXT OPEN → IN TRADE → TP/INVALIDATION
ARMED means price has reached the scenario area. It is not an entry signal.
A valid setup must:
The entry line is displayed only after an executable next-open fill exists. This prevents a planned level from appearing as a historical or mid-candle fill.
RISK PLANNING
Configurable risk inputs include:
The displayed position size is an estimate. Traders must verify contract specifications, tick value, margin, fees, slippage, and final quantity with their broker.
DASHBOARD STATES
TIMEFRAME AND REPAINTING BEHAVIOUR
Higher-timeframe values use the last completed source candle. Execution triggers and setup invalidations require a confirmed execution-timeframe close.
Information shown while the current candle is forming may update as price changes, but it cannot produce a confirmed trade trigger until the candle closes.
For live execution, use the chart timeframe that exactly matches the configured execution timeframe.
ALERTS
DailyDesk provides alerts for:
After changing the script or its inputs, delete and recreate TradingView alerts because existing alerts retain a snapshot of the earlier script configuration.
IMPORTANT LIMITATIONS
DailyDesk is a decision-support and validation tool. It does not place orders, guarantee fills, predict future prices, or guarantee profitable outcomes.
Use standard candles. Validate the indicator through replay, paper trading, and controlled minimum-size forward testing before increasing capital.
For research and educational purposes only. Not financial or investment advice. Trading involves substantial risk of loss.
Disclaimer
This indicator is provided for educational, research, and decision-support purposes only. It does not constitute financial, investment, trading, or professional advice.
The displayed scenarios, grades, entries, stops, targets, position sizes, and alerts are algorithmic estimates and do not guarantee future performance, execution prices, or profitable results. Always verify contract specifications, fees, slippage, margin requirements, and order quantities with your broker.
Trading involves substantial risk of loss. Use paper trading or minimum position size for validation, apply independent judgment, and never risk capital you cannot afford to lose. You remain solely responsible for all trading decisions and outcomes.
OVERVIEW
DailyDesk is a multi-timeframe planning and execution-support indicator designed to help traders prepare scenarios before entering a trade.
It is not a conventional BUY/SELL signal generator. Instead, it combines market context, location, structure, volatility, execution confirmation, risk geometry, and trade-state management into a single decision dashboard.
The default workflow uses:
- 1D for directional bias
- 4H for market structure and major zones
- 1H for confirmation context
- 15-minute for precise execution
These roles are configurable, but they must remain ordered from the higher timeframe to the execution timeframe.
CORE FRAMEWORK
DailyDesk separates the market plan into two fixed roles:
- Continuation — the scenario aligned with the confirmed higher-timeframe bias.
- Counter — the scenario trading against that bias from a relevant premium or discount location.
The indicator then identifies which scenario is currently reachable and potentially actionable. A counter setup is never treated as an ordinary trend pullback; it requires stronger reversal evidence.
DAY-QUALITY GATE
The dashboard grades the trading environment using:
- Previous completed daily volatility versus its ATR baseline
- Higher-timeframe directional alignment
- Premium, equilibrium, or discount location
- Recent BOS/CHoCH structure
- Proximity to a valid SMC zone or key level
Continuation and counter scenarios receive separate scores. These scores are planning filters, not guarantees of profitability.
SMC AND ICT-STYLE CONTEXT
DailyDesk evaluates confirmed price-action structures including:
- Swing highs and lows
- Break of Structure (BOS)
- Change of Character (CHoCH)
- Bullish and bearish order blocks
- Fair value gaps
- Liquidity sweeps
- Premium and discount positioning
- Previous day and previous week highs and lows
Order blocks, fair value gaps, and key levels are used to construct candidate execution zones. These concepts are algorithmic interpretations of price action and should not be confused with exchange-level order-book data.
ADAPTIVE ENTRY CONFIRMATION
Execution logic uses price action rather than EMA or directional-indicator entry signals.
Depending on the active market mode, confirmation may require:
- Zone touch and directional reclaim
- Liquidity sweep
- Micro break of structure
- Displacement candle
- Rejection wick
- Engulfing candle
- Fair value gap formation
Counter-trend setups require stronger confirmation, including a liquidity sweep and micro structure shift.
An open execution candle may display provisional information, but it cannot trigger a confirmed entry.
ENTRY PROCESS
The trade-state sequence is:
WAIT → ARMED → NEXT OPEN → IN TRADE → TP/INVALIDATION
ARMED means price has reached the scenario area. It is not an entry signal.
A valid setup must:
- Reach the planned zone.
- Complete the required price-action confirmation.
- Close the execution candle.
- Meet the minimum setup score.
- Pass stop, target, position-size, and minimum R:R checks.
- Pass the risk and R:R check again at the next candle’s actual opening price.
The entry line is displayed only after an executable next-open fill exists. This prevents a planned level from appearing as a historical or mid-candle fill.
RISK PLANNING
Configurable risk inputs include:
- Account size
- Risk percentage per trade
- Daily loss cap
- Contract or lot size
- Estimated brokerage and fees
- Slippage allowance
- Minimum acceptable reward-to-risk ratio
- Optional manual entry, stop, and target
The displayed position size is an estimate. Traders must verify contract specifications, tick value, margin, fees, slippage, and final quantity with their broker.
DASHBOARD STATES
- WAIT — no executable setup
- ARMED — at the scenario level; wait for candle-close confirmation
- NEXT OPEN — signal candle confirmed; fill will be checked at the next open
- IN TRADE — a valid fill has been recorded
- LATE — price departed without a valid confirmation; do not chase
- INVALID — the scenario level failed on a confirmed close
- STAND DOWN — the previous plan became invalid or the newly selected scenario is already late
TIMEFRAME AND REPAINTING BEHAVIOUR
Higher-timeframe values use the last completed source candle. Execution triggers and setup invalidations require a confirmed execution-timeframe close.
Information shown while the current candle is forming may update as price changes, but it cannot produce a confirmed trade trigger until the candle closes.
For live execution, use the chart timeframe that exactly matches the configured execution timeframe.
ALERTS
DailyDesk provides alerts for:
- Confirmed setup state changes
- Next-open order plans
- Recorded fills
- Target or invalidation states
- Stand-down conditions
After changing the script or its inputs, delete and recreate TradingView alerts because existing alerts retain a snapshot of the earlier script configuration.
IMPORTANT LIMITATIONS
DailyDesk is a decision-support and validation tool. It does not place orders, guarantee fills, predict future prices, or guarantee profitable outcomes.
Use standard candles. Validate the indicator through replay, paper trading, and controlled minimum-size forward testing before increasing capital.
For research and educational purposes only. Not financial or investment advice. Trading involves substantial risk of loss.
Disclaimer
This indicator is provided for educational, research, and decision-support purposes only. It does not constitute financial, investment, trading, or professional advice.
The displayed scenarios, grades, entries, stops, targets, position sizes, and alerts are algorithmic estimates and do not guarantee future performance, execution prices, or profitable results. Always verify contract specifications, fees, slippage, margin requirements, and order quantities with your broker.
Trading involves substantial risk of loss. Use paper trading or minimum position size for validation, apply independent judgment, and never risk capital you cannot afford to lose. You remain solely responsible for all trading decisions and outcomes.
Note di rilascio
Applied the two highest-impact changes - Long/short level scores are now directional.
- TP1 uses the nearest genuine obstacle.
- Setups below minimum R:R are rejected instead of projecting through structure.
- Counter targets respect obstacles before equilibrium.
- R:R messaging now reports the actual clear runway.
Note di rilascio
New Updates released with better UI and InfoNote di rilascio
Fixed the Dashboard issuesNote di rilascio
Major ImprovementsNote di rilascio
Minor updateNote di rilascio
New Updates ReleasedNote di rilascio
updatesNote di rilascio
UpdateScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.