%>
A1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
ZYD: SMA(A1,6,1),ColorRED;
ZZD: SMA(ZYD,2,1),colorwhite;
ZBD: SMA(ZYD,4,1),colorBLUE;
ZAD: SMA(A1,20,1),color444444;
ZD: SMA(A1,1,1),colorBlack;
ZD1:SUM(ZD,2)/2,colorBlack;
ZD2:SUM(ZD,6)/6,COLOR444444;
DRAWTEXT(CROSS(ZYD,ZZD)AND REF(ZBD,10)*1>ZYD AND REF(ZAD,10)>ZAD AND ZYD<40 ,ZYD ,'←加'),COLOR888888,linethick1;
DRAWTEXT(CROSS(ZZD,ZYD)AND REF(ZBD,10)*1<ZYD AND REF(ZAD,10)<ZAD AND ZYD>60 ,ZYD ,'←减'),COLOR888888,linethick1;
DRAWTEXT(CROSS(ZD1,ZD2) AND ZYD<40 ,ZD1,'←▲'),COLOR666666,linethick1;
DRAWTEXT(CROSS(ZD2,ZD1) AND ZYD>60 ,ZD1 ,'←△'),COLOR666666,linethick1;
DRAWTEXTABS(10,30,' '+MONTH+'月'+DAY+'日'+'.星期'+WEEKDAY),LINETHICK2,COLOR00b5ff;
危险: 80, COLOR666666;
安全: 20, COLOR666666;
{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}