Hi KelvinHand
Please look AMI code:
D= H-(ATR*0.3);
N=High;
"XPL=Ref(D,BarsSince(N));" //BarsSince(N) and BARSLAST(N) Both do the same work?
//If not, please help me to write into the same role
XPL=Ref(D,BARSLAST(N));(Find the last condition holds to the current number of cycles).
Plot(TimeFrameExpand(XPF,inDaily ,expandLast), "R1", colorGreen, styleThick);
AMI not BarsLast(),I I must use this function, which role is(Find the last condition holds to the current number of cycles)
Kreangast
2013/5/23