去评论
彩虹桥投资充电站

【精选指标】通达信趋势黄金柱主图指标,助你股海擒牛!

beyond202104
2024/06/18 10:57:34

指    标    源    码
MA233:=MA(CLOSE,233);

STICKLINE(C>0,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;

STICKLINE(C>MA233,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;

主趋势线:=EMA(EMA(C,10),10),COLORRED,LINETHICK3;

AAAZ:=(3*C+H+L+O)/6;

VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;

VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;

VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;

VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;

VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;

VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;

DRAWBAND(VAR101,RGB(155,50,50),VAR601,RGB(250,250,0));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

短线:VAR101,LINETHICK2;

NOTEXT1:IF(C>=短线,短线,DRAWNULL),LINETHICK2,COLORYELLOW;

NOTEXT2:IF(C< 短线,短线,DRAWNULL),LINETHICK2,COLORGREEN;

中线:VAR601,COLORWHITE,LINETHICK1;

大趋势线:MA(CLOSE,144),COLORGREEN,LINETHICK4;

NOTEXT3:IF(C>=大趋势线,大趋势线,DRAWNULL),LINETHICK4,COLORRED;

AZ1:=C>REF(C,4);

NT:=BARSLASTCOUNT(AZ1);

TJ11:=NT=9;

TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);

AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;

DRAWTEXT(AY>0,H*1.002,VAR2STR(AY,0)),COLORFF00FF;

DRAWTEXT(NT=9,H*1.002,'9'),COLORGREEN;

BZ1:=C< REF(C,4);

NT0:=BARSLASTCOUNT(BZ1);

TJ21:=NT0=9 ;

TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);

AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;

DRAWTEXT(AY1>0,L*0.998,VAR2STR(AY1,0)),COLORFF00FF;

DRAWTEXT(NT0=9,L*0.998,'9'),COLORGREEN;

VAR0:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;

DRAWTEXT(CROSS(82,VAR0),H*1.01,'|||快卖'),COLORWHITE;

S:=C-REF(C,1);

DX:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);

买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX< 0,2) AND CROSS(DX,MA(DX,2)),1,0);

T:=150;

TT:=3;

AMOV:=VOL*(OPEN+CLOSE)/2;

**:=SUM(AMOV,5)/SUM(VOL,5),LINETHICK1,COLOR209FFF;

高1:=REF(HHV(H,T),TT);

低1:=REF(LLV(L,T),TT);

H1:=高1-(高1-低1)*0.191;

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5;

H4:=高1-(高1-低1)*0.618;

H5:=高1-(高1-低1)*0.809;

顶:REFDATE(高1,DATE),COLORFFFF00;

一:REFDATE(H1,DATE),DOTLINE,COLORYELLOW;

二:REFDATE(H2,DATE),DOTLINE,COLORMAGENTA;

三:REFDATE(H3,DATE),DOTLINE,COLOR00FFFF;

四:REFDATE(H4,DATE),DOTLINE,COLORMAGENTA;

五:REFDATE(H5,DATE),DOTLINE,COLORYELLOW;

低:REFDATE(低1,DATE),COLOR00FF00;

TT4:=(CURRBARSCOUNT=1);

DRAWTEXT(TT4 AND 顶,顶,'顶'),COLOR208FFF;

DRAWTEXT(TT4 AND 一,一,'0.809'),COLOR208FFF;

DRAWTEXT(TT4 AND 二,二,'0.618'),COLOR208FFF;

DRAWTEXT(TT4 AND 三,三,'0.5'),COLOR208FFF;

DRAWTEXT(TT4 AND 四,四,'0.382'),COLOR208FFF;

DRAWTEXT(TT4 AND 五,五,'0.191'),COLOR208FFF;

DRAWTEXT(TT4 AND 低,低*1.009,'底'),COLOR208FFF;

操作线:=MA(C,13);

AA8:=C>=操作线 OR 操作线>REF(操作线,1);

BB8:=C< 操作线;

DD:=CLOSE< OPEN;

DRAWKLINE(H,O,L,C);

STICKLINE(AA8,L,H,0,0),COLOR2F2FFF;

STICKLINE(AA8,C,O,3.1,0),COLOR000033;

STICKLINE(AA8,C,O,2.1,0),COLOR000099;

STICKLINE(AA8,C,O,1.5,0),COLOR0000CC;

STICKLINE(AA8,C,O,0.3,0),COLOR0000FF;

STICKLINE(BB8,L,H,0,0 ),COLORFFFF00;

STICKLINE(BB8,C,O,3.1,0 ),COLOR000000;

STICKLINE(BB8,C,O,2.1,0 ),COLOR6A6A00;

STICKLINE(BB8,C,O,1.5,0 ),COLORDDDD00;

STICKLINE(BB8,C,O,0.3,0),COLORFFFF00;

角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);

角线MA:=MA(角线,5);

ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;

ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;

角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB< -60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;

角起涨:=COUNT(CROSS(角线,角线MA),ANA< REF(ANA,5) AND ANB>REF(ANB,5));

