The Expert Advisor opens a deal during a breakthrough (on candlestick closure) of the trend line, drawn between the peak of the Zig Zag and the two latest peaks for the Buy orders. For the Sell orders — mirrored.
For more details see here: http://strategy4you.ru/prostaya-strategiya-foreks/strategy-forex-na-mazi.html
|noloss||Breakeven (disabled if set to 0)|
|noloss_pips||Level to set Breakeven|
|trall||Trailing Stop (disabled if set to 0)|
|trall_start||Profit level to set Trailing Stop|
|ma_filter||Filter by the МА|
|close_ma_cross||Closure by crossing the МА|
|friday_time||Trade ending time on Friday|
|friday_close_profit||Profit, less than which the deals will be closed on Friday (in points)|
|zz_InpDepth||The ZigZag indicator parameters|
|CommentSize||Number of log lines at the top left corner of the window (0 - disable this function)|
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14072
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.