首页 > 编程语言 >通达信蓄势盘龙主图指标公式有使用方法源码

通达信蓄势盘龙主图指标公式有使用方法源码

时间:2024-03-09 09:22:19浏览次数:32  
标签:10 EMA STICKLINE 主图 通达信 源码 CLOSE OPEN CURRBARSCOUNT

{ 通达信蓄势盘龙主图指标公式有使用方法源码 }



指标使用方法:
本指标是主图指标,
黄线是天,股价到达这个位置容易受阻,
下跌到绿色低线是抄底,
在支撑线有支撑也是买点


DRAWGBK(CLOSE>0,RGB(20,0,28),RGB(20,0,28),0,0,1);
X_1:=120;
X_2:=BARSLAST(CURRBARSCOUNT=X_1);
X_3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,X_2),0));
X_4:=CONST(IF(ISLASTBAR=1,LLV(LOW,X_2),0));
X_5:=X_3-X_4;
高:IF(CURRBARSCOUNT<=X_1,X_3,DRAWNULL),POINTDOT,COLORYELLOW;
压:IF(CURRBARSCOUNT<=X_1,X_3-X_5*0.191,DRAWNULL),NODRAW,COLORMAGENTA;
平衡:IF(CURRBARSCOUNT<=X_1,X_4+X_5/2,DRAWNULL),NODRAW,COLORYELLOW;
支撑:IF(CURRBARSCOUNT<=X_1,X_4+X_5*0.191,DRAWNULL),NODRAW,COLORGREEN;
低:IF(CURRBARSCOUNT<=X_1,X_4,DRAWNULL),POINTDOT,COLORGREEN;
天:BARSLAST(LOW=X_4),NODRAW,COLORYELLOW;
STICKLINE(CURRBARSCOUNT<=X_1,平衡,平衡,3,(-1)),COLORWHITE;
STICKLINE(CURRBARSCOUNT<=X_1,压,压,3,(-1)),COLORRED;
STICKLINE(CURRBARSCOUNT<=X_1,支撑,支撑,3,(-1)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,压,1),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,平衡,2),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,支撑,3),COLORYELLOW;
X_6:=EMA(CLOSE,21);
X_7:=X_6<ref(x_6,1);< span="">
X_8:=IF(X_7-1,X_6,DRAWNULL);
X_9:=EMA(CLOSE,3)>EMA(CLOSE,21);
X_10:=EMA(CLOSE,3)<ema(close,21);< span="">
X_11:=EMA(CLOSE,3)>EMA(CLOSE,8);
X_12:=EMA(CLOSE,3)<ema(close,8);< span="">
STICKLINE(X_9,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(X_9,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(X_9,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(X_9,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(X_9,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(X_9,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(X_9,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(X_9,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(X_9,CLOSE,OPEN,0.2,0),COLORYELLOW;
STICKLINE(X_10,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(X_10,CLOSE,OPEN,3.2,0),COLOR006600;
STICKLINE(X_10,CLOSE,OPEN,2.6,0),COLOR008800;
STICKLINE(X_10,CLOSE,OPEN,1.9,0),COLOR00AA00;
STICKLINE(X_10,CLOSE,OPEN,1.1,0),COLOR00CC00;
STICKLINE(X_10,CLOSE,OPEN,0.3,0),COLORGREEN;
STICKLINE(X_10 AND X_11,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,3.2,0),COLOR880088;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,2.6,0),COLORAA00AA;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,1.9,0),COLORCC00CC;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,1.1,0),COLOREE00EE;
STICKLINE(X_10 AND X_11,CLOSE,OPEN,0.3,0),COLORFF44FF;
STICKLINE(X_9 AND X_12,HIGH,LOW,0,1),COLORFF8800;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,3.2,0),COLORFF2200;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,2.6,0),COLORFF4400;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,1.9,0),COLORFF6600;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,1.1,0),COLORFF8800;
STICKLINE(X_9 AND X_12,CLOSE,OPEN,0.3,0),COLORFFAA00;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_3-X_5/12,4),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_3-X_5/3,5),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_4+X_5/3,6),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=X_1/2+9,X_4+X_5/10,7),COLORCYAN;
X_13:=EMA(CLOSE,13)-EMA(CLOSE,55);
X_14:=EMA(0.618*REF(X_13,1)+0.382*X_13,3);
X_15:=REF(CLOSE,1);
X_16:=EMA(HHV(HIGH,1),8);
X_17:=EMA(CLOSE,8);
X_18:=X_17<ref(x_17,1) and="" close<x_17;<="" span="">
X_19:=IF(X_16<ref(x_16,1) or="" x_18,1,0);<="" span="">
X_20:=SMA(MAX(CLOSE-X_15,0),2,1)/SMA(ABS(CLOSE-X_15),2,1)*100;
X_21:=45;
X_22:=20;
X_23:=X_20<x_21 and="" ref(x_20,1)="">X_21;
X_24:=X_20<x_22 and="" ref(x_20,1)="">X_22;
X_25:=(COUNT(X_19=1,4)=3 AND X_19=0 AND OPEN0.065)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND (REF(X_24,1) OR REF(X_23,1)));
DRAWICON(X_25,LOW,7);
STICKLINE(X_25,LOW,LOW+(HIGH-LOW)/2,2.7,0),COLORYELLOW;
STICKLINE(X_25,LOW+(HIGH-LOW)/2,HIGH,2.7,0),COLORRED;

