This article provides programmatic definition of one of the movement continuation models. The main idea is defining two waves — the main and the correction one. For extreme points, I apply fractals as well as "potential" fractals - extreme points that have not yet formed as fractals.
MyBreakeven Expert Advisor automatically moves a position to breakeven. The EA works both with all open positions and with a certain order. The robot allows moving a position to breakeven in several modes:
Points - move a position to breakeven when reaching a certain profit in points. To work in this mode, fill in the SizePoints field in the inputs; Summ - move a position to breakeven when reaching a certain profit in deposit currency. To work in this mode, fill in the SizeSumm field in...
The article describes the automation of trend lines plotting based on the Fractals indicator using MQL4 and MQL5. The article structure provides a comparative view of the solution for two languages. Trend lines are plotted using two last known fractals.
The Expert automatically draws trend lines on the H4 and D1 timeframes. The lines are drawn based on the last two known fractals of the correspondent periods (H4, D1).
A peculiarity of this Expert is that the lines are drawn with accuracy up to 15 minutes. It allows analyzing the chart on smaller timeframes without loosing the precision of drawing the lines in relation to the extrema of the prices. It is suitable for an intraday and medium term trading.
The lines of the H4 period are...