Very Strange - page 2

 
Look it up . . . Errors
 
Buy at ASK, Sell at BID.
 
RaptorUK:
If you want to know if your EA works try it in the Strategy tester first . . . and check return codes ( res ) and take appropriate actions . . .
I posted this to help . . . if you had done this a few hours ago you would have the information you needed.
 

RaptorUK, I owe you .... its working now.

it was a small mistake .. what did i do just changed

res=OrderSend(Symbol(),OP_BUY,LotsOptimized(),Bid,3,(SELL_PRICE-(Commission*Point)),(BUY_PRICE+(TARGET*Point)),"",MAGICMA,0,Blue);

to be

res=OrderSend(Symbol(),OP_BUY,LotsOptimized(),Ask,3,(SELL_PRICE-(Commission*Point)),(BUY_PRICE+(TARGET*Point)),"",MAGICMA,0,Blue);

Only Ask instead of Bid, and the same at OP_SELL ... thank you so much for your help.

Reason: