Hello,

Does anyone know how to enter long and short positions on the
same bar?

For example:
Buy = O<Ref(C,-1) OR O>Ref(C,-1) AND H-O>=41;
Short=O>Ref(C,-1) OR O<Ref(C,-1) AND O-L>=41;
Cover = IIf(Short==1,1,0);
Sell = IIf(Buy==1,1,0);

Does anyone know how to do this?

Thanks for the help.


Reply via email to