Williams %R Cross Entries with a 200-Period Moving Average Filter
Summary
This strategy combines Williams %R threshold crossings with a 200-period simple moving average filter. It enters long when Williams %R crosses above a level below its midpoint and price is above the moving average; it enters short when the indicator crosses below a level above the midpoint and price is below the average. The crossing offset and indicator lookback are configurable.
Exits use take-profit and stop-loss distances expressed as pips and compared with the position’s average entry price. The script submits market strategy entries and closes positions when the bar close reaches either exit level. The document gives the rules and code but no backtest results or market-specific evaluation. Its pip-to-tick conversion and parameter choices may not transfer cleanly across instruments, so the units and behavior should be checked for the symbol being traded.
Key ideas
- Williams %R crossings around its midpoint trigger potential entries.
- A 200-period simple moving average restricts longs to prices above it and shorts to prices below it.
- The indicator lookback and crossing offset can be changed.
- Take-profit and stop-loss thresholds are checked against the average entry price at bar close.
- The document provides no performance evidence, and pip units may require instrument-specific validation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.