OPEN-SOURCE SCRIPT

Repeating Plot/Alerts Workaround

imagen

Here we have 2 simple conditions for long and short.
Once a condition is met, it ignores the same signal until the other condition is met and vice versa.

Had this issue in a script of mine, but couldn't find any published idea regarding this.

Cheers.

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.