Join our fan page
- Views:
- 3489
- Rating:
- Published:
- 2015.05.20 13:15
- Updated:
- 2023.03.29 13:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
olegok83
Semaphore signal indicator based on the XCCX_StDev indicator values.
input Applied_Mode Mode=Mode_LevelsStDev_On; // Algorithm variant
Depending on the value of Mode input parameter, the indicator uses one of the 5 methods of determining signals:
- Levels only. The indicator determines when the original oscillator XCCX enters the overbought or oversold areas specified by the UpLevel and DnLevel input parameters.
- Deviation only. The indicator captures the moments when the deviation exceeds the boundary values determined by the dK input parameter.
- Levels plus deviation. In this case, signals appear when the deviation exceeds the boundary values determined by the dK input parameter, and the XCCX oscillator is in the oversold or overbought area.
- Levels plus deviation by trend. This algorithm is similar to previous, but only uptrend signals are taken into account in the overbought area, and downtrend signals in the oversold area.
- Levels plus deviation against trend. The last algorithm is similar to third algorithm, but only downtrend signals are taken into account in the overbought area, and uptrend signals in the oversold area.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
This indicator requires the compiled indicator file XCCX_StDev.mq5. Place it in <terminal_data_folder>\MQL5\Indicators\.
Fig.1. The XCCX_StDev_Signal indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/12826
![ColorJFatl_StDev](https://c.mql5.com/i/code/indicator.png)
The ColorJFatl indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.
![XXRSX_StDev](https://c.mql5.com/i/code/indicator.png)
The XXRSX indicator with additional trend strength indication using colored dots based on the standard deviation algorithm.
![XXRSX_StDev_Signal](https://c.mql5.com/i/code/indicator.png)
Semaphore signal indicator based on the XXRSX_StDev indicator values.
![Exp_ADXCrossing](https://c.mql5.com/i/code/expert.png)
Trading system using the ADXCrossing indicator.