OPEN-SOURCE SCRIPT

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

485
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.