Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 11879
- Rating:
- Published:
- 2018.09.27 15:37
- Updated:
- 2018.10.01 11:41
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Dynamic Trend signal indicator draws a two-color trend direction line and adds signal arrows.
It has two input parameters:
- Period - calculation period;
- Percent - "strengthening percent" (*).
Calculations:
Line
-
If Close < PrevLine:
Line = Close[Hindex] - Percent
-
If Close > PrevLine:
Line = Close[Lindex] + Percent
where:
- Hindex - the index of the highest Close within the Period interval;
- Lindex - the index of the lowest Close within the Period interval.
Arrows
- If Close[3] > Line[2] and Close[2] < Line[3]: Blue up arrow.
- If Close[2] < Line[1] and Close[2] > Line[3]: Red down arrow.
* The strengthening percent is actually the number of points, by which the line is "attached" to the price.
To filter the indicator signals, it is recommended to use confirmation signals, such as support/resistance levels.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21725

A trading system based on the ColorXPWMA_Digit indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system.

Klinger Oscillator developed by Stephen Klinger to determine the long-term trend while remaining sensitive to detect short-term fluctuations enabling the trader to predict short-term reversals.

One of the variations of the "Avalanche" strategy. Martingale is used.