Please help me to convert this strategy into AFL.
Timeframe 5 min
Buy setup: Rsi(5) crosses 30 from below. buy signal should be generated when next bar exceeds the current bar high.
stoploss : lowest of buy signal bar or its previous bar low.
exit: when Rsi(5) crosses 70 from above. Sell signal should be generated when next bar exceeds the current bar.
Timeframe 5 min
Buy setup: Rsi(5) crosses 30 from below. buy signal should be generated when next bar exceeds the current bar high.
stoploss : lowest of buy signal bar or its previous bar low.
exit: when Rsi(5) crosses 70 from above. Sell signal should be generated when next bar exceeds the current bar.