Hello all,
I need some help to convert these two lines in Pine script to Ami AFL .
b := close > alpha*close+(1-alpha)*nz(b[1],close) ? close : alpha*close+(1-alpha)*nz(b[1],close)
c := close < alpha*close+(1-alpha)*nz(c[1],close) ? close : alpha*close+(1-alpha)*nz(c[1],close)
Can someone please help?
Thanks a lot!
I need some help to convert these two lines in Pine script to Ami AFL .
b := close > alpha*close+(1-alpha)*nz(b[1],close) ? close : alpha*close+(1-alpha)*nz(b[1],close)
c := close < alpha*close+(1-alpha)*nz(c[1],close) ? close : alpha*close+(1-alpha)*nz(c[1],close)
Can someone please help?
Thanks a lot!