The indicator uses in the calculation the deviation of its previous value from price. Therefore, the starting point is the first value of price on history. The indicator can be considered as adaptable to the market volatility, as it reacts on sharp price change.
input int period = 10; //--Defines acceleration of the approximation of the indicator line to price input bool USE_LIMIT= false; //--"Tumbler" which enables and disables the limit mode //--It can limits the maximum change of the indicator value input double use_limit= 0.00005; //--The value on which the indicator can be changed
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1291
This indicator simply alerts and sends email every time the trend line touched by the price.NDuet
Two different period Moving Averages to define the direction of the trend and the semaphore signal indicator to specify the moment for settlement of a deal