Hi,

Please take a look at the updated MTF StepMA indicator which now includes both new and old version. Plus there is an advanced sound/email alerts.

Code:
extern int     TimeFrame         =     0;    //TimeFrame in min
extern int     Price             =     0;    //Apply to Price(0-Close;1-Open;2-High;3-Low;4-Median;5-Typical;6-Weighted)
extern int     Length            =     5;    //Length of evaluation
extern double  StepSize          =     0;    //Step Size in pips 
extern double  Multiplier        =     2;    //Volatility's Factor or Multiplier
extern double  MinStep           =     0;    //Min Step in pips 
extern int     Displace          =     0;    //DispLace or Shift in bars
extern int     ColorMode         =     0;    //Color mode: 0-off,1-on  
extern int     StepMAMode        =     0;    //StepMA Mode: 0-new,1-old  

extern string  alerts            = "--- Alerts & E-Mails ---";
extern int     AlertMode         =     0;    //Alert mode: 0-off,1-on
extern int     SoundsNumber      =     5;    //Number of sounds after Signal
extern int     SoundsPause       =     5;    //Pause in sec between sounds 
extern string  UpSound           = "alert.wav";
extern string  DnSound           = "alert2.wav";
extern int     EmailMode         =     0;    //0-on,1-off   
extern int     EmailsNumber      =     1;    //0-on,1-off


Attachment 1764


Regards,
Igor