Hi guys!
I'm testing/developing an EA and today was my first time using it live, but demo account yet.
Analyzing logs, I found a odd situation and I'm not sure if this is normal or an error:
The first ticket (#109585829) was cancelled. Ok.
The second one (#109585829) was accepted and modified a few times.
But, at 10:24:30.399 (last line), the price reaches my TP and the sell occured. But the ticket (#83453046) is different!
You don't have a TP, your SL was triggered.
#83453046 is a DEAL ticket. It's normal.
There's no reference to ticket (#83453046) in my log. Nor the #109632261, which the that first was based on.
#109632261 is the broker side SL order triggered.
Questions:
1. Any clue to what happend here? My code expect to see a OnTrade event to ticket #109629895, which didn't happend.
2. What "Based on order #109632261 means?
You should read this article.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys!
I'm testing/developing an EA and today was my first time using it live, but demo account yet.
Analyzing logs, I found a odd situation and I'm not sure if this is normal or an error:
The first ticket (#109585829) was cancelled. Ok.
The second one (#109585829) was accepted and modified a few times.
But, at 10:24:30.399 (last line), the price reaches my TP and the sell occured. But the ticket (#83453046) is different!
There's no reference to ticket (#83453046) in my log. Nor the #109632261, which the that first was based on.
Questions:
1. Any clue to what happend here? My code expect to see a OnTrade event to ticket #109629895, which didn't happend.
2. What "Based on order #109632261 means?
Thank you!