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

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

author EAcpu | 3 reads | 0 comments |

IncOsMAOnArray - library for MetaTrader 5

The COsMAOnArray class is designed for calculating the (oscillator moving average) value on the buffer of the Osma indicator.

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_OsMAOnArray.mq5 is a sample indicator showing COsMAOnArray class application. The IncOsMAOnArray file must be placed in the terminal data folder MQL5\Include\IncOnArray (the IncOnArray folder must be created).

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

IncOsMAOnArray - library for MetaTrader 5


Attachment download

📎 incmaonarray.mqh (5.07 KB)

📎 incmacdonarray.mqh (4.32 KB)

📎 incosmaonarray.mqh (3.65 KB)

📎 test_osmaonarray.mq5 (3.03 KB)

Source: MQL5 #628

Verification code Refresh