Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Indicators | Williams’ Percent Range (%R) | Source Code Included

New free code from MQL5: indicators, EAs, and scripts for traders.

Williams’ Percent Range indicator

Williams’ Percent Range indicator

Calculation:

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

Below is the formula of the %R indicator calculation, which is very similar to the Stochastic Oscillator formula:

%R = (HIGH(i-n)-CLOSE)/(HIGH(i-n)-LOW(i-n))*100

where:

  • CLOSE - today’s closing price;
  • HIGH(i-n) - the highest high over a number (n) of previous periods;
  • LOW(i-n) - the lowest low over a number (n) of previous periods.

Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.

55

Best MetaTrader Indicators + Profitable Expert Advisors