Hi,
Please let me know how to code AFL for backtesting,
code snippet:
Buy = Low < Ref(LLV(Low, -3));
Sell = ??????
Buy = Extrem(Buy,Sell);
Sell = Extrem(Sell,Buy);
ApplyStop(stopTypeLoss,stopModePercent,5);
What is the "Sell" code? I want to sell 3 days after a Buy signal from above code.