This might look like a silly question but I'm struggling with this.
I'd like to know when really a position is changed, so I'm wondering is there any method or function that could this job ? Something similar to "position.MarketPosition" but not only for Close[0] but also for Close[1] in order to be able to compare them and determined if any changes.
My goal for this, is to instruct the code to send me a mail when really a new position was acquired in the strategy, and not a bunch of mails for any bar updated.
Thanks
Comment