Suppose:
Buy_Valid = ExRem(Buy_Valid,Sell_Valid);
Sell_Valid = ExRem(Sell_Valid,Buy_Valid);
Buy=Buy_Valid;
Sell=Sell_Valid OR (code required: SL or TGT or TSL reached);
Short=Sell_Valid;
Cover=Buy_Valid OR (code required: SL or TGT or TSL reached);
need code for condition stated in blue above, for scan.
thanks
Buy_Valid = ExRem(Buy_Valid,Sell_Valid);
Sell_Valid = ExRem(Sell_Valid,Buy_Valid);
Buy=Buy_Valid;
Sell=Sell_Valid OR (code required: SL or TGT or TSL reached);
Short=Sell_Valid;
Cover=Buy_Valid OR (code required: SL or TGT or TSL reached);
need code for condition stated in blue above, for scan.
thanks