
N:=5; M:=10;
Z:=MA(C,55);
T:=MA(C,21);
Q:=MA(C,34);
E:=(C-(Z+T+Q)/3)/MA(C,3)*500;
CC:=IF(E>0,E,0);
DD:=IF(E<0,E,0);
NN:=(EMA(C,12)-EMA(C,26))*20;
MM:=EMA(NN,9);
RR:=2*(NN-MM)*30;
A:=(H+L+C*2)/4;
B:=EMA(A,8);
D:=STD(A,8);
W:=(A-B)/D*100;
WW:=EMA(W,8);
MC:=EMA(WW,N);
EE:=EMA(MC,M);
随时见顶:(CC>20)*140,COLOR808000,CIRCLEDOT;
顶部区域:(SUM(CC,2)>78)*155,CIRCLEDOT,COLOR4080FF;
DRAWTEXT_FIX(1,0,0.95,0,'公众号:指标公式源码'),COLORMAGENTA;
再上一层楼:FILTER((SUM(CC,4)>275),10)*170,COLORFF00FF,CIRCLEDOT;
ZBVAR4:=REF(C,1);
ZBVAR5:=SMA(MAX(C-ZBVAR4,0),7,1)/SMA(ABS(C-ZBVAR4),7,1)*100;
ZBVAR6:=FILTER(CROSS(79,ZBVAR5),4)*190;
ZBVAR2:=(REF(H,1)+REF(L,1))/2;
ZBVAR3:=MA(C,20)+2*STD(C,20);
ZBVAR7:=FILTER(CROSS(ZBVAR2,ZBVAR3),4);
ZBVAR8:=3*SMA((C-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)*-200;
ZBVAR9:=IF(ZBVAR8>90,50,100);
ZBVAR10:=FILTER(CROSS(ZBVAR9,ZBVAR8),4);
ZBVAR51:=SMA(MIN(C-ZBVAR4,0),7,1)/SMA(ABS(C-ZBVAR4),7,1)*100;
ZBVAR61:=FILTER(CROSS(ZBVAR51,-79),4)*-190;
ZBVAR33:=MA(C,20)-2*STD(C,20);
ZBVAR77:=FILTER(CROSS(ZBVAR33,ZBVAR2),4);
随时见底:(DD<-40)*-160,COLOR808000,CIRCLEDOT;
底部区域:(SUM(DD,2)<-90)*-175,CIRCLEDOT,COLOR4080FF;
再到地下层:FILTER((SUM(DD,4)<-290),10)*-190,COLORFF00FF,CIRCLEDOT;
DRAWTEXT(ZBVAR61,-100,'增'),COLORFF00CC;
DRAWTEXT(ZBVAR77,-100,'增'),COLOR808080;
DRAWTEXT(QQ,-130,'$祝你好运'),COLOR8000FF;
E2:(C-(Z+T+Q)/3)/MA(C,3)*500,VOLSTICK;
RR2:2*(NN-MM)*30,STICK,COLORFFFFFF;
MCC:EMA(WW,N),COLOR808000,LINETHICK2;
IF(MCC>REF(MCC,1),MCC,DRAWNULL),COLOR8000FF,LINETHICK2;
DRAWTEXT(ZBVAR6,RR2,'减'),COLORFF00CC;
DRAWTEXT(ZBVAR7,RR2,'减'),COLORWHITE;
DRAWTEXT(ZBVAR10,RR2,'$入袋为安'),COLORRED;