七彩顶底
空:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100-70;
VAR2:=SMA(空,9,1)+100;
多:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR4:=SMA(多,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:VAR5-VAR2,COLORMAGENTA,LINETHICK2;
均线:MA(VAR6,2),COLORGREEN,LINETHICK2;
强:IF(VAR6>100,VAR6,DRAWNULL),COLORRED,LINETHICK2;
跌:IF(CROSS(100,VAR6),VAR6,DRAWNULL),COLORCYAN,;
STICKLINE(REF(强,1)<强,强,REF(强,1),1,0),COLORRED;
STICKLINE(REF(强,1)>强,强,REF(强,1),1,1),COLORCYAN;
DRAWICON(CROSS(VAR6,均线),均线-3,1);
DRAWICON(CROSS(均线,VAR6),均线+3,2);
100,COLORWHITE;
120,COLORLIRED;
20,COLORLIMAGENTA;
|