INVITE-ONLY SCRIPT

WIZARD DOJI Screener

13
Understanding the Table
Type: Indicates the type of information being tracked (Doji details, levels, or break status).
Doji?: Displays true or false depending on whether a Doji pattern was detected on the current bar.
Green Level: The most recent high Doji Target Price (TP) level. This is a potential resistance level.
Red Level: The most recent low Doji Target Price (TP) level. This is a potential support level.
Broke Above?: Indicates whether the current bar’s high exceeded the green TP level (resistance breakout).
Broke Below?: Indicates whether the current bar’s low went below the red TP level (support breakout).
Practical Use Cases
1. Support and Resistance Tracking
Green Level acts as resistance: If Broke Above? turns to Yes, it signals a potential breakout above resistance.
Red Level acts as support: If Broke Below? turns to Yes, it signals a potential breakdown below support.
2. Entry and Exit Points
Break Above (Green Level):
Use as a buy signal if the bar breaks above the resistance level (momentum-based long trade).
Break Below (Red Level):
Use as a sell signal if the bar breaks below the support level (momentum-based short trade).
3. Trend Analysis
Persistent Breakouts:
Multiple consecutive Yes values under Broke Above? or Broke Below? may indicate the start of a new trend.
Failed Breakouts:
If a breakout occurs (e.g., Broke Above? = Yes) but price fails to hold above that level, it might signal a false breakout.
4. Doji-Based Trading Strategies
Doji Patterns:
When Doji? = true, it identifies indecision in the market. This is often followed by significant price movement.
Combine the Doji detection with TP levels to assess whether the price respects these levels as support or resistance.
5. Backtesting and Strategy Validation
Traders can monitor the table to see how often levels are broken and assess the success rate of breakouts (useful for refining strategies).
How to Interpret the Table
Type Doji? Green Level Red Level Broke Above? Broke Below?
Doji Info true 1.205 1.190 Yes No
Doji Info false 1.215 1.200 No Yes
Row 1 Example:

A Doji was detected.
The Green Level is 1.205 (resistance).
The Red Level is 1.190 (support).
The current bar broke above the Green Level but did not break below the Red Level.
Row 2 Example:

No Doji was detected.
The Green Level is updated to 1.215, and the Red Level is 1.200.
The current bar broke below the Red Level (support) but did not break above the Green Level.
Tips for Using the Table
Combine with Other Indicators:

Use alongside volume analysis to confirm the strength of breakouts.
Combine with RSI, MACD, or Moving Averages for additional trade validation.
Customize for Specific Assets:

Adjust thresholds like doji_threshold or tp_extension based on the volatility of the asset (e.g., stocks, forex, crypto).
Set Alerts:

Use TradingView alerts to notify you of changes, such as when Broke Above? or Broke Below? turns Yes.
Use for Manual or Algorithmic Trading:

Manual traders can monitor the table during trading sessions for real-time decision-making.
Algorithmic traders can use this logic as a foundation for automating breakout-based strategies.
Advantages of the Table
Real-Time Updates: Dynamically displays relevant data for the current bar.
Visual Simplicity: All critical data (Doji status, TP levels, breakout information) in one view.
Customizable: Modify table layout, colors, or thresholds to fit your trading style.

"Disclaimer: This indicator is intended for educational purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform their own research and consult with a licensed financial advisor before making any trading decisions."

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.