help please in andrew pitchfork drawing

 
the syntax of it is
ObjectCreate( "andrew1", 19,0, gt1t,gp1,gt2t ,gp2 ,gt3t ,gp3 ) ;


the main problem is that

gt1t

gt2t

gt3t


need to be converted from double format to datetime format as the function accept it

i have for example gt1t=17 in double format,,, it means 17 bars before the current bar

how could i get this bar in datetime format

thanks in advance
 
3ammary, You've already ask this in mql4.com so would you please don't ask it in here. Beside you asking for mql4 code and this forum is for mql5 codes, you may get correct answer that does not help you.
help please in andrew pitchfork drawing - MQL4 forum
  • www.mql5.com
help please in andrew pitchfork drawing - MQL4 forum
 

@ onewithzachy

i c

it is done ,, thanks