OPEN-SOURCE SCRIPT

超趨勢策略 (中文)-Caelus

122
if ta.change(direction) < 0
strategy.entry("My Long Entry Id", strategy.long)

if ta.change(direction) > 0
strategy.entry("My Short Entry Id", strategy.short)

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.