风警值:P+100,LINETHICK1;
风险区:90,COLORRED,LINETHICK2;
安全区:10,COLORGREEN,LINETHICK2;
CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
CYS:=(CLOSE-CYC13)/CYC13*100;
DRAWTEXT_FIX(1,0.980,20,1,'★九毛八公式指标www.9m8.cn'),COLORYELLOW;
STICKLINE(CROSS(风警值,10) AND CYS>-1,5,15,2,0),COLORRED;
STICKLINE(风警值<安全区,风警值,安全区,4,0),RGB(255,0,0);
持股线:MA(风警值,10),LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(持股线,风警值) AND 持股线>80,90,2);
{DRAWTEXTABS(5,5,'股'),LINETHICK1,COLORYELLOW;}
{注:95;5和90;10都可以,数值设小些,安全些,};
STICKLINE(CROSS(风警值,10),5,15,2,0),COLORYELLOW;