DF:=5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KK:=SMA(RSV,3,1);
DD:=SMA(K,3,1);
N:KK+DD,COLORMAGENTA;
燃料加注:IF(crOSS(N,50),90,50),COLORGREEN;
准备点火:IF(CROSS(N,100),100,50),COLORYELLOW;
ZTSJ:=BArslAST(准备点火=100);
价:REF(C,ZTSJ)*1.1,COLORBLUE;
{ _最新股票指标公式}
涨:=(C/REF(C,ZTSJ)-1)*100,RGB(255,255,0);
低:=IF(ZTSJ>0 AND ZTSJ<10 AND (L/REF(C,ZTSJ)-1)*100<=-DF,5,50),RGB(255,255,255);
达标:=ZTSJ<20 AND CROSS(H,REF(C,ZTSJ)*1.1);
GWGD:=N=160 AND REF(N,1)>=REF(N,2);
回收:IF(GWGD,95,160),COLORLICYAN;