首页 > 编程语言 >通达信精准K线副图指标源码

通达信精准K线副图指标源码

时间:2024-01-28 12:35:11浏览次数:32  
标签:10 MA OD CD 通达信 源码 CS CLOSE 精准



DIR:=ABS(CLOSE-REF(CLOSE,10));
VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER:=DIR/VIR;
CS:=SMA(ER*(2/3-2/14)+2/14,3,1);
CQ:=CS*CS*CS;
裁决:=EMA(MA(CLOSE,10-CS*10),2);
AS:96;
AD:106;
CD:=C/裁决*100;
OD:=OPEN/裁决*100;
OH:=H/裁决*100;
OL:=L/裁决*100;
STICKLINE(CD>=OD,OD,CD,2,0),COLOR2222DD; 
STICKLINE(CD>=OD,OD,CD,1,0),COLOR3322FF; 
STICKLINE(CD>=OD,OL,OH,0,0),COLOR3322FF;
STICKLINE(CD<od,od,cd,2,0),colordd0088;  <br="">STICKLINE(CD<od,od,cd,1,0),colorff0099;  <br="">STICKLINE(CD<od,ol,oh,0,0),colorff0099; <br="">A1:=OL<as; <br="">A2:=C>O;
A3:=CROSS(CD,AS);
XG:=A1 AND A2 AND A3  ;
X:DRAWICON(XG,OL,13);
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M30:=MA(C,30);
M60:=MA(C,60);
MD:=MAX(M5,MAX(M10,MAX(M20,MAX(M30,M60))));
MN:=MIN(M5,MIN(M10,MIN(M20,MIN(M30,M60))));
MJ:=(MD-MN)/C<=0.02;
DIF:=EMA(CLOSE,12)*10-EMA(CLOSE,26)*10;
DEA:=EMA(DIF,9)*10;
XG2:=MJ AND CROSS(DEA,DIF);
DRAWICON(XG2,AS,18);
 

标签:10,MA,OD,CD,通达信,源码,CS,CLOSE,精准
From: https://www.cnblogs.com/zhibiao/p/17992722

相关文章

  • 通达信无铭冲关指标公式源码副图
    SAT:=(AMOUNT/CLOSE)/(HHV(AMOUNT,21)/HHV(CLOSE,21));饱和度:IF(SAT>1,1,SAT)*500000,COLORLIGRAY,LINETHICK2;volUME:VOL,VOLstICK;maVOL1:MA(VOLUME,1)*1.2,COLORRED;MAVOL13:MA(VOLUME,13)*1.2;MAVOL34:MA(VOLUME,34)*1.2,COLORLIBLUE;MAVOL180:MA(VOLUME,180)*1.2,......
  • 通达信突破筹码指标公式源码副图
    主筹估算:Ema(WINNER(C)*70,3),LINETHICK2,COLORRED;散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1,COLORGREEN;筹码锁定:散筹估算-主筹估算,COLORFFBB00;动态底部:EMA(IF(L<=LLV(L,99),SMA(Abs(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3),COLOR......
  • 通达信庄散资金流指标公式源码副图
    成交额:AMOUNT,LINETHICK0;stICKLINE(成交额,成交额,0,2.5,1),COLORGRAY;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);主买:Abs(QJ0*(JJ-MIN(CLOSE,OPEN))),COLORRED,LINETHICK0;主卖:(QJ0*(MIN(OPEN,CLOSE)-LOW)),COLORLIBLUE,LINETHICK0;散买:(QJ0*(HIGH......
  • 通达信坚胜短线高手指标公式源码副图
    新年:STICKLINE(C>0,0,120,6,0),COLORFFB06C; STICKLINE(CLOSE>0,0,-50,6,0),COLORFFB000; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9);MACD:=1000*(2*(DIFF-DEA))/EMA(C,30); VAR2Q:=REF(LOW,1); VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VA......
  • 通达信短线领先顶底指标公式源码副图
    指标介绍:红色是上涨途中,黄色是下跌途中。}VAR1:=SMA(maX(OPEN-REF(OPEN,1),0),6,1)/SMA(Abs(OPEN-REF(OPEN,1)),6,1)*100;VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR3:=SMA(MAX(HIGH-REF(HIGH,1),0),6,1)/SMA(ABS(HIGH-REF(HIGH,1)......
  • 通达信波段均线指标公式源码副图
    VAR1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR2:=SMA(VAR1,3,1);波:=Sma(VAR2,3,1);段:=SMA(波,3,1);VAR9:=crOSS(段,波)AND波>80;stICKLINE(FILTER(VAR9,5)=1,80,100,10,0),COLORGREEN;DRAWTEXT(FILTER(VAR9,5)=1,70,'逃顶'),COLORGREEN;AA:=......
  • 通达信聪明成交量副图指标公式源码
    变量0:=5;变量1:=10;变量2:=60;DRAWBAND(MA(VOL,变量0),RGB(188,88,98),MA(VOL,变量1),RGB(0,188,0));DRAWBAND(MA(VOL,变量0),RGB(160,0,0),MA(VOL,变量2),RGB(83,123,68));变量5:=IF(PERIOD=5,240,IF(PERIOD=4,60,IF(PERIOD=3,30,IF(PERIOD=2,15,IF(PERIOD=1,5,......
  • 通达信双金趋势副图指标公式源码
    DIFF:EMA(CLOSE,6)-EMA(CLOSE,13),LINESTICK,COLORYELLOW;IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;DEA:EMA(DIFF,5);MACD:=2*(DIFF-DEA);A:=MACD;G:=MA(MACD,2);J:=MA(MACD,3);J1:=MA(MACD,5);STICKLINE(CROSS(MA(A,1),G),0.05,0,4,1),COLORYE......
  • 通达信极品抄底优化指标公式源码副图
    X_1:=(2*CLOSE+HIGH+LOW)/4;X_2:=LLV(LOW,5);X_3:=HHV(HIGH,5);X_4:=Ema((X_1-X_2)/(X_3-X_2)*100,5);X_5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_6:=SMA(X_5,3,1);X_7:=SMA(X_6,3,1);X_8:=3*X_6-2*X_7;X_9:=X_8<(-10);X_10:=REF(X_9,1)=1ANDX_9=......
  • 通达信先锋夺宝副图指标公式源码副图
      CC1:"CCI.CCI"(25),COLORSTICK,COLOR40FF00;DRAWICON(CROSS(200,"CCI.CCI"),250,2);DRAWICON(CROSS("CCI.CCI",-200),-250,1);资金进入:"CCI.CCI">0,NODRAW,COLOR0000D5;STICKLINE("CCI.CCI">0,0,"CCI......