通达信303魔FG+选股指标公式
2020/5/29 18:23:38
N:=9;
M1:=3;
M2:=19;
DRAWGBK(C>0, RGB(10,0,0),RGB(30,0,0),1,'2',1);
R:100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N);
RQ:MA(R,M1);
RQ1:MA(R,M2),COLORRED;
STICKLINE((R>RQ),RQ,R,2,0),COLORLIMAGENTA;
STICKLINE((R>RQ1),RQ1,R,2,0),COLOR0099FF;
STICKLINE((R<RQ),RQ,R,1,0),COLOR00FF00;
STICKLINE((R<RQ1),RQ1,R,1,0),COLOR00FF00;
A1:=(CROSS(R,RQ));
B1:=(CROSS(RQ,R));
A:=(CROSS(R,RQ)) AND (CROSS(R,RQ1));
B:=(CROSS(RQ,R)) AND (CROSS(RQ1,R));
DRAWTEXT(A1,RQ,'★买'),COLOR0000FF;
DRAWTEXT(A,RQ1,'加仓')COLORYELLOW;
DRAWTEXT(B1,RQ,'↓逃'),COLORLIMAGENTA;
DRAWTEXT(B,RQ1,'清仓'),COLOR00FF00;
0,DOTLINE,COLORGRAY;
DRAWTEXT_FIX(1,0.75,0.04,0,'所属行业:')COLORFF00FF;
DRAWTEXT_FIX(1,0.82,0.04,0,HYBLOCK)COLORFF00FF;
DRAWTEXT_FIX(1,0.88,0.04,0,'代码:')COLORWHITE;
DRAWTEXT_FIX(1,0.92,0.04,0,CODE)COLORWHITE;
{
选股公式:
N:=9;
M1:=3;
M2:=19;
R:=100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N);
RQ:=MA(R,M1);
RQ1:=MA(R,M2),COLORRED;
A1:=(CROSS(R,RQ));
B1:=(CROSS(RQ,R));
X:=CONST(DATE);
Y:=IF(DATE<X, 240, FROMOPEN);
地量:=VOL/Y*240/REF(VOL,1);
魔FG选股:(CROSS(R,RQ)) AND (CROSS(R,RQ1)) AND DYNAINFO(4)>0 AND REF(地量,1) AND VOL>REF(VOL,1)*1.6;
}
看股 吧公式 www.kangu ba.com
其它股票公式列表