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

IncStdDevOnArray - MetaTrader 5 Library | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

IncStdDevOnArray - library for MetaTrader 5

IncStdDevOnArray - library for MetaTrader 5

IncStdDevOnArray - library for MetaTrader 5

CStdDevOnArray class is designed for calculating the standard deviation (StdDev) on the indicator buffer.

The method OnInit( ) function with the following parameters is called in the initialization( ) function:

The method OnCalculate() is called with the following parameters in the resolve() function:

Test_StdDevOnArray.mq5 is a sample indicator showing CStdDevOnArray class application. The IncStdDevOnArray file must be placed in MQL5\Include\IncOnArray in the terminal data folder (the IncOnArray folder must be created).

The CMAOnArray class in the IncMAOnArray file is required to work properly. Can be found here .

Standard deviation is a measure of market volatility. This indicator depicts a range moving average relative to price fluctuations.

IncStdDevOnArray - library for MetaTrader 5


Attachment download

📎 incmaonarray.mqh (5.07 KB)

📎 incstddevonarray.mqh (2.59 KB)

📎 test_stddevonarray.mq5 (2.31 KB)

Source: MQL5 #638

Verification code Refresh