OPEN-SOURCE SCRIPT

90009

4 542
If( MDI(14)>40 AND ADX(14)>40 AND PDI(14)<15 AND RSI(14)<30,1,0)
;If( MDI(14)<15 AND ADX(14)<15 AND PDI(14)>40 AND RSI(14)>70,-1,0)

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.