Join our fan page
- Views:
- 8275
- Rating:
- Published:
- 2019.02.07 08:48
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator Advanced Fractal Envelopes builds two envelopes on the mean prices of the pre-defined number of upper and lower fractals and the central line.
It has three adjustable parameters:
- Average - number of fractals to build a moving average on their prices
- Show central line - show the central line
- Show fractals - show the fractals
Calculations:
Top = AvgFractUp
Bottom = AvgFractDn
Central = (AvgFractUp + AvgFractDn) / 2.0
where:
AvgFractUp = SMA(SumAvgUp, Average)
AvgFractDn = SMA(SumAvgDn, Average)
SumAvgUp - sum of the prices of upper fractals within the Average number
SumAvgDn - sum of the prices of lower fractals within the Average number
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23425

Indicator Advanced Fractal Overlay

A trading system based on breaking through iFractals

A five-fold exponential moving average that displays the most recent value as a price label with the possibility to round the indicator levels to the required number of orders

Indicator MACD Overlay