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:
- 16006
- Rating:
- Published:
- 2010.04.12 11:18
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator plots the candles with different colors depending on the trend direction and price movement.
The indicator changes its color smoothly if the price retracement from the maximum/minimum by value is less than the value of the Movment parameter.
The value of retracement, equal of greater than Movment parameter, considered as a trend change, the indicator changes its color smoothly until the next retracement will be equal to Movment parameter.
Parameters:
- Movment - Price movement in points, considered as necessary for the change of the trend;
- UpColor - Color of upward trend candles;
- UpBackColor - Color of "retracement" candles for the upward trend;
- DnColor - Color of downward trend candles;
- DnBackColor - Color of "retracement" candles for the downward trend;
- Auto5Digits - To multiply the parameter Movment automatically by 10 for the 5- and 3-digit quotes.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/99

This indicator draws pivot points, resistances and supports.

Classes for working with databases through ODBC and OLE DB interfaces