首页 > 编程语言 >通达信斜面推高指标公式源码副图

通达信斜面推高指标公式源码副图

时间:2024-01-28 12:46:30浏览次数:24  
标签:COUNT 推高 MA DRAWNULL 通达信 源码 MA20 MZH LINETHICK4

N:=10;P:=4;S:=1;
{N(10),P(4),S(1);}
ma5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
DTPL:=MA10>MA20 AND MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
DTSJ:=BArslAst(crOSS(DTPL,0.1));
XME:=DTSJ*DTPL>0;
MZH:=(MA(C,20)+MA(C,30))/2;
斜面:IF(XME=1,MZH,DRAWNULL),COLOR00FFFF,LINETHICK4,CROSSDOT;
{IF(XME=1,MZH*0.985,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;}
ZF:=(C/REF(C,1)-1)*100;
WBTG:=COUNT(C>MA10 AND MA10>REF(MA10,1),3)=3;
LXXZ:=COUNT(Abs(ZF)<p,n)>=N-2;
TGE:=(LXXZ AND WBTG AND 斜面 AND COUNT(ZF>5,3)=0)*1;
推高:IF(TGE=1,MZH*1.024,DRAWNULL),COLORFFBB88,LINETHICK4,CIRCLEDOT;
BCXM:=COUNT(斜面,5)=5;
SL:=V<ref(v,1);
SLE:=((COUNT(SL,5)>=3 OR COUNT(SL,6)>=4) AND SL AND V<ma(v,5))*1;
缩量:IF(SLE=1,MZH*0.984,DRAWNULL),COLORF09000,LINETHICK4,CROSSDOT;
YXE:=推高 AND BCXM AND 缩量;
优选:(YXE>0,L*0.98,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;
{以下设置主图显示方式}
缩量斜面:IF(XME&&SLE,MZH,DRAWNULL),COLOR00FF00,LINETHICK4,CROSSDOT;
M5:IF(S=1,MA5,DRAWNULL),COLORFFFFFF;
M10:IF(S=1,MA10,DRAWNULL),COLORYELLOW;
M20:IF(S=1,MA20,DRAWNULL),COLORMAGENTA;
M30:IF(S=1,MA30,DRAWNULL),COLORGREEN;

 

标签:COUNT,推高,MA,DRAWNULL,通达信,源码,MA20,MZH,LINETHICK4
From: https://www.cnblogs.com/zhibiao/p/17992730

相关文章

  • 通达信五星上将指标公式源码副图
    C5:=Ema(C,5);C10:=EMA(C,10);C30:=EMA(C,30);D1:=2*(C5-C10);D2:=2*(C5-C30);D3:=200*(D1+D2);LL:=V/1000;将军:D3;A1:=MA(LL,5);A2:=MA(LL,10);A3:=MA(LL,120);A4:=MA(LL,250);DRAWTEXT(D3>0,20,'★'),COLORRED;DRAWTEXT(A1>A3,40,'★......
  • 通达信出现必涨副图指标公式源码
    VAR1:=MA(HHV(HIGH,485),17);VAR2:=MA(HHV(HIGH,222),17);VAR3:=MA(HHV(HIGH,96),17);VAR4:=MA(LLV(LOW,485),17);VAR5:=MA(LLV(LOW,222),17);VAR6:=MA(LLV(LOW,96),17);VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17);VAR8:=MA((V......
  • 通达信高抛低吸副图有买卖信号源码
    波:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100; 浪:=SMA(波,9,1); 幅:=SMA(浪,3,1); 趋:EMA(浪,3),COLORRED,LINETHICK2; 向:3*浪-2*幅,COLORGREEN,LINETHICK2; 潘:=SMA(IF(CLOSE>REF(CLOSE,1),CLOSE-REF(CLOSE,1),0),N,1); 亮:=SMA(IF(CLOSE<=......
  • 通达信精准K线副图指标源码
    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>=......
  • 通达信无铭冲关指标公式源码副图
    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:=......