Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5248
- Rating:
- Published:
- 2019.12.28 01:14
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This header provides the iRSIOnArray function known from MT4. It works with both MQL 4 and 5 code. A reason to use it also under MT4 could be that it fixes a bug known in the original function, where a constantly increasing array - like 100,101,102 - returns an RSI of 0 instead of 100.
Usage:
#include <RSIOnArray.mqh> int OnInit() { double array[]={100,101,102}; int total=0; int period=2; int shift=0; double rsi=iRSIOnArray(array,total,period,shift);

converted stdlib library for MQL5 from the MQL4

iWPR+ is an iWPR %Range function with a positive value.

By using this indicator you can see the normalized price of any chart! You can use this indicator to find the divergence in the market!

Perfect Trend Line 2