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
Please close this dumb question..... the last two lines, I should use poscount instead of i.
I'm working on this code, using a CButton, my purpose: when new position (not including pending order) added to the current symbol, or stoploss changed in any of open position of the current symbol, this CButton pops up showing some alert text.
The following code works fine when I test with only one symbol. But then, after I open a position in another symbol, then open one more position in the current symbol, the CButton pops up showing new position added, and error occur: array out of range.
I thought I got it, now I'm totally lost. Could anybody please help?