Modified Heiken Ashi
Modified Heiken Ashi
Added parameters:
extern int CountBar=1; // The amount of bars to calculate open price
extern int mode=0; // Choosing among alternatives of close price calculation method
// (mode==0) haClose=(High[pos]+Low[pos]+Close[pos])/3.0;
// (mode==1) haClose=(High[pos]+Low[pos]+Close[pos]+Open[pos])/4.0;