The weirdest error ever?
-
I would appreciate any help with an unexpected problem with my ridiculously simple EA. Here it is:
https://fxdreema.com/shared/TtMS131tc
This is what it does:
- I select a single trade buy pending/ sell pending. I manually specifiy price level.
- I manually select size.
- I manually select pips distance for SL and a partial close.
- Once price reaches the partial close level, the SL is moved to break even and the EA automatically terminates.
- I manually close the remaning trade.
Well, believe it or not, from time to time (and I can't simply understand why) some orders are programmed up to 700 pips away from the manually inserted price!!!
. It works smoothly most of the time, but today i tried a sell pending order at price 6845.3 and the order was programmed at 6155.0!!!
I've checked and rechecked.Any help will be MUCH appreciated.

-
Things are getting weirder, if possible. The problem is limited to pending sells only. All pending buys work well, no matter what. Additionally, not all sells work wrong. Apparently, all sells on charts with 0.00000 format are set with no problems, whereas all those with 000.000, 0000.00 and 0000.0 formats don't work.
Here some examples:
- Symbol: USDJPY. Pending price on EA: 100.19. Real open price on chart: 99.19
- Symbol: XAUUSD. Pending price on EA: 1334.00. Real open price on chart: 1320.66
- Symbol: NAS100. Pending price on EA: 4800.0. Real open price on chart: 4320.0 I simply can't believe it!

No matter how many times I look at the blocks. I simply see it as correct as pending buys.
Any help, please?

-
I'm trying here on USDJPY, which is 000.000, but whatever value I write, I got my sell pending order at the correct price

-
And are you using my EA?

-
After checking it out again. I can confirm it works perfectly!!!
I simply can't give an explanation of what happened. Same broker, same charts and now everything goes perfectly.
I'm very sorry for this weird thread. I swear I'm not crazy 
-
hello did you test it on real time trading or backtest in case you used backtest check if there any mismatch chart error
-
Yes, I'm using your project, I can see it. I'm only backtesting with the data I have... I don't know it's quality, but there are no mismatch errors
-
__hello did you test it on real time trading or backtest in case you used backtest check if there any mismatch chart error[/quote:3agrtn51]
It was in real time. The only thing I guess it happened was a fatal MT4 malfunction, but I find it simply unbelievable.
