Maybe your Broker no longer allows you to use an EA ?
OANDA is my broker... U think they are doing fishy business????
OANDA is my broker... U think they are doing fishy business????
I want to modify SL and TP only.
TP and SL or normalized to digits of their specific chart.
Let's just say I want to modify TP only for simplicity sake.
OrderModify keeps returning a zero value.
Obviously, modification did not take place. Why? No log errors too.
I WENT TO CHECK GETLASTERROR FOR ORDERMODIFY.
I GOT ERROR# 4202 FOR MISSING OBJECT.
THIS IS RIDICULOUS. I MEAN, TICKET ID IS THERE.
HEY, I TEST IT IN STRATEGY TESTER. ORDERMODIFY WORKS ON TESTER...
THE TICKETID in TESTER is simple numbers....
I NOTICE THAT OANDA has TICKET ID for MT4 and then FX TRADE ID also.
HOW DO I GOT ABOUT USING THE RIGHT ID????
OrderModify keeps returning a zero value.
Obviously, modification did not take place. Why? No log errors too.
I WENT TO CHECK GETLASTERROR FOR ORDERMODIFY.
I GOT ERROR# 4202 FOR MISSING OBJECT.
Dude, don't just comment like a smartass.
Read my question first.
OrderModify keeps returning a zero value.
Obviously, modification did not take place. Why? No log errors too.
I WENT TO CHECK GETLASTERROR FOR ORDERMODIFY.
I GOT ERROR# 4202 FOR MISSING OBJECT.
Ordermodify fail with a 0. I had to check getlasterror. Either way, I said my stuff works in the strategy tester
but not live because OANDA is somehow not using the MT4 orderid ticket. DOES anybody know?
Dude, don't just comment like a smartass.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Why is it that my script function in older version....
And now my script does not function correctly in this latest update...
The problem I have found is that I cannot modify my orders anymore such as takeprofit or stoploss from my script.
If I change takeprofit or stoploss from MT4 manually, then it works...
If my script does the changing, then it does not work.
Tradecontextbusy is okay... Chart digit is normalize and okay...
EA is allowed to trade long and short and enable...
Therefore, can somebody review this new version and figure what is going on????
Thanks for your time reading and hopefully figure the problem...
NOTE: I know there is minimal requirement pip distance for SL with certain brokers... But that is not my problem because TP cannot be modify also...