Quote:
Originally Posted by jeffstar Thank you for the reply. I am running both a demo and a live account using version 2.10 and they are trading the same way. The difference is in the way version 2.12 handles the trades regarding the TP  and closing price. If you look at the live statement in this thread you will see that the TP  and closing price are the same. In the Demo account in the other thread the TP  and closing price are different. |
I think masterpipper answered this, but I'll reword his answer.
When a trade is opened the
TP 
is set. The brokers server will then attempt to close the trade when the price hits this
TP 
. However, if the server is overloaded, slow or another reason, then the price may have moved between trying to close and actually closing. Thus the difference.
This will vary between brokers, demo systems, live systems, news releases, the weather (well, maybe not the weather

) I don't think it's a difference in the program, just a difference in the circumstances surrounding the trade.
If you use an EA to programmatically close a trade, i.e. not relying on the
TP 
, then the problem is exacerbated, as there is a network call to make between client and server. You can limit the differences between required
TP 
and Closing Price by setting the SLIP. If the price is outside the slip then the trade is not closed.
Hope that helps.