
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,
Let's say I have 6 pending orders, tagged with a comment. At a certain point I want to check which ones have been triggered by reading the comment on the positions. The ones which are triggered I want to flag off.
I wrote a small function which runs through all open positions, reads the comment and flags the boolean variables to false... or that's the purpose.
Below script, only flags the first variable to False (while three are actually open positions) :
what do i do wrong?
Thanks for any tips or help