ASK: Work on Strategy Tester, but not on Live
Hi all,
i have a problem just with my very simple script int ticket = OrderSend(..); that i put it in OnTick() function
This script works well when i run it on Strategy Tester, and that int ticket int ticket returns the ticket number when i print it (this means it works right?), but
This script doesn't work when i run it on Live demo account, and that int ticket int ticket returns -1 when i print it (this means doesn't work right?)
any idea for this case ?
did i miss something here ?
Many Great thanks in advance
Here is my simple script on OnTick() event
Buy Opens at the Ask and closes at the Bid
Sell Opens at the Bid and closes at the Ask
Buy Opens at the Ask and closes at the Bid
Hi Lorentzos Roussos,
it works.
Many thanks.
Hi all,
i have a problem just with my very simple script int ticket = OrderSend(..); that i put it in OnTick() function
This script works well when i run it on Strategy Tester, and that int ticket int ticket returns the ticket number when i print it (this means it works right?), but
This script doesn't work when i run it on Live demo account, and that int ticket int ticket returns -1 when i print it (this means doesn't work right?)
any idea for this case ?
did i miss something here ?
Many Great thanks in advance
Here is my simple script on OnTick() event