OPEN-SOURCE SCRIPT

DI+/- Cross Strategy with ATR SL and 2% TP

451
DI+/- Cross Strategy with ATR Stop Loss and 2% Take Profit

๐Ÿ“ Script Description for Publishing:
This strategy is based on the directional movement of the market using the Average Directional Index (ADX) components โ€” DI+ and DI- โ€” to generate entry signals, with clearly defined risk and reward targets using ATR-based Stop Loss and Fixed Percentage Take Profit.

๐Ÿ” How it works:
Buy Signal: When DI+ crosses above 40, signaling strong bullish momentum.

Sell Signal: When DI- crosses above 40, indicating strong bearish momentum.

Stop Loss: Dynamically calculated using ATR ร— 1.5, to account for market volatility.

Take Profit: Fixed at 2% above/below the entry price, for consistent reward targeting.

๐Ÿง  Why itโ€™s useful:
Combines momentum breakout logic with volatility-based risk management.

Works well on trending assets, especially when combined with higher timeframe filters.

Clean BUY and SELL visual labels make it easy to interpret and backtest.

โœ… Tips for Use:
Use on assets with clear trends (e.g., major forex pairs, trending stocks, crypto).

Best on 30m โ€“ 4H timeframes, but can be customized.

Consider combining with other filters (e.g., EMA trend direction or Bollinger Bands) for even better accuracy.

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.