最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信量能顶底底部顶部指标公式战意义很大

    正文概述    2024-05-04 04:36:53  

    以下是通达信底部顶部指标公式战意义很大源码


    通达信量能顶底底部顶部指标公式战意义很大源码:

       P1:=16;

       能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));

       平滑能量:=EMA(能量,P1);

       能量惯性:=EMA(平滑能量,P1);

       BUY2:=CROSS(平滑能量,能量惯性);

       BUY3:=CROSS(能量,平滑能量)AND(平滑能量 能量惯性);

       DRAWTEXT(BUY2ORBUY3,L*0.99,'▲'),COLORF00FF0,LINETHICK5;

       SEL2:=CROSS(平滑能量,能量);

       SEL3:=CROSS(能量惯性,平滑能量);

       DRAWTEXT(能量 REF(能量,1)ANDSEL2AND平滑能量 能量惯性,H*1.01,'ㄓ'),COLORGREEN,LINETHICK5;

       DRAWTEXT(SEL3,H*1.015,'顶'),COLORGREEN,LINETHICK5;

       卖线12:EMA(SLOPE(C,12)*12+C,21),LINETHICK3;

       买线:EMA(C,2),COLORRED,LINETHICK1;

       卖线:EMA(SLOPE(C,21)*21+C,42),COLORRED;

       BUY:=CROSS(买线,卖线);

       BUY1:=CROSS(买线,卖线12);

       SEL:=CROSS(卖线,买线);

       SEL1:=CROSS(卖线12,买线);

       DRAWTEXT(BUY,LOW-0.1,'▲B'),COLORF00FF0,LINETHICK5;

       DRAWTEXT(BUY1AND(CROSS(能量,能量惯性)OR平滑能量 能量惯性),LOW-0.1,'▲B1'),COLORGREEN,LINETHICK5;

       DRAWTEXT(SEL,HIGH+0.1,'▼S'),COLORWHITE,LINETHICK5;

       DRAWTEXT(SEL1,HIGH+0.4,'▼S1'),COLORGREEN,LINETHICK5;

       VAR111:=REF(CLOSE,1);

       VAR222:=SMA(MAX(CLOSE-VAR111,0),7,1)/SMA(ABS(CLOSE-VAR111),7,1)*100;

       DRAWTEXT(FILTER(REF(VAR222,1) 20ANDVAR222 REF(VAR222,1),5),买线*0.99,'↖特准'),COLORGREEN;

       BIAS1:=(C-MA(C,6))/MA(C,6)*100;

       BIAS2:=(C-MA(C,12))/MA(C,12)*100;

       BIAS3:=(C-MA(C,24))/MA(C,24)*100;

       BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;

       乖离:=MA(BIAS,3);

       DRAWTEXT(CROSS(BIAS,乖离)AND乖离 -9.5,买线*0.96,'↖红柱抄底'),COLORRED;

       红柱抄底:=CROSS(BIAS,乖离)AND乖离 -9.5;

       特准抄底:=FILTER(REF(VAR222,1) 20ANDVAR222 REF(VAR222,1),5);

       {合成买进}

       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 =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);

       买:=IF("KDJ.J" 0,10,0);

       条件:=CROSS(9.9,买);

       VAR1111:=(2*CLOSE+HIGH+LOW)/4;

       VAR2222:=LLV(LOW,5);

       VAR3333:=HHV(HIGH,5);

       VAR4444:=EMA((VAR1111-VAR2222)/(VAR3333-VAR2222)*100,5);

       MA11:=MA(VAR4444,2);

       AA:=STICKLINE(VAR4 MA11,VAR4,MA11,3,1),COLORRED;

       BBB:=STICKLINE(VAR4 MA11ANDREF(VAR4,1) 30,VAR4,MA11,3,1),COLORRED;

       DRAWICON(CROSS(9.9,买),C,1);

       STICKLINE(CROSS(9.9,买),H*1.01,H,3,1),COLORYELLOW;

       XXX:=STICKLINE(BBB,H*1.01,H,3,1),COLORYELLOW;

       STICKLINE(FILTER(XXX,5),C*0.9,L,3,1),COLORYELLOW;

       VAR0:=(2*CLOSE+HIGH+LOW)/4;

       VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;

       VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

       B0:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);

       AA:SMA(SMA(VAR2,2,1)+3,2,1),COLORRED,LINETHICK1;

       浮筹:=EMA(B0,4),LINETHICK1,DOTLINE,COLORYELLOW;

       BB:SMA(VAR1,3,1),COLORGREEN,LINETHICK1;

       {背景}

       STICKLINE(AA BB,6,90,5,0),COLOR000044;

       STICKLINE(BB AA,6,90,5,0),COLOR422D00;

       多方:SMA(SMA(VAR2,2,1)+3,2,1),COLOR0000FF,LINETHICK2;

       空方:SMA(VAR1,3,1),COLORFFFF00,LINETHICK1,DOTLINE;

       强势线:90,COLORMAGENTA,DOTLINE;

       中轴线:50,COLOR0080FF,DOTLINE;

       弱势线:10,COLORLICYAN,DOTLINE;

       STICKLINE(多方 强势线,多方,强势线,1,0),COLOR0000FF;

       STICKLINE(多方 弱势线,多方,弱势线,1,0),COLOR0000FF;

       STICKLINE(空方 弱势线,空方,弱势线,1,0),COLORGREEN;

       STICKLINE(空方 强势线,空方,强势线,1,0),COLORGREEN;

       LC:=REF(C,1);

       VAR02:=REF(LOW,1);

       VAR3:=SMA(ABS(LOW-VAR02),13,1)/SMA(MAX(LOW-VAR02,0),13,1)*100;

       VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);

       VAR5:=LLV(LOW,34);

       VAR6:=HHV(VAR4,34);

       VAR7:=IF(LLV(LOW,56),1,0);

       VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

       VAR9:=EMA(CLOSE,5);

       VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

       VAR11:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);

       VAR12:=EMA(CLOSE,5)*(-1);

       力度:=VAR10*5,COLORWHITE,LINETHICK2;

       XL1:=MA(LOW,2)*0.96;

       XL2:=MA(LOW,26)*0.85;

       XL3:=REF(XL1,1) XL2ANDREF(XL1,1) XL1ANDREF(XL1,1) REF(XL1,2);

       WR1:=-120*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)),COLORGREEN;

       超跌:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,60)*100*1.1;

       买:力度 7AND超跌 -15.5ANDWR1 -100,COLOR3535FF,STICK,LINETHICK1;

       DRAWTEXT(买 0,0.0,'买'),COLORFFFFFF;

       DRAWICON(买 0,买,1);

       {顶底}

       :=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

       见底:=10;

       见顶:=90;

       短期底部:=CROSS(趋势,见底),COLORRED;

       STICKLINE(短期底部,4,40,1,0),COLORRED;

       DRAWTEXT(CROSS(趋势,见底),40,'底');

       短期顶部:=CROSS(见顶,趋势),COLORGREEN;

       STICKLINE(短期顶部,4,40,1,0),COLORGREEN;

       DRAWTEXT(CROSS(见顶,趋势),40,'顶'),COLORYELLOW;

       小股民:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);

       :=EMA(0.667*REF(小股民,1)+0.333*小股民,2);

       高出:100*(CROSS(庄家,小股民)AND小股民 50),COLOR333333,STICK,LINETHICK1;

       DRAWTEXT(高出 0,0.99,'高出'),COLORFFFF00;

       DRAWICON(高出 0,高出,2);

       STICKLINE(高出,0,2,0,1),COLOR0000FF,NODRAW;

       A1:=(C-REF(C,1))/REF(C,1)*100;

       MA5:=BARSLAST(A1

       Z1:=MA(C,13);

       ZX:=REF(Z1,13/2+1);

       MA20:=IF(MA5 0,1,0);

       底:CROSS(C,ZX)ANDMA20=0,COLOR464646,STICK,LINETHICK1;

       DRAWICON(底 0,底,1);

       STICKLINE(底,0,2,0,9),COLOR0000FF;

       :EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),

       COLORRED,LINETHICK1,NODRAW;

       即将爆发线:65,COLOR00FF00,NODRAW;

       爆发线:80,COLORWHITE,LINETHICK1,NODRAW;

       DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'爆发'),COLORYELLOW;

       爆发警戒线:50,COLOR00FF00,NODRAW;

       抄底线:20,COLORWHITE,LINETHICK2,NODRAW;

       DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'加'),COLORWHITE;

       DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'加'),COLORWHITE;

       AA05:=MA(C,5);

       五日乖离率:=(C-AA05)/AA05*100;

       AA30:=MA(C,30);

       三拾日乖离率:=(C-AA30)/AA30*100;

       MR:=COUNT(CROSS(五日乖离率,0),3) =1AND三拾日乖离率 REF(三拾日乖离率,1)ANDAA05 REF(AA05,1)AND(C/REF(C,1)-1)*100 5ANDREF(C,1)0,0.1,'翻倍'),COLORFFFFFF;

       DRAWICON(翻倍 0,翻倍,1);

       CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

       禅:(EMA(CS,3)-50)*2;

       禅,COLORSTICK;

       极弱:-80,COLOR0000FF;

       风险:80,COLOR00FF00;

       VAR4:=(1.1)*CLOSE;

       VAR5:=(0.9)*CLOSE;

       VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));

       一比:EMA(100-VAR6,1),LINETHICK0;

       S2:=EMA(一比,9);

       二比:MA(S2,9),LINETHICK0;

       比差:ABS(二比-一比),LINETHICK0,colorred;




    通达信量能顶底底部顶部指标公式战意义很大截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信量能顶底底部顶部指标公式战意义很大 加入收藏