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

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

author EAcpu | 5 reads | 0 comments |

IncFramaOnArray - library for MetaTrader 5

The CFramaOnArray class is used to calculate the Fractal Adaptive Moving Average (FRAMA) on the indicator buffer.

This initialize() indicator function calls the OnInit() method with the following parameters:

This solve() function calls the OnCalculate() method with the following parameters:

Test_FramaOnArray.mq5 is an indicator that demonstrates how to use the CFramaOnArray class. The IncFramaOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal's data folder (the IncOnArray folder must be created).

The Fractal Adaptive Moving Average technical indicator (FRAMA) was developed by John Ehlers. The indicator is constructed based on the algorithm Exponential Moving Average , where the smoothing factor is the fractal dimension of the price series calculated from the current. The advantage of FRAMA is the possibility of following a strong trend movement and sufficiently slowing down during price consolidation.

IncFramaOnArray - library for MetaTrader 5


Attachment download

📎 incframaonarray.mqh (3.13 KB)

📎 test_framaonarray.mq5 (2.7 KB)

Source: MQL5 #660

Verification code Refresh