hanchian0503 / Publications
Forum
Gold EA error?
I wrote a code for Gold pair, but it didn't work. if (( Symbol () == "XAUUSD" )|| ( Symbol ()== "XAUUSD-" ) ) pips = 0.1 ; int buystop= OrderSend ( Symbol (),OP_BUYSTOP,0.1,Ask+ 50 *pips, 5 ,Ask+ 40 *pips,Ask+ 70 *pips, NULL , 0 , 0 , clrNONE ); Anyone knows the reason
Is it possible to write an EA that not works based on ticks?
We know that EA that works in function OnTick() runs based on ticks. My question is, is it possible to write an EA based on time but not based on ticks? Thank you