Hello, I see that sometimes when there is a multiple rule match on the same bar, Alertif generates consective Buy signals for rule1 and rule2.
For now I have a work around: buycondition1=rule1; buycondition2=rule2; Alertif ( buycondition1 and buycondition2) Alertif ( buycondition1 and NOT buycondition2) and so on...Problem is I have 4 buy rules and this method is not scalable...Unless I build so many permutations /combinations. Is there a better way to handle this so that if Alert is triggered, ONLY the first buy alert is sent to the output/email and then subsequent alerts for the same timestamp on that bar are suppressed?. I see in the doc about Buy = ExRem(Buy,Sell); Can this help here?. Something like Buy=Exrem(buycondition1,buycondition2); Will this work?. Thanks. Cheers,Padhu
