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.
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.