建仓加仓清仓副图指标 通达信 贴图
工作线:MA("KDJ.J#WEEK"(9,3,3),5);
建仓:CROSS(工作线,5),NODRAW,COLORMAGENTA;
加仓:CROSS(工作线,50),NODRAW,COLORYELLOW;
5,DOTLINE; 50,DOTLINE;
DRAWTEXT(CROSS(工作线,5),9,'建仓'),COLORMAGENTA;
DRAWTEXT(CROSS(工作线,50),45,'加仓'),COLORYELLOW;
VAR1:=工作线,COLORRED;
持股:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
持币:IF(VAR1<REF(VAR1,1),VAR1,DRAWNULL),COLORGREEN;
{卖}
VAR14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR25:=C/MA(C,60)-1;
清仓:CROSS(VAR14,-95) AND VAR25>=0.35,NODRAW,COLORWHITE;
DRAWTEXT(清仓,工作线,'清仓'),COLORWHITE;
{比上一日线数值涨幅大于3}
线涨XG:工作线>30 AND 工作线/REF(工作线,1)>1.03,NODRAW,COLORRED;
STICKLINE(线涨XG,48,52,1,1),COLORRED;
20196309213982142.png
|