在线检测未来函数

通达信维度分析指标公式

来源:Internet,编辑:股旁网,2023-11-13

ZDF:=(C-REF(C,1))/REF(C,1)*100;
ZT:=ZDF>9.8;
SB1:=BARSLASTCOUNT(ZT)=1;
SB2:=BARSLASTCOUNT(ZT)=2;
今开%:(O-REF(C,1))/REF(C,1)*100,NODRAW ;
S0:=DYNAINFO(15)/O/100;
{------------强龙---------------}
BL:=EMA(CLOSE,125);
HL:=BL+2*STD(CLOSE,170);
ZL:=HHV(HIGH,20)*0.91;
QC:=EVERY(C<HL,4);
Q1:=C>HL AND ZDF>9.8 AND L<HL,NODRAW ;
Q2:=C>COST(90),NODRAW;
Q3:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100),NODRAW,COLORYELLOW;
Q4:=WINNER(CLOSE)*100,NODRAW,COLORMAGENTA,NODRAW;
Q5:=S0/REF(V,1)*100;
Q6:=100-Abs((EMA(O,5)-EMA(O,13)))*10,NODRAW;
Q7:=ATAN((EMA(O,5)/REF(EMA(O,5),1)-1)*100)*180/3.14115926,NODRAW;
强龙:Q1,NODRAW ;
强筹:Q2,NODRAW ;
强牛:Q7,NODRAW ;
量能:Q3,NODRAW ;
获利盘:Q4,NODRAW ;
满量:Q5,NODRAW ;
浮筹:Q6,NODRAW ;
潜能:100-ABS((EMA(CLOSE,6)-EMA(CLOSE,13)))*10,NODRAW;
DRAwrECTREL(860,750,920,800,IF(CONST(强筹)<1,RGB(255,255,0),0));
DRAWRECTREL(790,300,850,800,IF(CONST(量能)<99,RGB(255,86,255),0));
DRAWRECTREL(720,500,780,800,IF(CONST(获利盘)<95,RGB(86,255,86),0));
DRAWRECTREL(650,400,710,800,IF(CONST(满量)>5,RGB(255,255,255),0));
DRAWRECTREL(580,600,640,800,IF(CONST(潜能)<=90,RGB(0,255,255),0));
DRAWRECTREL(930,200,990,800,IF(CONST(强龙)>=1,RGB(250,0,0),0));
DRAWRECTREL(860,200,920,800,IF(CONST(强筹)=1,RGB(255,0,0),0));
DRAWRECTREL(790,200,850,800,IF(CONST(量能)>=99,RGB(255,0,0),0));
DRAWRECTREL(720,200,780,800,IF(CONST(获利盘)>=95,RGB(255,0,0),0));
DRAWRECTREL(650,200,710,800,IF(CONST(满量)<=4,RGB(255,0,0),0));
DRAWRECTREL(580,200,640,800,IF(CONST(潜能)>90,RGB(255,0,0),0));
DRAWRECTREL(510,200,570,800,IF(CONST(强牛)>70,RGB(255,0,0),0));
W1:=STRCAT(('强龙:'),CON2STR(Q1,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.94,0.9,0,W1),COLORRED;
W2:=STRCAT(('强筹:'),CON2STR(Q2,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.9,0,W2),COLORYELLOW;
W3:=STRCAT(('量能:'),CON2STR(Q3,1));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.79,0.9,0,W3),COLORLIMAGENTA;
W4:=STRCAT(('获利盘:'),CON2STR(Q4,1));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.72,0.9,0,W4),COLORGREEN;
W5:=STRCAT(('满量:'),CON2STR(Q5,2));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.65,0.9,0,W5),COLORWHITE;
W6:=STRCAT(('潜能:'),CON2STR(Q6,2));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.58,0.9,0,W6),COLORWHITE;
W7:=STRCAT(('强牛:'),CON2STR(Q7,2));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.51,0.9,0,W7),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.94,0.05,0,Q1),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.87,0.05,0,Q2),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.79,0.05,0,Q3),COLORLIMAGENTA;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.72,0.05,0,Q4),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.65,0.05,0,Q5),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.58,0.05,0,Q6),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.51,0.05,0,Q7),COLORWHITE;

通达信维度分析指标公式

相关文章