if(marketDataUpdate.MarketDataType == MarketDataType.Ask || marketDataUpdate.MarketDataType == MarketDataType.Bid)
Also, with EnterLong() I'm using Print function to pring current Ask price.
The problem is:
In Print (also saw it in realtime) I have Ask on f.e. 8330. I have Print with this Ask also. But trade occurs much more after on another price (8334 f.e.). Also it goes more then 200 ticks to enter the position. I have a lag minimum of 1 second and always more then 100 ticks (using 1 tick chart). What's wrong with it and how to fix it?
Also the same issue I have on exit trade via Bid price. It always closes later, then I have Print.
P.s.: I'm using Sim account. Will it work another if I will use real account?
P.p.s.: I also have Enforce immediate fills option anbled.
Thank you.
Comment