Hi,
I'm getting some wrong stop values with IB.
Happens randomly, now happened with MNST, happened before with other stocks.

I calculate the stop and the trail with the lines below:

Stop=priceClose()-(3*ATR(30));
Trail=ATR(2);

I also tried previously with this line below but getting same errors too:
Stop=3*ATR(30);

This is extracted from the log:

[MNST::L8573] Trail 7@50.4100 Stop 20042.13 at 11:14:42
[MNST::L8573] Trail 7@50.4100 Stop 38037.55 at 11:40:07
Stop 38037.5547 hit at 30823.4707/30823.470730823.4707/30823.4707
BrokerSell MNST: 71774 ms

Anyone from the Zorro team has any idea why is this happening ?
Log file is attached(renamed to .h to allow upload)

Thanks
Vincenzo

Attached Files
MVOreal.h (92 downloads)