If it is "urgent", then hire someone in the Freelance section to fix it for you.
Trading applications for MetaTrader 5 to order
- 2023.06.01
- www.mql5.com
The largest freelance service with MQL5 application developers
Hello,
1) This seems to be a ChatGPT generated code, we will not help you if you have not put any effort.
2) This is a very easy problem to fix, you don’t even need a coder to do so.
3) If you do not manage to fix it. Pay a Freelancer to do it for you.
Sorry if it seems harsh, but I hate seeing poorly coded ChatGPT code (to not say a bad word).
Zaky Hamdoun #:
Hello,
Hello,
1) This seems to be a ChatGPT generated code, we will not help you if you have not put any effort.
2) This is a very easy problem to fix, you don’t even need a coder to do so.
3) If you do not manage to fix it. Pay a Freelancer to do it for you.
Sorry if it seems harsh, but I hate seeing poorly coded ChatGPT code (to not say a bad word).
Hello,
This is not a ChatGPT code i made it when i run with single mode order type it is working when i try with both order mode is getting error. looking for a good person to point it. Thanks for you comment.
Suresh D #: Thanks. But i am learning the code i want to know what mistake i made in this code..
Make sure your brackets are in pairs. Use of the styler will help.
void OpenTrade() { <<<< 1 ⋮ for(int i = PositionsTotal()-1; i >= 0; i--) { <<<< 2 ⋮ if(pos.SelectByTicket(posTicket)) { <<<< 3 if(pos.PositionType() == POSITION_TYPE_BUY) { <<<< 4 ⋮ } <<<< 3 end Buy else if(pos.PositionType() == POSITION_TYPE_SELL) { <<<< 4 ⋮ } <<<< 3 end Sell } <<<< 2 end SelectByTicket } <<<< 1 end loop <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ?????????? void CloseAll() {
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, i am trying to fix this code buy and sell at same time but getting error '}' - unexpected end of program and '{' - unbalanced parentheses can any one fix and complete the code for me.