OPEN-SOURCE SCRIPT

Repeating Plot/Alerts Workaround

5437
snapshot

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.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.