Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627
|
bryan1618,
what is the problem you are experiencing?
From looking at your code, it doesn't "enter two limit orders at the same time", but issues the short order only after the fill on the long is detected.
You might want to take a look at the EasyLanguage Essentials PDF or the help files on how to back reference variables and reserved words as Close(1) might raise a compiler error.
Regards,
ABCTG
|