首页 > 编程语言 >通达信经典分价图主图指标公式源码

通达信经典分价图主图指标公式源码

时间:2024-03-08 20:55:44浏览次数:26  
标签:13 AAA STICKLINE 分价 通达信 源码 AA2 REF X22

{ 通达信经典分价图主图指标公式源码 }

N:=120;
M:=3;
最高A:=REF(HHV(H,N),M);
最低A:=REF(LLV(L,N),M);
H1:=最高A-(最高A-最低A)*0.191;
H中:=最高A-(最高A-最低A)*0.5;
H5:=最高A-(最高A-最低A)*0.809;
安全:(H1),COLORFF8900;
中枢:(H中),COLORF00FF0;
警惕:(H5),COLORYELLOW;
X11:=(C+L+H)/3;
X22:=Ema(X11,6);
X33:=EMA(X22,5);
stICKLINE(X22>=X33,X22,X33,4,1),COLOR00A6F6;
STICKLINE(X22<x33,x22,x33,4,1), colorblue;<br=""> AA1:=(2*C+REF(C ,1 ))/3;
BB1:=EMA(AA1,2);
A:=MA(BB1,3);
AAA:=(H+C+O)/3;
AA2:=(18*AAA+17*REF(AAA ,1)+16*REF(AAA ,2)+15*REF(AAA ,3)+14*REF
(AAA ,4)
+13*REF(AAA ,5)+12*REF(AAA ,6)+11*REF(AAA ,7)+10*REF(AAA ,8)
+9*REF(AAA ,9)
+8*REF(AAA ,10)+7*REF(AAA ,11)+6*REF(AAA ,12)+5*REF(AAA ,13)
+4*REF(AAA ,14)
+3*REF(AAA ,15)+2*REF(AAA ,16)+REF(AAA ,17))/171;
DD3:=A>=AA2 AND C>AA2;
DD4:=A DD5:=A>AA2 ;
{STICKLINE((DD4 OR DD5) AND O<=C ,H,L,0.5,0),COLOR00CC99;}
STICKLINE((DD4 OR DD5) AND O<=C ,C,O,2.8,0),COLOR00CC99;
{STICKLINE((DD4 OR DD5) AND O>=C ,H,L,0.5,0),COLOR3F8C3A;}
STICKLINE((DD4 OR DD5) AND O>=C ,C,O,2.8,0),COLOR3F8C3A;
STICKLINE((DD3 OR C>AA2) AND O<=C,C,O,2.8,0),COLORRED;
{STICKLINE((DD3 OR C>AA2) AND O<=C,H,L,0.5,0),COLORRED;}
STICKLINE((DD3 OR C>AA2) AND O>=C,C,O,2.8,0),COLORFF33FF;
{STICKLINE((DD3 OR C>AA2) AND O>=C,H,L,0.5,0),COLORFF33FF;}
STICKLINE(MA(C,13)>O AND C>MA(C,13) AND O<c,o,c,2.8,0),coloryellow;
{STICKLINE(MA(C,13)>O AND C>MA(C,13),H,L,0.8,1),COLORYELLOW;}
STICKLINE(C>0,C,O,0,0),COLORFFFFFF;
X1:=HHV(H,3);
X2:=LLV(L,3);
XC:=C;
XH:=H;
XL:=L;
YCJY1:=IF(XH>REF(X1,1) AND XC>REF(XC,1),X2,IF(XL<ref(x2,1) and<br=""> XC<ref(xc,1), x1,o));<br=""> YCJY:=IF(YCJY1=O,REF(YCJY1,1),YCJY1);
SNX2:=IF(YCJYL,REF(YCJY,1),YCJY);
Y1:=HHV(H,13);
Y2:=IF(Y1>REF(Y1,30),Y1,REF(Y1,8));
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J1:=-(3*K-2*D)+100;
J2:=IF(J1<0 ,0 ,J1);
J:=IF(J2>100,100,J2),COLORBLUE;
超短:=SMA(AMOUNT,3,1)/100000000;
中线:=SMA(AMOUNT,13,1)/100000000;
压力1:=IF(J中线 AND C<y2,snx2,y2);
压力:IF(C>0,压力1,0),LINETHICK2,COLORRED;
支撑:IF(C>0,SNX2,0) ,LINETHICK2,COLOR00FF00;

 

标签:13,AAA,STICKLINE,分价,通达信,源码,AA2,REF,X22
From: https://www.cnblogs.com/zhibiao/p/18061840

