OPEN-SOURCE SCRIPT
Zero Line Momentum Strategy: Precision Trend Following

The Zero Line Momentum Strategy is built on the philosophy that trend continuation is best captured by momentum oscillators filtered by long-term trend structures. By combining the 200-period EMA with a refined Wave Trend oscillator, we filter out market noise and focus on high-probability entries.
The strategy utilizes a two-step confirmation process:
Trend Filter: We use a 200 EMA to define the macro trend.
Momentum Trigger: We use a refined Wave Trend calculation (based on EMA of price deviations) to identify entries when momentum crosses the zero line.
🟢 Long: Price > 200 EMA AND Wave Trend crosses above 0.
🔴 Short: Price < 200 EMA AND Wave Trend crosses below 0.
Discipline is key. This strategy is pre-configured with:
Position Sizing: Fixed at 10% of equity per trade to manage drawdown.
Execution: Orders process at bar close to avoid signal repaint.
Note: Always consider adding your own ATR-based Stop Loss for better exit management.
Crypto: Use lower sensitivity (increase Length) to avoid noise.
Forex: Optimize the avg input to match the pair's volatility.
Timeframes: Best results found on 1H to 4H charts.
I am committed to making this strategy the best tool for our community. Your feedback is invaluable! Please share your backtest results in the comments below. Do you have ideas for adding a custom Take Profit or trailing stop? Let’s improve this together.
Disclaimer:This script is for educational purposes only. Trading involves significant risk of loss. Always backtest strategies thoroughly and use proper risk management before risking real capital. Past performance is not indicative of future results
The strategy utilizes a two-step confirmation process:
Trend Filter: We use a 200 EMA to define the macro trend.
Momentum Trigger: We use a refined Wave Trend calculation (based on EMA of price deviations) to identify entries when momentum crosses the zero line.
🟢 Long: Price > 200 EMA AND Wave Trend crosses above 0.
🔴 Short: Price < 200 EMA AND Wave Trend crosses below 0.
Discipline is key. This strategy is pre-configured with:
Position Sizing: Fixed at 10% of equity per trade to manage drawdown.
Execution: Orders process at bar close to avoid signal repaint.
Note: Always consider adding your own ATR-based Stop Loss for better exit management.
Crypto: Use lower sensitivity (increase Length) to avoid noise.
Forex: Optimize the avg input to match the pair's volatility.
Timeframes: Best results found on 1H to 4H charts.
I am committed to making this strategy the best tool for our community. Your feedback is invaluable! Please share your backtest results in the comments below. Do you have ideas for adding a custom Take Profit or trailing stop? Let’s improve this together.
Disclaimer:This script is for educational purposes only. Trading involves significant risk of loss. Always backtest strategies thoroughly and use proper risk management before risking real capital. Past performance is not indicative of future results
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.