{行业 板块 地区 概念}
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,HYBLOCK),COLORRED;{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,DYBLOCK),COLORRED;{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,GNBLOCK),COLORRED;{在屏幕左上角显示所属概念板块}
{彩色k线显示}
STICKLINE(C/REF(C,1)>=1.097 AND H>L,C,O,3,0),COLORMAGENTA;
STICKLINE(REF(C,1)/C>=1.097 AND H>L,C,O,3,0),COLORLIBLUE;
STICKLINE(H/REF(C,1)>=1.097 AND H>C,H,C,0,0),COLORMAGENTA;
STICKLINE(REF(C,1)/L>=1.097 AND H>L,C,L,0,0),COLORLIBLUE;
A1:MA(C,3);
A2:MA(C,5);
主力资金:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
进入启动区:= 65,COLOR00FF00;
快速拉伸区:=80,COLORWHITE,LINETHICK1;
DRAWTEXT(crOSS(主力资金,快速拉伸区),L*0.99,'爆发!') ,COLORYELLOW;
筹码集中区:= 50,COLOR00FF00;
抄底阶段:=20,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(主力资金,抄底阶段),L*0.99,'抄底') ,COLORWHITE;
DRAWTEXT(CROSS(快速拉伸区,主力资金),H*1.01,'减仓') ,COLORGREEN;
STICKLINE(CROSS(主力资金,快速拉伸区),C,O,3,0),COLORYELLOW;
主力线:=SMA(100*(C-LLV(LOW,45))/(HHV(H,45)-LLV(LOW,45)),5,2);
DRAWTEXT(CROSS(主力线,42),L*0.97,'★开仓'),COLORRED;