相关文章

  • 通达信巡阳雷达选股指标公式源码
    {通达信巡阳雷达选股指标公式源码}VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1)ANDCLOSE<......
  • 通达信三元主图指标公式源码
    {通达信三元主图指标公式源码}DRAWGBK(O>C,RGB(0,30,0),RGB(0,0,60),0,'01',0);DRAWKLINE(H,O,L,C);MV10:=ma(V,10);AVG_V:=(V-MV10)/MV10*100;量差:=AVG_V-REF(AVG_V,1);假阴:=C>REF(C,1)ANDC<o;高开:=(O-REF(C,1))/REF(C,1)*100;倍量:=V>REF(V,1)*1.69ANDV......
  • 通达信指路灯选股指标公式源码副图
    {通达信指路灯选股指标公式源码副图}XA_1:=ma(INDEXC,34);XA_2:=(55*XA_1+34*REF(XA_1,1)+21*REF(XA_1,2)+13*REF(XA_1,3)+8*REF(XA_1,4)+5*REF(XA_1,5)+3*REF(XA_1,6)+2*REF(XA_1,7)+REF(XA_1,8)+REF(XA_1,9))/143;XA_3:=REF(XA_2,1);XA_4:=0.5*(XA_2+XA_3);XA_5:=MA(CLO......
  • 通达信凤凰底部指标公式源码副图
    {通达信凤凰底部指标公式源码副图}LC:=REF(CLOSE,1);rsi1:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;CP1:=crOSS(RSI1,25);CP2:=(C-REF(C,1))/REF(C,1)*100<5;X2:=CP1ANDCP2;stICKLINE(X2>0,0,X2,4,0),COLOR9B37FF;STICKLINE(X2>0,0,X2,4,0),COLOR6300C6......
  • 通达信抄底三合一指标公式源码副图
    {通达信抄底三合一指标公式源码副图}VAR111:=(C-Dma(C,V/MA(V,4)/4))/DMA(C,V/MA(V,4)/4)*100<-8AND(DMA(C,V/MA(V,4)/4)-DMA(C,V/MA(V,32)/32))/DMA(C,V/MA(V,32)/32)*100<-21AND(O-REF(C,1))/REF(C,1)>-0.05ANDCOUNT(C=O,3)=0;VAR112:=SMA(SMA((INDEXC-LLV(INDEXL,27......
  • 通达信超牛全仓出击指标公式源码副图
    {通达信超牛全仓出击指标公式源码副图}BB:=ma(C,1);持币阶段:=SMA(SMA(SMA(BB,2,1),2,1),2,1);主升持股波段:=HHV(MA(持币阶段,1),13);双线合一关注:=主升持股波段;涨幅:=(C-REF(C,1))/REF(C,1)*100;VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);VAR1E:=EMA(VAR1D,30);VAR1F:=2*......
  • 通达信八仙互动共振指标公式源码副图
    {通达信八仙互动共振指标公式源码副图}X_1:=Ema(CLOSE,12/4)-EMA(CLOSE,26/4);X_2:=EMA(X_1,9/4);stICKLINE(X_1>=X_2,42,46,5,0),COLORWHITE;STICKLINE(X_1<x_2,42,46,5,1),color696969;X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);X_4:=EMA(X_3,40);STICKLINE(X_3>=X_4,36,40,5,......
  • 通达信【主力资金突破】主图图选股公式 监控分析资金的动向 资金趋势选股实战秘技 源
    {股票指标} 主力资金突破全套指标主要通过监控分析资金的动向,通过分析主力资金的流入流出方向跟随主力吃肉的指标。主力资金是指在股票市场中能够影响股市、甚至控制股市中短期走势的资金。股市中个股有资金推动才上涨,主力资金对个股和板块影响都十分重大,主力资金的流入流......
  • 通达信凤凰K线主图指标公式源码副图
    {通达信凤凰K线主图指标公式源码副图}ma5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);AA1:=(C-REF(C,1))/REF(C,1)>=0.058AND(C-REF(C,1))/REF(C,1)<0.095;AA2:=(C-REF(C,1))/REF(C,1)>=0.098;stICKLINE(AA1,O,C,0,1),COLOR9B37FF;STIC......
  • 通达信浴火出局指标公式源码副图
    {通达信浴火出局指标公式源码副图}LC:=REF(CLOSE,1);rsi1:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CL......