A variant of the Momentum indicator with volumes and time used in its calculations.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig.1. The LinearMomentum indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14327
The Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.Background_DotsCandle_HTF
The indicator draws DotsCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.