In future please post in the correct section
I will move your topic to the MQL4 and Metatrader 4 section.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 all
This is a simple EA which will open 4 trades,
2 buy orders & 2 sell orders.
The EA will save the ticket numbers for the buy orders in array ( BuyA [ ] ),
and the same for sell orders in ( SellA [ ] ).
The problem is when I try Comment/Print the profits for BuyA [ ] & SellA[ ]
it is only working for BuyA[ ]
but not for SellA [ ].
I attached my EA if needed.
Can you please help
thanks in advance.