马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
MA20:MA(C,20);
A:=MA20>REF(MA20,1) AND REF(MA20<REF(MA20,1),1);
DRAWICON(A,MA20,1);
B:=MA20<REF(MA20,1) AND REF(MA20>REF(MA20,1),1);
DRAWICON(B,MA20,2);
IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(C/REF(C,1)>1.095 AND C=H,C,O,2,0),COLORMAGENTA;
STICKLINE(C/REF(C,1)>1.095 AND C=H,L,O,0.1,0),COLORMAGENTA;
板块类别:=STRCAT(STRCAT(STRCAT(STRCAT(DYBLOCK,HYBLOCK),FGBLOCK),ZHBLOCK),GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,板块类别),COLORWHITE;
{涨停变色}
C6:=REF(C,1);涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(涨停,H,L,0,0),COLORLIRED;
|