OPEN-SOURCE SCRIPT
Updated VWAP Mean Reversion Strategy

This is a work in progress that I haven't finished yet. Strategy is based on price being overextended from the VWAP with a doji or hammer candle. Trigger candle is an engulfing or HH,HL,HO,HC candle for bullish entries, and the opposite for bearish.
Various things are adjustable in settings, such as body-wick ratios, T.P multiplier etc.
Broker spread can be manually adjusted to reflect accurate P/L including spread.
I'm only publishing this so I can easily share it with my trading partner, for backtesting and improvement.
I'm currently testing it on gold and silver cfds's
Feel free to use it as a base and suggest improvements.
Various things are adjustable in settings, such as body-wick ratios, T.P multiplier etc.
Broker spread can be manually adjusted to reflect accurate P/L including spread.
I'm only publishing this so I can easily share it with my trading partner, for backtesting and improvement.
I'm currently testing it on gold and silver cfds's
Feel free to use it as a base and suggest improvements.
Release Notes
This is an updated version with default values already set to match my backtesting on gold and silver 5min charts.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.