Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
5385
Rating:
(18)
Published:
2015.04.10 16:24
Updated:
2016.11.22 07:32
mi_fractal.mq5 (7.14 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Original author:

Oreshkin A.V.

A Fractal indicator with extended functionality.

You can specify the number of candlesticks on each side for fractal determination, and also the minimum difference between extreme points and adjacent peaks:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input uint LeftCount=10;  // Number of candles to the left
input uint RightCount=2;  // Number of candles to the right
input uint MinDiff=10;    // Minimum distance from extreme points to peaks 
input int  UpLable=217;   // Up fractal label
input int  DnLable=218;   // Down fractal label

The original code has been published in Code Base on 27.12.2012.

Fig. 1. The MI_Fractal indicator

Fig. 1. The MI_Fractal indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/12691

AdaptiveCGOscillator_HTF AdaptiveCGOscillator_HTF

The AdaptiveCGOscillator indicator with the timeframe selection option available in the input parameters.

AdaptiveCyberCycle_HTF AdaptiveCyberCycle_HTF

The AdaptiveCyberCycle indicator with the timeframe selection option available in the input parameters.

AFL_Winner_Cloud_HTF AFL_Winner_Cloud_HTF

The AFL_Winner indicator with the timeframe selection option.

NRatio_HTF_Signal NRatio_HTF_Signal

The NRatio_HTF_Signal indicator shows the trend direction or the signal based on the NRatioSign indicator.