
N:=4;M:=9;
Z:=MA(CLOSE,55);
T:=MA(CLOSE,21);
Q:=MA(CLOSE,34);
E:=(CLOSE-(Z+T+Q)/3)/MA(CLOSE,3)*500;
CC:=IF(E>0,E,0);
STICKLINE(CC,0,CC,3,1),COLORFF3870;
DD:=IF(E<0,E,0);
STICKLINE(DD,0,DD,3,1),COLORFFFFFF;
NN:=(EMA(CLOSE,12)-EMA(C,26))*20;
MM:=EMA(NN,9);
RR:2*(NN-MM)*10,COLORSTICK;
AA:=IF(RR>0,RR,0);
STICKLINE(AA,0,AA,3,1),COLOR1743FF;
BB:=IF(RR<0,RR,0);
STICKLINE(BB,0,BB,3,1),COLORBB43FF;
A:=(HIGH+LOW+CLOSE*2)/4;
B:=EMA(A,8);
D:=STD(A,8);
W:=(A-B)/D*100;
WW:=EMA(W,8);
MC:EMA(WW,N),COLORGREEN,LINETHICK1;
DRAWTEXT(MC<=REF(MC,1),MC,'`'),COLOR0000FF;
EE:EMA(MC,M),COLORWHITE,LINETHICK1;
随时见顶:(CC>20)*140,COLORGREEN,CIRCLEDOT;
顶部区域:(SUM(CC,2)>78)*155,CIRCLEDOT,COLORYELLOW;
DRAWTEXT_FIX(1,0,1,0,'公众号:个股K线技术指标'),COLORMAGENTA;
再上一层楼:FILTER((SUM(CC,4)>275),10)*170,COLORFF00FF,CIRCLEDOT;
ZBVAR4:=REF(C,1);
ZBVAR5:=SMA(MAX(CLOSE-ZBVAR4,0),7,1)/SMA(ABS(C-ZBVAR4),7,1)*100;
ZBVAR6:=FILTER(CROSS(79,ZBVAR5),4)*190;
DRAWTEXT(ZBVAR6,100,'减'),COLORFF00CC;
ZBVAR2:=(REF(H,1)+REF(L,1))/2;
ZBVAR3:=MA(C,20)+2*STD(C,20);
ZBVAR7:=FILTER(CROSS(ZBVAR2,ZBVAR3),4)*200;
DRAWTEXT(ZBVAR7,100,'减'),COLORWHITE;
ZBVAR8:=3*SMA((CLOSE-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
QQ:=FILTER(CROSS(ZBVAR8,13),4);
TX:=250;
DX:=-230;
ZBVAR9:=IF(ZBVAR8>90,50,100);
ZBVAR10:=FILTER(CROSS(ZBVAR9,ZBVAR8),4);
DRAWTEXT(ZBVAR10,130,'$入袋为安'),COLORRED;