将短线盈亏指标出现“黑马抬头”及“追涨指标”时改为选股
2019/12/7 18:25:05
公式编写说明:
通达信指标短线盈亏,请老师改为选股公式。{简单说明}【说明:DRAWLINE(1=0,1,0=1,1,0),COLORWHITE;监视市场盈亏:DRAWLINE(1=0,1,0=1,1,0),COLORMAGENTA;盈利超7不进:DRAWLINE(1=0,1,0=1,1,0),COLORLIBLUE;亏损超10抄底:DRAWLINE(1=0,1,0=1,1,0),COLORLIBLUE;】:DRAWLINE(1=0,1,0=1,1,0),COLORWHITE;CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);CYC34:=0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34);金线1:=5,COLORYELLOW;紫线1:=-20,COLORBLUE;反弹线1:=-5,COLORWHITE;中线1:=0,COLORMAGENTA;★短线盈亏:(CLOSE-CYC13)/CYC13*100,COLORYELLOW,LINETHICK2;★中线盈亏★:(CLOSE-CYC34)/CYC34*100,COLORLIBLUE,LINETHICK2;★黑马抬头: IF(★短线盈亏>5,13,0),COLORRED,LINETHICK2;★追涨指示: IF(CROSS(★短线盈亏,金线1),10,0),COLORGREEN;★抄底指示: IF(CROSS(紫线1,★短线盈亏),-25,0),COLORGREEN;{短线反弹: IF(盈亏均线<-20,10,0),COLORGREEN;};{强弱}STICKLINE(REF(★短线盈亏,1)<★短线盈亏,0.1,-0.1,3,1),COLORRED;STICKLINE(REF(★短线盈亏,1)>★短线盈亏,0.1,-0.1,3,1),COLORGREEN;金线: 5,COLORYELLOW;紫线:-20,COLORBLUE;反弹线:-5,COLORWHITE;中线:0,COLORMAGENTA;请将黑马抬头及追涨指标改为选股公式。谢谢!
公式源码回答:
1
CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
金线1:=5;
短线盈亏:=(CLOSE-CYC13)/CYC13*100;
黑马抬头:短线盈亏>5;
2
CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
金线1:=5;
短线盈亏:=(CLOSE-CYC13)/CYC13*100;
追涨指示:CROSS(短线盈亏,金线1);
投 股票网 www.to u18.cn
股市公式下载推荐