Just want to inform they are both old enough and first I should to update the StepMA_3D indicator on which they are based.
So please check out the updated StepMA_3D indicator with both old and new algorithms.
Code:
//---- input parameters
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 = 10; //Length of evaluation
extern double MinStepSize = 0; //Min Step Size in pips
extern double MaxStepSize = 0; //Max Step Size in pips
extern double Multiplier = 1; //Volatility's Factor or Multiplier
extern double MinStep = 0; //Min Step in pips
extern int MinDisplace = 0; //Fast Line DispLace or Shift in bars
extern int MidDisplace = 0; //Middle Line DispLace or Shift in bars
extern int MaxDisplace = 0; //Slow Line DispLace or Shift in bars
extern int StepMAMode = 1; //StepMA Algorithm Mode: 0-new,1-old
extern int ATRMode = 0; //0-ATR,1-WATR