The 'MA7 Ixora' indicator

The 'MA7 Ixora' indicator

29 February 2024, 15:05
Andrey Minaev
1
112

Description of work

The 'MA7 Ixora' indicator is based on the standard Moving Average (MA) indicator. Shows the intersection of the fast and slow moving averages.


 

Features of work

The indicator works on the instrument and timeframe on which it is installed. The data is analyzed on closed candles, so the arrows are not redrawn.

 

Additional functions

- Notifications when arrows appear.

 

Indicator settings

Fast moving average settings:

- Period;

 - Method;

- Apply to.

 

Slow moving average settings:

- Period;

 - Method;

- Apply to;

- Add to FMA period – the parameter is used to configure the period of the slow MA based on the period of the fast MA, i.e. adds value to the fast MA period. For example, if the fast MA period is 10, and the Add to FMA period parameter is 10, then the slow MA period will be 20, if you change the fast MA period to 30, then the slow MA period will be 40, etc. This parameter is useful when optimizing an expert advisor in order to reduce the number of optimized parameters and remove incorrect indicator settings from passes. 0 – parameter is not used.

- Multiply FMA period – the parameter is used to configure the period of the slow MA based on the period of the fast MA, i.e. multiplies the period of the fast MA by the value. For example, if the fast MA period is 10, and the Multiply FMA period parameter is 2, then the slow MA period will be 20, if you change the fast MA period to 30, then the slow MA period will be 60, etc. This parameter is useful when optimizing an expert advisor in order to reduce the number of optimized parameters and remove incorrect indicator settings from passes. 0 – parameter is not used.

 

Message settings:

- Send message to the terminal (Alert) – permission to send messages to the terminal using the Alert function;

- Send message to the mobile terminal (Push) – permission to send messages to the mobile terminal using push notifications. Permission to send messages must be enabled in the terminal settings, read the instructions;

- Send message to the email – permission to send messages by email. Permission to send messages must be enabled in the terminal settings, read the instructions;

- Additional information – additional information about the indicator so that the user can distinguish which program sent the message.

 

Arrow display settings:

- Arrow shift – vertical shift of the arrows on the chart;

- Arrow size;

- Up arrow color;

- Down arrow color;

- Up arrow code;

- Down arrow code.

Examples of arrow codes.

 

Calculation formula

For the up arrow: FMA1 > SMA1 and FMA2 < SMA 2;

For the down arrow: FMA1 < SMA1 and FMA2 > SMA 2, where

FMA1 is the value of the fast MA indicator with the candle index 1 (the last closed candle),

SMA1 is the value of the slow MA indicator with the candle index 1 (the last closed candle),

FMA2 is the value of the fast MA indicator with the candle index 2 (the penultimate closed candle),

SMA2 is the value of the slow MA indicator with the candle index 2 (the penultimate a closed candle).

 

Condition for displaying an up arrow

The fast MA line crosses the slow MA line from bottom to top.



Condition for displaying down arrow

The fast MA line crosses the slow MA line from top to bottom.


 

Subscribe to the MQL5 channel to receive notifications about new programs, updates and other information.

My contacts are on MQL5.

 

Version for MetaTrader 4.

Version for MetaTrader 5.

Expert Advisor based on the indicator:

'MA7 Ixora C1' for MetaTrader 4.

'MA7 Ixora C1' for MetaTrader 5.

Share it with friends: