Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 8104
- Rating:
- Published:
- 2018.06.18 10:25
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator ADL (Advances/Declines Line) shows the ratio of positive and negative price increments over a specified time interval.
It has two input parameters:
- Period - calculation period;
- Use Cumulative mode - use the "cumulative" algorithm of calculations (Yes/No).
Calculations:
ADL = (Up - Dn)
If Use Cumulative mode = Yes, then:
ADL = (Up - Dn) + ADL of the previous day
where:
Up = Up(Period) Dn = Dn(Period)
- Up - number of bullish candlesticks over the period;
- Dn - number of bearish candlesticks over the period.
Fig.1 Use Cumulative mode = Yes
Fig.2 Use Cumulative mode = No
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20796

A trading system based on the AbsolutelyNoLagLwma indicator signals.

Indicator AnchoredMomentum with the timeframe selection option available in input parameters.