首页 > 编程语言 >通达信大力水手主图指标公式源码

通达信大力水手主图指标公式源码

时间:2024-03-10 10:56:34浏览次数:32  
标签:20 STICKLINE 强度 主图 通达信 源码 MA 趋势

{ 通达信大力水手主图指标公式源码 }

上趋势:MA(LOW,20)*1.2,COLORMAGENTA;
次上趋势:MA(LOW,20)*1.1,COLORYELLOW;
次下趋势:MA(HIGH,20)*0.9,COLORWHITE;
下趋势:MA(HIGH,20)*0.8,COLORGREEN;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1)));
STICKLINE(趋势强度=0,H,L,3,1),COLORBLUE;
STICKLINE(趋势强度=1,H,L,3,1),COLORGREEN;
STICKLINE(趋势强度=2,H,L,3,1),COLORGRAY;
STICKLINE(趋势强度=3,H,L,3,1),COLORYELLOW;
STICKLINE(趋势强度=4,H,L,3,1),COLORMAGENTA;
STICKLINE(趋势强度=0,C,O,2,0),COLORBLUE;
STICKLINE(趋势强度=1,C,O,2,0),COLORGREEN;
STICKLINE(趋势强度=2,C,O,2,0),COLORGRAY;
STICKLINE(趋势强度=3,C,O,2,0),COLORYELLOW;
STICKLINE(趋势强度=4,C,O,2,0),COLORMAGENTA;

 

标签:20,STICKLINE,强度,主图,通达信,源码,MA,趋势
From: https://www.cnblogs.com/zhibiao/p/18063839

相关文章

  • 通达信黄金启动副图指标公式源码
    {通达信黄金启动副图指标公式源码}启动买入:=DYNAINFO(4)>0ANDHHV(HIGH,10)/LLV(LOW,10)<1.25ANDREF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)ANDCLOSE>OPENANDCLOSE>=HHV(HIGH,10);AA:=EMA(C,5),COLORBLUE;BB:=EMA(C,10),COLORBLUE;CC:=EMA(C,......
  • 通达信五彩MACD副图 副图指标源码
    {通达信五彩MACD副图副图指标源码}DIFF:EMA(CLOSE,12)-EMA(CLOSE,29);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;STICKLINE(MACD<ref(macd,1)andmacd="">0,0,MACD,4,0),......
  • 通达信主升突破指标公式源码
    {通达信主升突破指标公式源码}MA线:=MA(CLOSE,3.1415926535*MA(C,5));STICKLINE(CLOSE>=OPENANDCLOSE>=MA线,OPEN,CLOSE,2,0),COLOR000077;STICKLINE(CLOSE>=OPENANDCLOSE>=MA线,H,L,0,0),COLOR000077;STICKLINE(OPEN>CLOSEANDCLOSE>=MA线,OPEN,CLOSE,2,0),COLO......
  • 通达信移动筹码三合一主图指标公式源码
    {通达信移动筹码三合一主图指标公式源码}HB:=COST(99.9);LB:=COST(0.1);B3:=(HB-LB)/50;B31:=HB-B3;B32:=HB-2*B3;B33:=HB-3*B3;B34:=HB-4*B3;B35:=HB-5*B3;B36:=HB-6*B3;B37:=HB-7*B3;B38:=HB-8*B3;B39:=HB-9*B3;B310:=HB-10*B3;B311:=HB-11*B3;B312:=HB-12*B3......
  • 通达信涨停阴阳绝杀主图指标公式源码
    {通达信涨停阴阳绝杀主图指标公式源码}DRAWGBK(C>0,RGB(20,10,60),RGB(350,60,150),0,'1',0);DRAWKLINE(H,O,L,C);涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;BL:=MA(CLOSE,10);UB:=BL+2*STD(CLOSE,10);LB:=BL-2*STD(CLO......
  • 通达信红牛起爆主图指标公式
    {通达信红牛起爆主图指标公式}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(......
  • 通达信股市抄底密码指标公式知
    {通达信股市抄底密码指标公式知}去ST:=NAMELIKE('ST')=0ANDNAMELIKE('*ST')=0ANDNAMELIKE('SST')=0ANDNAMELIKE('S*ST')=0;去除创业板:=IF(CODELIKE('300'),0,1);去除科创板:=IF(CODELIKE('688'),0,1);去除北交所:=IF(CODELIKE(&#......
  • 通达信强烈反转主图指标公式源码
    {通达信强烈反转主图指标公式源码}N1:=20;N2:=60;VAR1:=(LOW+HIGH+CLOSE)/3;X:MA(VAR1,5);A1:HHV(X,N1)COLORMAGENTA;A2:HHV(X,N2),COLORGREEN;A3:HHV(HIGH,N2)*0.98,COLOR0000FF;B1:LLV(X,N1);B2:LLV(LOW,N2)*1.02;DRAWICON(X>B1ANDREF(X,1)=REF(B1,1),B1*0......
  • 通达信狂风暴雨副图公式源码
    {通达信狂风暴雨副图公式源码}总亿:AMOUNT/100000000,COLORFF00FF,NODRAW;VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<open,var1*((high-open)+(close-low)),amount=""2))=""100000000,colorred,nodraw;&l......
  • 通达信彗华量副图源码带有使用说明
    {通达信彗华量副图源码带有使用说明}{彗华量}彗华量副图,带有使用说明   虚:IF((CURRBARSCOUNT=1)AND(PERIOD=5),(VOL*240)/FROMOPEN,DRAWNULL),NODRAW;STICKLINE((CURRBARSCOUNT=1)AND(PERIOD=5),虚,0,-1,-1),COLOR00C0C......