help me for use ytg_DveMashki_ind_w_Signals

 

how to change the first MA use "method 0" and a second MA  use"method 1"



 

 
yudidarso:

how to change the first MA use "method 0" and a second MA  use"method 1"


Try editing these lines . . . .

extern int method1 = 0;  //    change to method1
extern int method2 = 1;  //    add this line


      ExtMapBuffer1[pos]=iMA(Symbol(),0,ma_1,0, method1, price,pos);  //  change to method1
      ExtMapBuffer2[pos]=iMA(Symbol(),0,ma_2,0, method2, price,pos);  //  change to method2
 
Thank You Very Much

 
yudidarso:
Thank You Very Much

Cool,  glad it worked.  :-)
Reason: