首页 > 编程语言 >通达信短线量能评级 副图指标公式源码

通达信短线量能评级 副图指标公式源码

时间:2024-01-27 16:22:06浏览次数:30  
标签:EMA MA STICKLINE 公式 通达信 源码 LOW CLOSE REF



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)), <br="">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;="" <br="">进出量:买量+卖量,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(CLOSEREF(OPEN,1),REF(CLOSE,1),REF
(CLOSE,1),10,0),COLORGREEN,LINETHICK6;

 

标签:EMA,MA,STICKLINE,公式,通达信,源码,LOW,CLOSE,REF
From: https://www.cnblogs.com/zhibiao/p/17991600

相关文章

  • 企业培训革新:在线教育系统源码的全面解析
    如今,在线教育系统的兴起为企业提供了全新的解决方案,使得培训不再受到时间和地域的限制。一、在线教育系统的关键组成在线教育系统的源码包含众多关键组成部分,其中包括: 1.1用户管理模块用户管理模块负责管理学员和教员的信息,包括注册、登录、个人信息维护等功能。通过精细的用户管......
  • 通达信抓板资金监控指标公式源码副图
    PJJ:=Dma((((HIGH+LOW)+(CLOSE*2))/4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(vol/(((HIGH-LOW)*2)-Abs((CLOSE-OPEN))));XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)))+IF......
  • 通达信买卖启动选股指标公式源码
    RSVR:=(CLOSE-LLV(LOW,49))/(HHV(HIGH,49)-LLV(LOW,49))*100;日K:=SMA(RSvr,11,1);日D:=Sma(日K,7,1);日DIF:=EMA(CLOSE,28)-EMA(CLOSE,56);日DEA:=EMA(日DIF,9);日rsi:="RSI.RSI1#DAY"(9);周K:="kdj.K#WEEK"(9,3,3);周D:="kdJ.D#WEEK"(9,3,3);周......
  • 通达信狙击涨停指标公式源码副图
    HAN:=1;ma13:=MA(C,13);MA34:=MA(C,34);MA55:=MA(C,55);YY1:=OMA13;YY2:=OMA34;YY3:=OMA55;YY4:=C/O>=1.05;YY5:=V>HHV(H,10);YY6:=MA13>=REF(MA13,1);YY:=YY1ANDYY2ANDYY3ANDYY4ANDYY5ANDYY6;DRAWTEXT(YY,60,'★狙击涨停')*HAN,COLORYEL......
  • 通达信买入十个点副图指标公式源码
    A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);SHORT:=7;LONG:=19;RMA:=EMA(CLOSE,SHORT);NMA:=EMA(CLOSE,LONG);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,B......
  • 通达信游资专用抓牛主图指标公式源码
    N:=5;P1:=32;P2:=100;P3:=20;P4:=80;K:=0;K2:=30;K3:=90;AAK:=REF(H,N)=HHV(H,2*N+1);HAN:=DATE<1301230;QY:=BACKSET(AAK,N+1);CC:=FILTER(QY,N)ANDH=HHV(H,N+1);DDD:=BARSLAST(CC),NODRAW;GDTS:=IF(CC,CURRBARSCOUNT,0),NODRAW;DINGBUTS:=IF(DDD,REF(GDT......
  • 通达信KDJ三叉共振指标公式源码副图
    月K:"kdj.K#MONTH"(9,3,3),COLOR0080FF,DOTLINE;月D:"kdJ.D#MONTH"(9,3,3),COLOR0080FF,LINETHICK3;月J:="KDJ.J#MONTH"(9,3,3);周K:"KDJ.K#WEEK"(9,3,3),COLORRED,DOTLINE;周D:"KDJ.D#WEEK"(9,3,3),COLORRED,LINETHICK3;周......
  • 通达信风险提示指标公式源码副图
    ma20:=MA(CLOSE,20);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);MA240:=MA(CLOSE,240);P:=((2)*(CLOSE)+HIGH+LOW+OPEN)/(5);中短A:=HHV(P,20);中短B:=LLV(P,20);中短C:=中短A-中短B;中短D:=(EMA((P-中短B)/(中短C),2))*(100);中A:=HHV(P,60);中B:=LLV(P,60);......
  • 通达信王子主图和王子新量指标公式源码
    王子主图和王子新量王子主图的价托信号和拐点信号还是可以的,有一定的参考价值。配合副图使用效果更好。主图源码:MA5:MA(C,5);MA10:MA(C,10);MA20:MA(C,20);MA40:MA(C,40);MA60:MA(C,60);MA120:MA(C,120),STICK;STICKLINE(MA5>=MA60ANDMA60>=MA10,MA10,MA60,4,0),COL......
  • 一对一源码,前端页面权限和按钮权限控制
    一对一源码,前端页面权限和按钮权限控制页面权限是一对一源码后台系统中非常常见的需求,在前端实现页面权限和按钮权限是为了确保用户只能访问其有权访问的页面,并执行其有权执行的操作。本文介绍前端实现页面权限和按钮权限控制的流程和逻辑。1.获取用户当前权限并且存在全......