AA:HHV(H,20),COLORRED,LINETHICK2;
BB:LLV(L,20),COLORBLUE,LINETHICK2;
CC:HHV(H,60),COLORBLUE,LINETHICK3;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
AA1:=CROSS(C,REF(AA,1));
AA2:=FILTER(AA1,3);
BB1:=CROSS(REF(BB,1),C);
BB2:=FILTER(BB1,3);
DD:(AA+BB)/2;
EE:(AA-BB)*0.382+BB;
FF:(AA-BB)*0.618+BB;
DRAWICON(AA2,H*1.02,4);
DRAWICON(BB2,L*0.98,5);
MA50:MA(C,64),colorred,linethick2;
MA300:MA(C,256),colorgreen,linethick2;