标签:10,EMA,STICKLINE,主图,通达信,源码,CLOSE,OPEN,CURRBARSCOUNT
From: https://www.cnblogs.com/zhibiao/p/18062269

相关文章

  • 通达信超跌加仓补仓信号源码
    {通达信超跌加仓补仓信号源码}超跌加仓股价出现超跌的情况下发出的接仓或者补仓信号RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:SMA(RSV,3,1),COLORFFFFFF;D:SMA(K,3,1),COLOR00FFFF;J:3*K-2*D,COLORFF00FF;超跌:IF(J<0,10,0),COLORFFFF00;BDDD:=LLV(J,2)=LLV(J,8)......
  • 通达信组合短线指标源码
    {通达信组合短线指标源码}Q1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;Q3:=SMA(Q2,9,1);Q4:=SMA(Q3,3,1);AA:3*Q3-2*Q4,,COLOR7FFF00;Q5:=AA>1*REF(AA,1);Q6:=LLVBARS(LOW,50);Q7:=SUM(VOL,Q6);......
  • 通达信超级分时资金指标公式源码
    {通达信超级分时资金指标公式源码}X_1:=IF(AMOUNT>=FINANCE(40)*0.05/100ANDDCLOSE>=DOPEN,AMOUNT/10000,0);X_2:=IF(AMOUNT>=FINANCE(40)*0.05/100ANDDCLOSE<=DOPEN,AMOUNT/10000,0);X_3:=IF(AMOUNT>=FINANCE(40)*0.025/100ANDAMOUNT<finance(40)*0.05100=&q......
  • 通达信涨停狙击主图指标公式源码
    {通达信涨停狙击主图指标公式源码}MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);N:=10;M:=9;VAB0:=531;VAB1:=1510000;VAB2:=VAB0+VAB1;A:=SMA(L,4,3);VAB3:=IF(DATE>VAB2,1,1);T:=DATE>901224ANDDATE<1130630;涨停:=IF(REF(C,1)......
  • 通达信简单EXPMA主图指标公式源码副图
    {通达信简单EXPMA主图指标公式源码副图}涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);stICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;K1:EMA(C,8),COLORBLUE;K2:EMA(C,13),COLORBLUE;中线:(......
  • 通达信牛股潜伏选股指标公式源码副图
    {通达信牛股潜伏选股指标公式源码副图}X_1:=CLOSE>REF(CLOSE,1)*1.097;X_2:=COUNT(X_1,12);X_3:=REF(X_2,1)>=1;X_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;X_5:=(20*X_4+19*REF(X_4,1)+18*REF(X_4,2)+17*REF(X_4,3)+16*REF(X_4,4)+15*REF(X_4,5)+14*REF(X_4,6)+13*REF(X_4,7)+12*RE......
  • 通达信抵扣均线主图指标公式源码副图
    {通达信抵扣均线主图指标公式源码副图}MA5:MA(C,5);MA10:MA(C,10);MA20:MA(C,20);MA60:MA(C,60);MA120:MA(C,120);MA250:MA(C,250);DRAWICON(CURRBARSCOUNT=5+1,L/1.015,13);DRAWICON(CURRBARSCOUNT=10+1,L/1.015,26);DRAWICON(CURRBARSCOUNT=20+1,L/1.015,25);DRAWI......
  • 通达信三源主图指标公式源码
    {通达信三源主图指标公式源码}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......
  • 通达信短线起航副图源码
    {通达信短线起航副图源码}OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);BIAS:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;BIASMA:=MA(BIAS,6);F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<ref(o,1)and=""f<0,1,0);=""<br="">P......
  • 成品直播源码,大屏元素分辨率适配的常用方案
    越来越多的客户喜欢在成品直播源码中添加一个或者多个可视化大屏,用来集中的展现数据变化、位置变化等等。作为程序员在完成该需求时,经常会有这样的问题:我有一个大屏的模板,但是用户的浏览器分辨率不够,或者有的有书签栏有的没有书签栏,更或者是有的全屏了有的只是小窗口,这样就有了代......