Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

iRSIOnArray for MT5 - library for MetaTrader 5

Views:
4431
Rating:
(13)
Published:
2019.12.28 01:14
\MQL5\Include\
RSIOnArray.mqh (1.73 KB) view
sample.mq5 (1.04 KB) view
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);

stdlib.mq5 stdlib.mq5

converted stdlib library for MQL5 from the MQL4

iWPR+ iWPR+

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