DRAWTEXT_FIX(C>O,0.01,0.81,0,'更多精彩指标公式,请关注微信公众号:通达信指标公式'),COLORYELLOW;

角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA< REF(ANA,1)) AND ANB>ANA AND 角线MA>0)*1;

角始跌:=COUNT(CROSS(角线MA,角线),ANA< REF(ANA,5) AND ANB>REF(ANB,5));

DRAWTEXT(角买点,L,'━━短线买'),COLOR00FFFF;

X_1:=VOL/REF(MA(VOL,5),1);

X_2:=(CLOSE/REF(CLOSE,1)-1)*100;

X_3:=CLOSE=HHV(CLOSE,30);

X_4:=BARSLAST(FILTER(CROSS(0.9,X_3),2))+1;

平台高点:REF(CLOSE,X_4),NODRAW,COLOR8800FF;

X_5:=CLOSE=LLV(CLOSE,30);

X_6:=BARSLAST(FILTER(CROSS(0.9,X_5),2))+1;

平台低点:REF(CLOSE,X_6),NODRAW,COLORFF8800;

X_7:=IF(FINDHIGHBARS(平台高点,1,20,1)>=10,1,0);

X_8:=CROSS(CLOSE,平台高点);

STICKLINE(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,OPEN,CLOSE,2,0),COLORYELLOW;

平台突破:IF(X_8>0 AND X_1>1 AND X_2>=3 AND X_7>0,1,0),NODRAW,COLORYELLOW;

STICKLINE(X_4<=30,平台高点,平台高点,4,0),LINETHICK3,COLORWHITE;

STICKLINE(X_6<=30,平台低点,平台低点,4,0),LINETHICK3,COLORWHITE;

持股角度:=ATAN((操作线/REF(操作线,1)-1)*100)*180/3.1416,NODRAW;

DRAWTEXT_FIX(C!=0,0.9,0.05,0,STRCAT('持股角度: ',STRCAT(CON2STR(持股角度,2),' °'))),COLORFFFF00;

盘整天数:=5;

下探幅度:=5;

上冲幅度:=25;

涨停:=(C-REF(C,1))/REF(C,1)>0.09;

缩量:=HHV(VOL,盘整天数-2)< REF(VOL,盘整天数-1) AND SUM(VOL, 盘整天数)>2* SUM(VOL, 盘整天数-2);

阳涨幅:=3.5;

阳倍量:=1.9;

单阳收:=C;

单阳开:=O;

单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND VOL>REF(VOL,1)*阳倍量;

DRAWTEXT(CURRBARSCOUNT< 100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;

高不破价:=REF(C,BARSLAST(单阳));

低不破价:=REF(L,BARSLAST(单阳));

单阳不破:=CURRBARSCOUNT< 100 AND BARSLAST(单阳)< 11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);

STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN;

STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;

STICKLINE(单阳,单阳开,单阳收,2,0),COLORYELLOW;

DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN;

DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;

DRAWKLINE(H,O,L,C);DRAWTEXT_FIX(1,0.980,0,1,'章鱼哥★QQ号:2280279789'),COLOR666666;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF;

DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF;

X_1A:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

X_2A:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

X_3A:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

X_4A:=X_2A+100;

X_5A:=IF(CLOSE>REF(CLOSE,1),VOL,0);

X_6A:=IF(CLOSE< REF(CLOSE,1),VOL,0);

X_7A:=SUM(X_5A,13);

X_8A:=SUM(X_6A,13);

X_9:=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);

X_10:=MA(X_9,2);

X_11:=X_4A< 10 OR REF(X_4A,1)< 10 OR REF(X_4A,2)< 10 OR REF(X_4A,3)< 10;

X_12:=X_4A< 10 OR REF(X_4A,1)< 10 OR REF(X_4A,2)< 10 OR REF(X_4A,3)< 10 AND (X_10< 10 OR REF(X_10,1)< 10 OR REF(X_10,2)< 10 OR REF(X_10,3)< 10);

X_13:=(CLOSE+LOW+HIGH)/1.5;

X_14:=EMA(X_13,3);

X_15:=EMA(X_14,2.5);

DRAWICON(CROSS(X_14,X_15) AND X_11>0.1,LOW*0.98,9),COLORRED;

DRAWICON(CROSS(X_14,X_15) AND X_12>0.1,LOW*0.9398,1),COLORRED;

MA3:MA(C,60),LINETHICK2,COLORFF00FF;

使用说明:











  • 破解源码(年卡、至尊会员专享区)【通知】2024-59期【倍阳齐肩十字星】更新
  • 破解源码(年卡、至尊会员专享区)【妖股起飞加仓优化版】共振主副图/选股 潜
  • 免费指标分享转圆老师【股海淘金】全系列合集指标公式主
  • 精品指标【枭龙游资起爆】强化版主图附图选股套装
  • 精品指标【陕北抄家】副选竞价排序指标/可用于早盘
  • 精品指标通达信【海鱼之神】超短线类型副选排序尾盘