Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


iRSIOnArray for MT5 - library for MetaTrader 5


votes: 6
2019.12.28 01:14
RSIOnArray.mqh (1.73 KB)view
sample.mq5 (1.04 KB)view

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.


#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);

stdlib.mq5 stdlib.mq5

converted stdlib library for MQL5 from the MQL4


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

Normalized Price Indicator Normalized Price Indicator

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 Perfect Trend Line 2

Perfect Trend Line 2