Join our fan page
- Views:
- 7186
- 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 allows to work with changing in real time and mirror reversed (1/X) trading instrument.
Technical and custom indicators can be applied to that reversed trading instrument allowing to do that.
Input parameters:
//+-----------------------------------+ //| Indicator input parameters | //+-----------------------------------+ input color BidColor=Red; // Bid line color input ENUM_LINE_STYLE BidStyle=STYLE_SOLID; // Bid line style input int IndicatorDigits=3; // Indicator display accuracy format input double ratio=1.0 // Compensation factor
The last input parameter ratio is just a ratio, by which received candlestick parameters must be multiplied to let their values fit in normal perception range. For instance, it may be not so convenient to observe the price of a financial asset within the range of 0,001. If we multiply this value by 1000, then the final value and its changes can be analyzed more easily.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/643

Vertical time grid with one day step.

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

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.

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