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 4 Indicators | Williams Percent Range | Free Download

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

Image for Williams Percent Range

Calculation

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

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

where:

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


Full description of %R is available in the Technical analysis: Williams Percent Range

Complement community code with advanced automation from RobotFX.

8000

Best MetaTrader Indicators + Profitable Expert Advisors