Help regarding amibroker afl and zerodha pi trade script?

Hi i want a very simple amibroker .afl and a tradescript for pi for scanning stocks ,

buy above or sell below if the price crosses 12 sma

please guide

hElLO tRaDeR,

Tradescript For Pi:

BUY SCRIPT:

CROSSOVER(CLOSE , EMA(CLOSE,12))

SELL SCRIPT:

CROSSOVER(EMA(CLOSE,12) , CLOSE)
1 Like

and sir for amibroker