OPEN-SOURCE SCRIPT
Holy Grail Setup with Confidence Opacity

Version 1
Triggers Raschke's Holy Grail set up. More translucent=less confidence, more opaque=more confidence.
Uses Raschke's default parameters
20 EMA + ADX > 30 + pullback and reversal
ADX stands for Average Directional Index, a technical indicator developed by Welles Wilder to quantify trend strength — not direction, just strength.
It's a core component of Linda Raschke’s Holy Grail strategy, where the goal is to only trade pullbacks during strong trends.
ADX ranges from 0 to 100:
Below 20: Weak or no trend (range-bound market)
25–30 and above: Strong trend
50+: Very strong trend (often near trend exhaustion)
In the Holy Grail setup, Raschke recommends only taking trades when ADX > 30, to ensure that:
The market is trending
Pullbacks are more likely to resolve in the direction of the trend
Triggers Raschke's Holy Grail set up. More translucent=less confidence, more opaque=more confidence.
Uses Raschke's default parameters
20 EMA + ADX > 30 + pullback and reversal
ADX stands for Average Directional Index, a technical indicator developed by Welles Wilder to quantify trend strength — not direction, just strength.
It's a core component of Linda Raschke’s Holy Grail strategy, where the goal is to only trade pullbacks during strong trends.
ADX ranges from 0 to 100:
Below 20: Weak or no trend (range-bound market)
25–30 and above: Strong trend
50+: Very strong trend (often near trend exhaustion)
In the Holy Grail setup, Raschke recommends only taking trades when ADX > 30, to ensure that:
The market is trending
Pullbacks are more likely to resolve in the direction of the trend
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.