
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
Not sure if this is what your looking for. This will attempt to open a trade,
three times, then quit.
Thanks for your input YellowBeard.
However, as I am now using Stop Orders, I want it to be placed no matter what. Therefore, using an Include file (code is on previous page from the article honest_knave hyperlinked into this thread) allows all EA's to essentially read from the same sheet using GlobalVariables. This include file is called just before OrderSend and checks if TradeContextBusy or not. If it is not, then it'll push through each of my trades (up to 4 per market, 10 markets traded) at a given time. Between each OrderSend I Sleep(100) too to avoid too_many_requests.
Execution speed is literally the last thing I should be concerned with as it is not a variable to be concerned with. My orders sit a good 50-100 pips above or below current market price.
Thanks anyway, I see how that can work :)