软件名称:[B]EXPMA25[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2016-10-31 03:26:31
软件简介:
EXPMA13日线是黄s的
还有EXPMA13、25日线和MA5天线
MA1:MA(CLOSE,P1);
EMA2:EMA(CLOSE,P2);
EMA3:EMA(CLOSE,P3);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
Zero:=0;
Zhangfu:=(C-REF(C,1))/REF(C,1)*100;//涨幅
DTPL:= MA1>EMA2 AND EMA2> EMA3;
KFD:=NOT(REF(MA1,1)>REF(EMA2,1) AND REF(EMA2,1)> REF(EMA3,1)) AND MA1>EMA2 AND EMA2> EMA3;
DRAWTEXT(KFD, EMA3*0.98,'①'),colorgray;
x=0;
t=12;
WHILE(t>0) // /*循环12次,就是选出最近二十天与大盘相似的*/
{ t=t-1;
IF( NOT(REF(MA1,t+1)>REF(EMA2,t+1) AND REF(EMA2,t+1)> REF(EMA3,t+1)) AND REF(MA1,t)>REF(EMA2,t) AND REF(EMA2,t)> REF(EMA3,t))
x=x+1 ;
}//前12个交易日出现了多翻空
a=3;
y=0;
WHILE(a>0) // /*循环12次,就是选出最近二十天与大盘相似的*/
{ a=a-1;
IF((REF(C,a)-REF(C,a+1))/REF(C,a+1)*100>3)
y=y+1 ;
}//前3个交易日出现涨幅>3%的
KFD10:=LLV(MA1,10)>LLV(EMA2,10);
Z3D:=Zhangfu>=3;//涨3点
STEP2:=Z3D AND x ;
DRAWTEXT(STEP2, EMA3*0.97,'②'),coloryellow;
a=10;
y=0;
WHILE(a>0) // /*循环12次,就是选出最近二十天与大盘相似的*/
{ a=a-1;
IF((REF(C,a)-REF(C,a+1))/REF(C,a+1)*100>3)
y=y+1 ;
}//前10个交易日出现涨幅>3%的
//重上5天线 & 前10个交易日出现涨幅>3%的 & MACD>0
STEP3:=REF(C,1)< REF(MA1,1) AND C>MA1 AND y AND EMA2>EMA3 AND MACD>0;
DRAWTEXT(STEP3, EMA3*0.95,'③'),colorlimagenta;
//减仓点1,振幅<-1.5,3天内MACD最小值<0,DIFF>0,跌破EMA25天线
STEP41:=Zhangfu<=-1.5 AND LLV(MACD,3)<0 AND DIFF>0 AND C<=EMA3;
DRAWTEXT(STEP41, EMA3*0.95,'④1'),colorgreen;
//减仓点2,跌破25天线,3天内MACD最小值<0,DIFF>0,
STEP42:=REF(C,1)>=EMA3 AND C<=EMA3 AND LLV(MACD,3)<0 AND DIFF>0;
DRAWTEXT(STEP42, EMA3*0.94,'④2'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-104314.html]EXPMA25[/url]