Download MetaTrader 5

help please in andrew pitchfork drawing

To add comments, please log in or register
3ammary
348
3ammary 2012.04.20 00:03 
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
onewithzachy
2271
onewithzachy 2012.04.20 01:36  
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
3ammary
348
3ammary 2012.04.20 01:53  

@ onewithzachy

i c

it is done ,, thanks 

To add comments, please log in or register