eagleeyes0618:
Sell Opens at the Bid and closes at the AskHi 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
Lorentzos Roussos:
Sell Opens at the Bid and closes at the Ask
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.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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