My EA seems to be unable to get any last trade data (i.e. using SymbolInfoDouble(Symbol(),LAST_TRADE)) while running in the championship. I guess I should have used a fail safe with Bid/Ask information, but I didn't anticipate that the last trade data would fail. Back testing worked just fine, so I'm left wondering about the reason for this.
Is is a normal feature, or am I the only one with the issue?
Sorry, i meant SYMBOL_LAST. here is the actual piece of code:
I assumed that the last deal would be a relevant price to be considered. I follow the same approach with equity trading (where bid/spreads alone can generate inaccurate estimates of the fair price).
In this case, since the spread for EUR/USD is usually so small, i felt that the choice between last deal and bid/ask would be insignificant, so i didn't even bother accounting for bid/ask prices. Does the championship not consider broad trades/volume when feeding data?
Thank you for the information!
Thank you Rosh!
Yeah, that does make sense for the championship environment. I got too used to aggregate last deal data from live trading, shame on me. Well, Ill be back next year.
And back you are Alonso, very nicely heading the ATC2012.
Would you please fulfill your profile on MQL5.com, as a leader on ATC2012 you already getting a lot of interest from mql5 people wanting to buy your EA.
I would also suggest you to register also as a seller for Signal Subscription and Market.
Good luck on the rest of the Championship!