WPR ADX Fade
Fades a Williams %R extreme only when ADX shows some directional structure.
DRF_WPR_ADX_Fade_EA · version 1.01 · Strategy · MetaTrader 5
Or get every Expert Advisor, for life, for €150: see the bundle.
Test it on a demo account first. When everything works as you expect, use it on a real account.
It works on any symbol: point-based inputs scale to the symbol you attach it to.
Who it suits
Fade traders who want to avoid dead markets.
What it does
A mean-reversion trade taken only when the market still has some structure: Williams' %R at an extreme and the ADX above a minimum, which avoids the deadest, choppiest conditions.
How it works
- Trigger: Williams' %R at an oversold or overbought extreme.
- Filter: ADX above a minimum.
- Exit: Williams' %R snapping back to the midpoint, or the ATR contracting below its own recent average (volatility drying up); otherwise the ATR stop or target.
What is included
- The compiled Expert Advisor (.ex5) for MetaTrader 5
- A ready preset (.set) with the default values
- Free updates for life
- A DRF Key valid on up to 5 internet addresses at the same time
What is not included
- An ADX filter can also keep you in during a strong trend, which is a bad time to fade.
- The editable source code (ask about a source licence)
What you need
- MetaTrader 5 (the file is an .ex5 for MetaTrader 5, not MetaTrader 4)
- Symbol: any. Timeframe: The chart's timeframe (the source names no recommended one).
- Allow
https://sync.donaldsonrf.comin Tools > Options > Expert Advisors (Allow WebRequest for listed URL), so the key can be checked
How to try it
- Attach it to a demo chart. Leave every input at its default except the lot size: set 0.10 lots while you learn what it does.
- Illustration of the distances (not a forecast): if the ATR were 10.0 price units, a stop of 1.5 x ATR would sit 15.0 price units from the entry and a target of 2.2 x ATR would sit 22.0 price units away, a reward of 1.47 times the risk.
- Watch the Experts and Journal tabs for a day or two. The EA writes a reason whenever it skips an entry (spread, session, news or licence), which tells you which filter to adjust.
- Only after you have seen it behave as expected on demo should you consider a small live account.
Results
No results are published for this Expert Advisor, and none are implied. Test it on a demo account first. Past results never promise future ones.
Buy once, keep it for life
- One payment, no subscription: yours for life, with free updates.
- Works on any symbol: forex pairs, indices, metals, crypto.
- One DRF Key, valid on up to 5 internet addresses at the same time (your computer, a VPS, a laptop...).
- Your files and key wait in your account, which you sign in to with just your email.
- EU consumers have 14 days to change their mind: see the Refund Policy.
Manual: every setting in plain language
Enter your DRF Key in the key input. The group "Any-asset scaling" controls how point inputs follow the symbol.
Donaldson R F Licence
- InpLicenceKey (default: (empty))
- Your DRF Key. Type it on the Inputs tab; it is checked against the DRF licence server when the EA starts.
Strategy - WPR ADX Fade
- InpWPRPeriod (default: 14)
- Williams' %R period.
- InpWPROversold (default: 80.0)
- Williams' %R reading at or below which the market counts as oversold (the matching overbought level is its mirror).
- InpADXPeriod (default: 14)
- ADX period (trend strength).
- InpADXMinStrength (default: 15.0)
- Smallest ADX value that counts as a real trend.
- InpVolATRPeriod (default: 14)
- ATR period used to judge whether the market is moving enough.
- InpVolATRAvgBars (default: 10)
- Number of bars over which the ATR is averaged for that comparison.
Risk
- InpLots (default: 0.10)
- Fixed order size in lots.
- InpATRPeriod (default: 14)
- Number of bars in the Average True Range (ATR) that sizes the stop and the target.
- InpSLAtrMultiple (default: 1.5)
- Stop-loss distance as a multiple of the ATR. A larger number gives the trade more room and risks more per lot.
- InpTPAtrMultiple (default: 2.2)
- Target distance as a multiple of the ATR.
- InpMagicNumber (default: 771032)
- The number the EA stamps on its own orders so it can tell them from other EAs' orders. Give each EA on the same account a different number.
Filters
- InpMaxSpreadPoints (default: 350)
- Largest spread, in points, at which a new entry is still allowed. A wider spread skips the entry.
- InpSessionStartHour (default: 7)
- First hour of the day (server time) in which new entries are allowed.
- InpSessionEndHour (default: 21)
- Hour of the day (server time) at which new entries stop.
- InpUseNewsFilter (default: true)
- Pause new entries around scheduled news, using the MetaTrader 5 economic calendar.
- InpNewsMinutesBefore (default: 20)
- How many minutes before a qualifying news release new entries are blocked.
- InpNewsMinutesAfter (default: 20)
- How many minutes after a qualifying news release new entries stay blocked.
- InpNewsMinImportance (default: CALENDAR_IMPORTANCE_HIGH)
- The lowest calendar importance that counts as news for the filter (high, medium or low).
Any-asset scaling
- InpAutoScalePoints (default: true)
- Scale point-based inputs to this symbol's volatility (default values are tuned for a ~3000-point daily range) Leave on unless you know the symbol is much calmer or wilder than the usual daily range.
Related Expert Advisors
DeMarker Fade
A single-indicator fade: DeMarker at an extreme inside a window, closed when price crosses the Alligator Teeth.
Open →Dual WPR Volatility
A fast and a slow Williams %R at an extreme together, with an ATR volatility filter.
Open →Triple Oscillator Fade
A strict mean-reversion setup: Stochastic, CCI and DeMarker all at an extreme together.
Open →Frequently Asked Questions
- Why require some ADX?
- In a totally dead market there is little to revert to.
- What are the two exits?
- Williams' %R returning to the midpoint, or volatility contracting.
- Do I need a DRF Key to run it?
- Yes. The file is free to download, but the EA checks a DRF Key against the licence server when it starts and then every hour. Plans and prices are on the DRF Key page.
- Which provider and account should I use?
- Any MetaTrader 5 account that offers the symbol. Test on a demo account first; the source does not tie the EA to one provider.
- Does it guarantee a result?
- No. Trading carries risk and an EA can lose money. The project holds no published performance figures for this EA, so none are shown.
- Which symbols does it work on?
- Any symbol your provider offers. Inputs that are measured in points scale automatically to the symbol's usual daily range, so the same preset behaves sensibly on a forex pair, an index or Bitcoin. Always test on a demo account first.
- Do I need a key to run it?
- Yes. After you buy, you receive a DRF Key. It works for life and on up to 5 internet addresses at the same time.
- Is there a subscription?
- No. You pay once and keep it for life, with free updates.
- Does it promise a result?
- No. Read the Risk Disclosure. Test on a demo account first; when everything works as you expect, use it on a real account.
Get Expert Advisor and coding news
New Expert Advisors, updates, price changes and videos, by e-mail. A short e-mail only when something is really new. One click to unsubscribe.
Protected by Google reCAPTCHA. The Google Privacy Policy and Terms of Service apply.