Handling onTradeTransaction event is enough to achieve that. I cannot realize your issue with that.
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
I'm having trouble finding a good logic to notify me of each Open/Close event.
My issue is that sometimes there are multiple Opens or simultaneous Closes, and I would like each one to be correctly notified.
I'm thinking of using `ontrade()` - but I'm having trouble using this function correctly.
Perhaps there needs to be some kind of ticket tracking: open - open notification; close - close notification, so that each ticket is properly processed once.
Thanks in advance.