{海底捞主图源码如下}
DRAWTEXT_FIX(ISLASTBAR ,0.01,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.05,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.1,0,GNBLOCK),COLORYELLOW;
MA5:MA(CLOSE,10),COLORRED DOTLINE;
MA20:MA(CLOSE,120),COLORYELLOW;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
KAAA:=饱和度>=97 AND CQ>90;
KBBB:=W4 AND COUNT(W4,5)=1;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(KBBB,OPEN,CLOSE,2,0),COLORFF00FF;
X_1:=(REF(MA(CLOSE,3),1)+ZTPRICE(REF(CLOSE,1),0.1))/2;
X_2:=X_1*0.9;
XG:=MAX(CLOSE,OPEN)
STICKLINE(XG,L,H,0,0),COLORFF00FF;
DRAWTEXT(XG,L*0.99,'海底捞 '), COLORYELLOW;
内容加载中..