MetaTrader 5 MT5 Indicators XCCX_StDev_Signal – indicator MetaTrader 5

XCCX_StDev_Signal – indicator MetaTrader 5

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:

  1. Levels only. The indicator determines when the original oscillator XCCX enters the overbought or oversold areas specified by the UpLevel and DnLevel input parameters.
  2. Deviation only. The indicator captures the moments when the deviation exceeds the boundary values determined by the dK input parameter.
  3. 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.
  4. 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.
  5. 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.
Alternative:   i4_pivot_v1 - indicator MetaTrader 5

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

Fig.1. The XCCX_StDev_Signal indicator


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks