Hello,
I'm using below code in nest trader and it is showing good result for trading. I want to have an AFL so that I can use it in Amibroker.
BUY = EMA(CLOSE, 5) > SMA (CLOSE, 20) AND RSI (CLOSE, 21) < 40
SELL = EMA(CLOSE, 5) < SMA (CLOSE, 20) AND RSI (CLOSE, 21) > 60
BUY EXIT = RSI...