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
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.