Hi,
I'm trying to code following strategy but unable to code for "short" because it includes buy condition as well. I have coded Buy,Sell & Cover but not able to code "Short". Please help.
As in short, it is including 2 timeranges :
afl is not reading it correctly. I think I'm missing something.
Buy = (If timerange is between 091500 to 094500) and price > X
Sell = Profit target of 2 % or Stop loss of 1%
Short = {Buy condition} and {(If timerange is between 133000 to 143000) and price < Y}
Cover = Profit target of 2 % or Stop loss of 1%
I'm trying to code following strategy but unable to code for "short" because it includes buy condition as well. I have coded Buy,Sell & Cover but not able to code "Short". Please help.
As in short, it is including 2 timeranges :
- between 091500 to 094500
- between 133000 to 143000
afl is not reading it correctly. I think I'm missing something.
Buy = (If timerange is between 091500 to 094500) and price > X
Sell = Profit target of 2 % or Stop loss of 1%
Short = {Buy condition} and {(If timerange is between 133000 to 143000) and price < Y}
Cover = Profit target of 2 % or Stop loss of 1%