%>
TRV:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 and HD>LD,HD,0),12);
DMM:=EMA(IF(LD>0 and LD>HD,LD,0),12);
PDI:= DMP*100/TRV;
MDI:= DMM*100/TRV;
ADX:= EMA(ABS(MDI-PDI)/(MDI+PDI)*100,2);
ADXR:=EMA(ADX,2);
adxsc:=cross(adxr,adx) and pdi>ref(pdi,1);
{股票教程网-股票公式网站 www.gwgz.net}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
jj:=cross(j,k);
vv:=count(v<ref(v,1),5)>=2 and ref(v,1)=llv(v,3) and v>ref(v,1);
ma3:=ma(c,3);ma5:=ma(c,5);
pl:=abs(ma3-ma5)/ma3*100<3;
c>ma3 and adxsc and jj and pl
{股票教程网-http://gpzyws.com承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}