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:
- 6937
- Rating:
- Published:
- 2011.12.15 15:36
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator displays the vertical time grid with one day step on a chart.
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input string LinesSirname="VLine_Grid_Daily_"; // Line name input color Line_Color=Magenta; // Line color input STYLE Line_Style=SOLID_; // Line display style input ENUM_WIDTH Line_Width=w_1; // Line width input bool SetBackground=true; // Lines background display input uint LinesTotal=10; // Number of lines in history input uint FutureTotal=1; // Number of lines in empty future history
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/618

CATROnArray is designed for calculation of ATR (Average True Range) values on indicator buffers. The example of use of the class is provided.

Vertical time grid with one week step.

The indicator allows to work with changing in real time and mirror reversed (1/X) trading instrument.

CADXOnArray class is designed for calculation of ADX (Average Directional Movement Index) values on indicator buffers. The example of use of the class is provided.