I GIVE UP

Status
Not open for further replies.
I mean it's been running for few months, i've had multiple sesssions where i had orders broken up. But today, something happened...
Your wife and you are using the same code and the same version of QT, trading th
I checked the MT5 terminal to see a different view of the trades, and found the issue:

View attachment 322100

Basically the sequnce should be this:

buy or sell stop entry
set limit target
cancel other order
set reverse order

So the time difference betwen 4 (3+1) contracts entry and the first target hit (just on 3) is like 100ms.

It seems like today, it was so quick that it only had time to set a buy limit on 3 lots instead of 4, ending up screwing over the whole algo sequence leaving a naked reverse order.

I think the best way to fix this is just have a TIMER sequence initiated anytime a LIMIT order is filled. This could cause some losses because sometimes the market would reverse right off the level and only execute some lots. But it's much better than to have a naked order left open like today.

Partial lots has been the bane of my algo existence
If I may.
I suggested you the same thing in the past if I remember well.
DON'T USE TIMER for your sequence of events.
Your move should be based on status of your previous event (not sure if it's possible with QT).
When one event is completely done, you do the next, and so on.
Timers will get you different problems.
Also, don't do multithreading.
Single thread is king.

Time to start learning coding my friend....
 
Your wife and you are using the same code and the same version of QT, trading th

If I may.
I suggested you the same thing in the past if I remember well.
DON'T USE TIMER for your sequence of events.
Your move should be based on status of your previous event (not sure if it's possible with QT).
When one event is completely done, you do the next, and so on.
Timers will get you different problems.
Also, don't do multithreading.
Single thread is king.

Time to start learning coding my friend....

Lol I remember. Same shit happened in MT5 and I suggested a timer and you said no.

My god, maybe MT5 is not the issue all this time :banghead:

How could a simple concept in my head be so hard to program properly. I think the issue is also these devs program in DEMO environment. They don't see ANY of these things happening on their end so it's hard to communicate what the issue is.

Welp, I technically met my yearly gains and can stop trading the rest of the year while i figure this out lol
 
I feel like there should be a reverse cancel call out after I get my PnL notification, jusst to make sure it really did cancel it.

upload_2023-8-29_14-13-14.png
 
I feel like there should be a reverse cancel call out after I get my PnL notification, jusst to make sure it really did cancel it.

View attachment 322104


Yes I think I'll try this. Cause today, after the pnl alert, it kept going with an open order.

upload_2023-8-29_14-21-40.png


I always found weird that this shithead was able to code. Well, there you go, he has to pay someone to do it.

You mad about something? You're like a woman who holds grudges..

DOn't derail this thread bitch, let me do my thing and you figure out how to make a penny
 
Status
Not open for further replies.
Back
Top