通达信短线量能评级指标公式

V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
获利比:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20);
volUME:=MA(VOL,1),COLOR005000;
MA5:MA(VOL,5),COLOR400080;
MA10:MA(VOL,10),COLOR808080;
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买量:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),
VOL/2)),COLORRED, LINETHICK0;
卖量:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN,LINETHICK0;
进出量:买量+卖量,COLOR400080;
VAR7B:=IF(TROUGHBARS(3,6,1)=0 AND HIGH>LOW+0.04,4,0);
STICKLINE(REF(VAR7B>0,1),VOL,0,2.1,0),COLORYELLOW,LINETHICK1;
买:REF(VAR7B>0,1),COLORYELLOW,LINETHICK1;
VAR33:=PEAKBARS(3,6,1)<10;
VAR55:=IF(VAR33=1,2,0);
顶:= IF(VAR55=2,2,0);
卖:顶>REF(顶,1),COLORGREEN;
STICKLINE(顶>REF(顶,1),VOL,0,2.1,0),COLORGREEN;
STICKLINE(进出量<0,0,进出量,3.0,0),COLORFF6600;
STICKLINE(进出量<0,0,进出量,2.0,0),COLORFF9900;
STICKLINE(进出量<0,0,进出量,0.0,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.0,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.0,0),COLORCYAN;
STICKLINE(进出量>0,0,进出量,3.0,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,2.0,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,0.0,0),COLOR0000FF;
STICKLINE(进出量>0,0,进出量,0.0,0),COLORCC66FF;
HY1:=REF(EMA(V1,3),1);
DRAWTEXT(crOSS(CLOSE,HY1),LOW,'买进'),COLORYELLOW;
SHORT:=12;
LONG:=26;
M:=9;
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
macd:=2*(DIFF-DEA);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWTEXT(低位金叉,L*0.92,'低位金叉'),COLOR8000FF;
A1:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(A1=2,21)=1;
DRAWTEXT(二次金叉,L*0.90,'二次金叉');
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
Y:=EMA(CLOSE,10);
DRAWTEXT(CROSS(Y,X),(LOW * 0.95),'安全C级');
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
VAR6:=((AK + VAR5) / 2);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB) AND (BB < 30));
CD:=(BB1 * 0.6);
DRAWTEXT((CD = 0.6),(LOW * 0.95),'安全A级');
DRAWTEXT((AB = 1),(LOW * 0.97),'安全 B 级'),COLOR33CC99;
多空:MA(CLOSE,30){,CIRCLEDOT},COLOR808080,LINETHICK1;
玌价:=MA(CLOSE,1);
加仓:=MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>MA(C,10) AND V>MA(V,5) AND CROSS(C,MA(C,5));
DRAWTEXT(加仓=1,L*0.98,'加仓'),COLORRED;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
EMA8,'∠45上升'),COLORWHITE;
画线 : STICKLINE(CLOSE<OPEN AND REF(CLOSE,1)>REF(OPEN,1),REF(CLOSE,1),REF
(CLOSE,1),10,0),COLORGREEN,LINETHICK6;




未来函数检测结果如下:
该公式包含未来函数:PEAK
该公式包含未来函数:PEAKBARS
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图