马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 傲逸晨曦 于 2015-10-30 17:49 编辑
A:=EMA((CLOSE-REF(C,1))/REF(C,1)*100-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5); HSNP1:=CLOSE-REF(CLOSE,1);
HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
HSNP3:=REF(CLOSE,1)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,21);
HSNP8:=EMA(HSNP7,5);
HSNP:=EMA(HSNP7,3);
NP:=(HSNP7-HSNP);
NL:=(HSNP-HSNP7);
JJ :=(C*2+H+L)/4;
SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
长线1:=IF(SD>=SP,SD,SP)*20;
长线2:=IF(SP-SD,SP,SD)*20;
A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
短多:=IF(A1>=B1,A1,B1)*20;
短空:=IF(B1-A1,B1,A1)*20;
XG:=短多>短空 AND 短空>长线1 AND 长线1>长线2 AND 长线2>0 AND 短多>REF(短多,1) AND 短空>REF(短空,1)
AND 长线1>REF(长线1,1) AND 长线2>REF(长线2,1);
行情1:=EMA(EMA(C,3)-EMA(C,6),2)*60;
行情2:=EMA(EMA(C,6)-EMA(C,12),2)*60;
行情3:=EMA(EMA(C,12)-EMA(C,24),2)*60; MAV5:=MA(V,5);
MAV15:=MA(V,15);
MAV30:=MA(V,30);
MAV60:=MA(V,60);
量多头:=MA(V,5)>MA(V,15) AND MA(V,15)>MA(V,30)AND MA(V,5)>REF(MA(V,5),1) AND MA(V,15)>REF(MA(V,15),1)AND MA(V,30)>REF(MA(V,30),1) AND V>MAV5 AND V>MAV15 AND V>MAV30 AND V>MAV60; XG1:=行情1>0 AND 行情2>0 AND 行情3>0 AND XG AND 量多头 ; M:=EVERY(XG1,2); 水平面:=EMA(CLOSE,151),COLORFFA2FF;
BBI:=(EMA(CLOSE,3)+EMA(CLOSE,7)+EMA(CLOSE,17)+EMA(CLOSE,37))/4;
J30:=EMA(CLOSE,30),COLORYELLOW; J151:=EMA(CLOSE,151),COLORRED,LINETHICK1;
J453:=EMA(CLOSE,453),COLORBLUE,LINETHICK1;
N:=BBI>REF(BBI,1) AND J30>REF(J30,1) AND J151>REF(J151,1) AND J453>REF(J453,1) AND C>BBI AND BBI>J30 AND J30>J151 AND J151>J453; ZH:M AND N;
|