OPEN-SOURCE SCRIPT
DI/ADX Trend Strategy | (1-Min Scalping)

Strategy Overview
This is an experimental 1-minute trend-following strategy combining DI+/DI-, ADX, RSI, MACD, VWAP, and EMA filters with a time-based exit. It aims to catch strong directional moves while strictly managing risk.
Indicator Components
• DI+/DI- + ADX – Trend direction + strength filter
• RSI (14) – Momentum confirmation (RSI > 55 or < 45)
• MACD Histogram – Detects directional momentum shifts
• Candle Body % Filter – Screens for strong commitment candles
• EMA 600 / 2400 – Long-term trend alignment
• Weekly VWAP – Entry only when price is above/below VWAP
• Trade Limit – Max 2 trades per direction per VWAP cycle
• Time-Based Stop – 0.50% SL, 3.75% TP, 12h (720 bars) time stop
Entry Logic
Long Entry:
• DI+ crosses above DI−
• RSI > 55
• MACD histogram > 0
• Strong bullish candle
• Price > VWAP
• EMA600 > EMA2400
• Within 25 bars of EMA crossover
• Max 2 long trades before VWAP resets
Short Entry:
• DI+ crosses below DI−
• RSI < 45
• MACD histogram < 0
• Strong bearish candle
• Price < VWAP
• EMA2400 > EMA600
• Within 25 bars of EMA crossover
• Max 2 short trades before VWAP resets
Exit Logic
• Stop Loss: 0.50%
• Take Profit: 3.75% (7.5R)
• Time Stop: 720 bars (~12 hours on 1m chart)
• Each trade exits independently
Testing Parameters
• Initial Capital: $10,000
• Commission: 0.10%
• Timeframe: 1-minute
• Tested on: BTCUSDT, ETHUSDT
• Pyramiding: Up to 5 positions allowed
• VWAP resets trade counter to reduce overtrading
Alerts
• Buy / Sell signal
• Trade Opened / Closed
• SL/TP triggered
⚠️ Notes
• Early-stage strategy — entry count varies by trend conditions
• Shared for educational use and community feedback
• Please forward-test before using live
• Open-source — contributions and suggestions welcome!
Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Past performance does not guarantee future results. Always validate independently before trading live.
This is an experimental 1-minute trend-following strategy combining DI+/DI-, ADX, RSI, MACD, VWAP, and EMA filters with a time-based exit. It aims to catch strong directional moves while strictly managing risk.
Indicator Components
• DI+/DI- + ADX – Trend direction + strength filter
• RSI (14) – Momentum confirmation (RSI > 55 or < 45)
• MACD Histogram – Detects directional momentum shifts
• Candle Body % Filter – Screens for strong commitment candles
• EMA 600 / 2400 – Long-term trend alignment
• Weekly VWAP – Entry only when price is above/below VWAP
• Trade Limit – Max 2 trades per direction per VWAP cycle
• Time-Based Stop – 0.50% SL, 3.75% TP, 12h (720 bars) time stop
Entry Logic
Long Entry:
• DI+ crosses above DI−
• RSI > 55
• MACD histogram > 0
• Strong bullish candle
• Price > VWAP
• EMA600 > EMA2400
• Within 25 bars of EMA crossover
• Max 2 long trades before VWAP resets
Short Entry:
• DI+ crosses below DI−
• RSI < 45
• MACD histogram < 0
• Strong bearish candle
• Price < VWAP
• EMA2400 > EMA600
• Within 25 bars of EMA crossover
• Max 2 short trades before VWAP resets
Exit Logic
• Stop Loss: 0.50%
• Take Profit: 3.75% (7.5R)
• Time Stop: 720 bars (~12 hours on 1m chart)
• Each trade exits independently
Testing Parameters
• Initial Capital: $10,000
• Commission: 0.10%
• Timeframe: 1-minute
• Tested on: BTCUSDT, ETHUSDT
• Pyramiding: Up to 5 positions allowed
• VWAP resets trade counter to reduce overtrading
Alerts
• Buy / Sell signal
• Trade Opened / Closed
• SL/TP triggered
⚠️ Notes
• Early-stage strategy — entry count varies by trend conditions
• Shared for educational use and community feedback
• Please forward-test before using live
• Open-source — contributions and suggestions welcome!
Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Past performance does not guarantee future results. Always validate independently before trading live.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。