Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.01.28 06:26

Fractals Modified - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 8


This indicator is a small modification of classical Fractals Indicator.

You can choose the number or left/right bars to have a new top or bottom as well a shift parameter.

In the following chart you can see the indicator with parameter values:

  • leftbars=10;
  • rightbars=10;
  • shift=0.

The parameter leftbars/rightbars indicates the necessary number of bars to the left/right to have either a bottom or a top. Instead, the last parameter, shift, can be choosed to be 0 to have a good visualization of the top/bottom levels.

However, in order to use this indicator it should be convinient to choose it as maximum between leftbars and rightbars. It is in this moment when the top/bottom is created.

In the following chart you can see the same as before with parameters:

  • leftbars=10;
  • rightbars=10;
  • shift=10.


I attached a new version of FractalsMod indicator. This new version only admits two external variables leftbars/rightbars. You can show here a chart with this indicator with parameter values:

  • leftbars=10;
  • rightbars=10;

Note that the indicator is not defined for bars 0,...,rightbars. Therefore, in order to use this indicator in an EA you have to define either

double FractalsUp = iCustom(NULL,0,"FractalsModv2",leftbars,rightbars,0,rightbars+1);


double FractalsDown = iCustom(NULL,0,"FractalsModv2",leftbars,rightbars,1,rightbars+1);

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.