Code Base Indicators Modified Heiken Ashi To post a new code, please log in or register
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;
Modified Heiken Ashi