OPEN-SOURCE SCRIPT

strategy.direction.all() bug - work around

4038
the way to work around the bug for this specific strategy, altho its not as efficient as it would if both orders activation was possible.

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.