ExRem is used like a toggle\latch. AmiBroker uses arrays extensively. So for EXRem(Buy, Sell) the first instance of "Buy" in the array would return a "1", all following "Buys" would return a "0" until a "Sell" was encountered. The "Sell" resets the output so that the next "Buy" would output a "1".Quote from mizhael:What does the folllowing mean?
Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);