Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

IncWPROnArray - MetaTrader 5 Library | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

IncWPROnArray - library for MetaTrader 5

The CWPROnArray class is used to calculate Williams' percentage range (%R) on the indicator buffer.

This initialize() indicator function calls the OnInit() method with the following parameters:

This solve() function calls the OnCalculate() method with the following parameters:

Additional methods:

The Test_WPROnArray.mq5 file is an indicator of how to use the CWPROnArray class. The IncWPROnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).

Williams' Percent Range Technical Indicator (%R) is a dynamic technical indicator that determines whether the market is overbought/oversold. Williams' %R and the stochastic oscillator . The only difference is that %R has an upside-down scale, while the stochastic oscillator has internal smoothing.

IncWPROnArray - library for MetaTrader 5


Attachment download

📎 incwpronarray.mqh (2.59 KB)

📎 test_wpronarray.mq5 (2.83 KB)

Source: MQL5 #648

Verification code Refresh