多线实战主图公式 选股公式

[复制链接]
查看34 | 回复0 | 2022-7-24 05:59:02 | 显示全部楼层 |阅读模式

多线实战主图公式

一号线:EMA(CLOSE,144);
工作线:EMA(CLOSE,14),COLORRED;
二号线:EMA(CLOSE,25);
三号线:EMA(CLOSE,318);
生命线:EMA(CLOSE,453),COLORRED,LINETHICK2;
五号线:EMA(CLOSE,550);
六号线:EMA(CLOSE,610);
七号线:EMA(CLOSE,730);
八号线:EMA(CLOSE,888);
九号线:EMA(CLOSE,99),COLORGREEN;
 DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
 DEA:=EMA(DIFF,9);
 MACD:=0.90*(DIFF-DEA);
 TJ:=(DIFF>=DEA);
 TJ1:=(DIFF>=0);
 STICKLINE(TJ,H,L,0.0,0),COLORYELLOW;
 STICKLINE(TJ,O,C,3,0),COLORYELLOW;
 STICKLINE(TJ1 AND TJ,H,L,0.0,0),COLORF00FF0;
 STICKLINE(TJ1 AND TJ,O,C,3,1),COLORF00FF0;
 STICKLINE(DIFF<DEA,H,L,0.0,0),COLORF0F000;
 STICKLINE(DIFF<DEA,O,C,3,0),COLORF0F000;
 VAR1:=(CLOSE*2+HIGH+LOW)/4;
 SK:= EMA(VAR1,13)-EMA(VAR1,73);
 SD:= EMA(SK,2);
 DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14)
 OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORGREEN;
 STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
 OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;
 STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
 OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,4,0),LINETHICK1,COLORRED;
 A:=SUMBARS(V,CAPITAL*1);
 A1:=SUM(COST(10),A)/A;
 A2:=SUM(COST(20),A)/A;
 A3:=SUM(COST(30),A)/A;
 A4:=SUM(COST(40),A)/A;
 A5:=SUM(COST(50),A)/A;
 E:=LLV(L,250)=L;
 E1:=BARSLAST(E);
庄家成本:(5*A1+4*A2+3*A3+2*A4+A5)/15,COLOR404080,LINETHICK2;
 

 

 

选股公式

 

DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
 DEA:=EMA(DIFF,9);
 MACD:=0.90*(DIFF-DEA);
 TJ:=(DIFF>=DEA);
 TJ1:=(DIFF>=0);
 CROSS(DIFF,DEA)AND DIFF<=0;

71344289.jpg

71344289.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则