VWAP and Zero-Lag EMA Pullback Scalping with ATR Exits
Summary
This intraday scalping script combines a zero-lag exponential moving average, VWAP, and volume confirmation. It sets bullish bias when price is above both the zero-lag average and VWAP, and bearish bias when below both. A trade setup requires price to pull back to the VWAP, its first standard-deviation band, or the average, followed by a candle-direction and close-based confirmation. A remembered signal state prevents repeated same-direction triggers until an opposite signal occurs.
Stops are set using ATR multiplied by a configurable factor, and profit targets use a configurable reward-to-risk multiple. An opposite trigger closes the existing position before entering the new direction. The supplied excerpt gives parameter defaults and script logic, including a commission assumption, but no asset, timeframe, backtest report, or performance results. The method therefore offers rules to investigate, not evidence that the scalping approach is profitable; execution costs and intrabar fills may materially affect outcomes.
Key ideas
- Directional bias requires price to be on the same side of both VWAP and the zero-lag moving average.
- Entries combine a pullback to a VWAP band or moving average with candle-based confirmation.
- ATR determines the stop distance, while a configurable reward-to-risk multiple sets the target.
- The signal state suppresses repeated entries in the same direction until an opposite signal occurs.
- The excerpt contains no backtest results to establish the strategy's performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.