Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Elliott_Wave_Oscillator_Sign - MetaTrader 5 script

author EAcpu | 5 reads | 0 comments |

Elliott_Wave_Oscillator_Sign - indicator for MetaTrader 5

Semaphore based signal indicator Elliott Wave Oscillator Indicator Algorithm.

Input parameters:

 //+------------------------------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------------------------------+
Input ENUM_MODE mode=MODE1; //Signal definition algorithm
Enter Smooth_Method MA_Method1=MODE_SMA_; //Averaging method of the first moving average line
Enter the integer length 1= 5 ; //Depth of the first moving average line
Enter integer stage 1= 15 ; //parameters of the first moving average,
//---- For JJMA in the range of -100 ... +100, it will affect the quality of the transition process;
//----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle
Enter Applied_price_IPC1=PRICE_MEDIAN_; //First MA price constant
Enter Smooth_Method MA_Method2=MODE_JJMA; //The second MA averaging method
Enter the integer length 2= 35 ; //The depth of the second MA
Input integer stage 2= 15 ; //parameters of the second MA,
//---- For JJMA in the range of -100 ... +100, it will affect the quality of the transition process;
//----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle
Enter Applied_price_IPC2=PRICE_MEDIAN_; //The second MA price constant
Enter integer shift = 0 ; // indicator moves horizontally (in bars)
input boolean sign = true ; // activate one-shot audio signal when arrow appears on closed bar
The indicator uses the class SmoothAlgorithms.mqh library (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.


Elliott_Wave_Oscillator_Sign - indicator for MetaTrader 5

Figure 1. Elliott_Wave_Oscillator_Sign


Attachment download

📎Elliott_Wave_Oscillator_Sign.mq5 (10.81 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #15263

Verification code Refresh