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

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.

Attachment download
📎 incwpronarray.mqh (2.59 KB)
📎 test_wpronarray.mq5 (2.83 KB)
Source: MQL5 #648
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •