Can anyone help me please with my code ?
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!

Thank you.
and it is the standard reply -
----------------
Just to remind:
Coders (any coder) are coding for free:
- if it is interesting for them personally, or
- if it is interesting for many members of this forum.
----------------
and Freelance section of the forum should be used in most of the cases.
I'm using my Bollinger Bands EA, but still doenst open takeprofit and stoploss .
Can someone help me out ?
please.
the error is this >
Error 4753
Please terll us:
- where (which Line) is this error
- it would be nice for us and helpfuil for you if you tell us what kind of error is 4753.
I am not sure - same error or not, but I found it here https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes -
Account |
|
|
ERR_ACCOUNT_WRONG_PROPERTY | 4701 | Wrong account property ID |
ERR_TRADE_WRONG_PROPERTY | 4751 | Wrong trade property ID |
ERR_TRADE_DISABLED | 4752 | Trading by Expert Advisors prohibited |
ERR_TRADE_POSITION_NOT_FOUND | 4753 | Position not found |
ERR_TRADE_ORDER_NOT_FOUND | 4754 | Order not found |
ERR_TRADE_DEAL_NOT_FOUND | 4755 | Deal not found |
ERR_TRADE_SEND_FAILED | 4756 | Trade request sending failed |
ERR_TRADE_CALC_FAILED | 4758 | Failed to calculate profit or margin |
- www.mql5.com
if((type <= 1 && !PositionSelect(Symbol())) || (type > 1 && !OrderSelect(ticket)))
Make sure the ticket exists when you select by ticket.
Make sure the ticket exists when you select by ticket.
I'm using my Bollinger Bands EA, but still doenst open takeprofit and stoploss .
Can someone help me out ?
please.
the error is this >
Error 4753