Need to afl code to finalize the target price

#1
Hello everyone,

I am struggling to write the code to check the cover and short.

my strategy is as below:
Buy = ExRem (Buy,Sell);
Sell = ExrRem (Buy,Sell);

Cover = When it will reach 10points;
Short = When it will reach 10points;

Otherwise

Cover =Sell;
Sell = Buy;

What should be ideal code to write above stategy?

Thanks in advace.....

Ajit
 

Similar threads