OPEN-SOURCE SCRIPT
Turtle strategy

highestNow = the highest high in the most recent 30 bars.
highestPrev = the highest high in the previous 30 bars (bars 31–60).
If highestPrev > highestNow → we had a Lower High.
If highestNow > highestPrev → we now have a Higher High.
Alert fires only when the sequence is LH → HH.
highestPrev = the highest high in the previous 30 bars (bars 31–60).
If highestPrev > highestNow → we had a Lower High.
If highestNow > highestPrev → we now have a Higher High.
Alert fires only when the sequence is LH → HH.
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.