MacGiamma:
Hi All,
I have put together the script below to open a new pending order with the same comment and magic number of an existing one.
The script seems to be working fine most of the times but occasionally it will not open any order and there are no error messages are indicated in the Journal.
Any tips?
Thanks,
MG
Hello,
script run OnStart() function once.
Try to replace it with OnTick() function.

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 put together the script below to open a new pending order with the same comment and magic number of an existing one.
The script seems to be working fine most of the times but occasionally it will not open any order and there are no error messages are indicated in the Journal.
Any tips?
Thanks,
MG