通达信风险控制源码副图

{1.风险控制}
STICKLINE(C>0,90,95,10,0),COLOR408000;
 STICKLINE(C>0,10,5,10,0),COLOR408000;
 HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
 DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
 STICKLINE(C>0,90,10,10,0),COLOR000000;
风险值:HDY,COLORCYAN,LINETHICK1;
警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;