Join our fan page
- Views:
- 4707
- Rating:
- Published:
- 2017.03.22 16:10
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The XRSXCandleKeltner indicator with the breakout indication option. Depending on the value of the indicator's input parameter:
input ENUM_COLOR_MODE Mode=ENUM_LEVELS; //Breakout indication method
There are two variants of color indication of breakout:
- Breakout of overbought/oversold levels;
- Breakout of Keltner channel borders.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was described in detail in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig1. The XRSXCandleKeltnerPluse indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17628

The CDir class allows getting information about files and folders outside the MQL5 sandbox similar to the MS-DOS Dir command. Call of system DLL is used, therefore you should allow their use.

Returns position profit in points based on the trading history.

The XССXCandleKeltner indicator with the breakout indication option

The smoothed Relative Strength Index oscillator with the color indication of overbought/oversold level breakouts and of the histogram direction