P:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),3);
风警值: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,'★股票指标网'),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;