通达信超白金喇叭战法最新版套装指标 源码附图

{超白金喇叭副源码如下}



ABC1:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;



ABC2:=5;

ABC3:=3;



ABC4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;



ABC5:=IF(YEAR>=2025,0,1);



ABC6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);



ABC7:=EMA(CLOSE/ABC6*(1.88*CLOSE+LOW+OPEN)/2.75,3);



ABC8:=(ABC7-ABC6)/ABC6/2;



ABC9:=EMA(ABC7-ABC8*ABC7,5)*ABC5;



ABC10:=EMA(CLOSE,300)-3*STD(CLOSE,300);



超白金:=IF(ABC4>ABC9,ABC4,ABC9)*ABC5,COLORMAGENTA ,LINETHICK2;



白金:=IF(ABC9<ABC4 AND ABC9<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),ABC9),COLORMAGENTA ,LINETHICK2;



{IF(ABC9>ABC4,白金,DRAWNULL),COLORGREEN,LINETHICK2;}



喇叭开口:BARSLASTCOUNT(超白金!=白金)=1,COLORLIRED;





{超白金喇叭主源码如下}
ACB1:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;

STICKLINE(ACB1,CLOSE,OPEN,1,0),COLORYELLOW;

CBA1:=STRCAT(HYBLOCK,' ');

CBA2:=STRCAT(CBA1,DYBLOCK);

CBA3:=STRCAT(CBA2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(CBA3,GNBLOCK)),COLORMAGENTA ;

ACB2:=5;

ACB3:=3;

ACB4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;

ACB5:=IF(YEAR>=2025,0,1);

ACB6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);

ACB7:=EMA(CLOSE/ACB6*(1.88*CLOSE+LOW+OPEN)/2.75,3);

ACB8:=(ACB7-ACB6)/ACB6/2;

ACB9:=EMA(ACB7-ACB8*ACB7,5)*ACB5;

ACB10:=EMA(CLOSE,300)-3*STD(CLOSE,300);

超白金:IF(ACB4>ACB9,ACB4,ACB9)*ACB5,COLORMAGENTA ,LINETHICK2;

白金:IF(ACB9<ACB4 AND ACB9<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),ACB9),COLORMAGENTA ,LINETHICK2;

IF(ACB9>ACB4,白金,DRAWNULL),COLORGREEN,LINETHICK2;

开口XG:BARSLASTCOUNT(超白金!=白金)=1,NODRAW;

STICKLINE(开口XG,OPEN,CLOSE,1,0),COLORLIRED;

DRAWICON(开口XG,MIN(白金,超白金)*0.96,9);

ABC1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));

买盘:=IF((CLOSE > OPEN),(ABC1 * (HIGH - LOW)),IF((CLOSE < OPEN),(ABC1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

卖盘:=IF((CLOSE > OPEN),(0 - (ABC1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (ABC1 * (HIGH - LOW))),(0 - (VOL / 2))));

买卖差:=(买盘 + 卖盘);

量比:=(VOL / MA(VOL,5));

股民指标1:=BARSSINCE(买盘);

指标营地1:=IF(((121 > 股民指标1) AND (股民指标1 > 0)),股民指标1,120);

指标营地2:=IF(((4 > 股民指标1) AND (股民指标1 > 0)),股民指标1,3);

ABC30:=MA(VOL,指标营地2);

ABC2:=(HIGH - LOW);

ABC3:=ABS((OPEN - CLOSE));

ABC4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

ABC5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

ABC6:=((ABC3 / ABC2) * VOL);

ABC7:=((ABC4 / ABC2) * VOL);

ABC8:=((ABC5 / ABC2) * VOL);

ABC9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

ABCA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

ABCB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

ABCC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

ABCD:=REF(CLOSE,1);

ABCE:=((SMA(MAX((CLOSE - ABCD),0),6,1) / SMA(ABS((CLOSE - ABCD)),6,1)) * 100);



ABC40:=((IF((((ABC6 >= ABC7) AND (ABC6 >= ABC8)) AND (CLOSE > OPEN)),ABC6,买盘) + 买盘) / 2);

ABC41:=((IF(((ABC7 > ABC6) AND (ABC7 > ABC8)),ABC7,买盘) + 买盘) / 2);

ABC42:=((IF(((ABC8 > ABC6) AND (ABC8 > ABC7)),ABC8,买盘) + 买盘) / 2);

ABC50:=((IF((((ABC6 >= ABC7) AND (ABC6 >= ABC8)) AND (CLOSE < OPEN)),ABC6,卖盘) + 卖盘) / 2);

SRSG:=MA((((ABC40 + ABC41) + ABC42) / 3),指标营地2);

SRXG:=MA(ABC50,指标营地2);

SGJL:=MA(买盘,指标营地1);

XGJL:=MA(卖盘,指标营地1);

DRAWTEXT((((((量比 > 1) AND ((买盘 / SRSG) > 1.58)) AND IF((SRSG > SGJL),(SRSG > SRXG),(SRSG > REF(SRSG,1))))

AND (SRXG < REF(SRXG,1)))

AND ((((CLOSE - REF(CLOSE,3)) / REF(CLOSE,3)) * 100) < 14)),(C * 0.93),' →★关注★'),COLORYELLOW;

DRAWICON((((((量比 > 1) AND ((买盘 / SRSG) > 1.58)) AND IF((SRSG > SGJL),(SRSG > SRXG),(SRSG > REF(SRSG,1))))

AND (SRXG < REF(SRXG,1)))

AND ((((CLOSE - REF(CLOSE,3)) / REF(CLOSE,3)) * 100) < 14)),(C * 0.99)*0.91,5);

STICKLINE((((((量比 > 1) AND ((买盘 / SRSG) > 1.58)) AND IF((SRSG > SGJL),(SRSG > SRXG),(SRSG > REF(SRSG,1))))

AND (SRXG < REF(SRXG,1)))

AND ((((CLOSE - REF(CLOSE,3)) / REF(CLOSE,3)) * 100) < 14)),OPEN,CLOSE,1,0),COLORMAGENTA ;




{喇叭筹码副图源码如下}




X_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);

X_2:=(X_1-LLV(X_1,27))/(HHV(X_1,27)-LLV(X_1,27))*4*25;

X_3:=(X_1-LLV(X_1,9))/(HHV(X_1,9)-LLV(X_1,9))*4*25;

X_4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

X_5:=SMA(X_4,3,1);

X_6:=SMA(X_5,3,1);

X_7:=INTPART(X_5);

X_8:=INTPART(X_6);

X_9:=X_7+X_8;

X_10:=X_9-REF(X_9,1);

X_11:=EMA(WINNER(CLOSE)*70,3);

X_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);

X_13:=X_12/(X_11+X_12)*100;

X_14:=X_11/(X_11+X_12)*100;

X_15:=EMA(X_13,55);

X_16:=EMA(X_14,55);

黄金坑:IF(X_14<=10,X_14,X_14),NODRAW,COLORMAGENTA;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,2.5,0),COLOR0000AA;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,2,0),COLOR0000BB;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,1.5,0),COLOR0000CC;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,1,0),COLOR1111DC;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,0.5,0),COLOR0000EE;

STICKLINE(X_10>0 AND X_10>REF(X_10,1),100,X_10+100,0.1,0),COLORRED;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,2.5,0),COLORFF9900;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,2,0),COLORFFBB00;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,1.5,0),COLORFFCC00;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,1,0),COLORFFDD00;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,0.5,0),COLORFFEE00;

STICKLINE(X_10<0 AND X_10>REF(X_10,1),100,X_10+100,0.1,0),COLORCYAN;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,2.5,0),COLOR117777;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,2,0),COLOR119999;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,1.5,0),COLOR11BBBB;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,1,0),COLOR11DDDD;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,0.5,0),COLOR44FFFF;

STICKLINE(X_10>0 AND X_10<=REF(X_10,1),100,X_10+100,0.1,0),COLOR44FFFF;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,2.5,0),COLOR007700;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,2,0),COLOR009900;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,1.5,0),COLOR00BB00;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,1,0),COLOR00DD00;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,0.5,0),COLOR00F000;

STICKLINE(X_10<0 AND X_10<=REF(X_10,1),100,X_10+100,0.2,0),COLORGREEN;

STICKLINE(X_10=0 AND REF(X_10,1)>=0,100,X_10+100,8,0),COLORBROWN;

STICKLINE(X_10=0 AND REF(X_10,1)<0,100,X_10+100,8,0),COLORWHITE;

STICKLINE(CLOSE>0,X_13,X_14,2.5,0),COLOR777777;

STICKLINE(CLOSE>0,X_13,X_14,1.9,0),COLOR999999;

STICKLINE(CLOSE>0,X_13,X_14,1.6,0),COLORBBBBBB;

STICKLINE(CLOSE>0,X_13,X_14,1.3,0),COLORBBBBBB;

STICKLINE(CLOSE>0,X_13,X_14,1,0),COLORDFDFDF;

STICKLINE(CLOSE>0,X_13,X_14,0.7,0),COLORF0F0F0;

STICKLINE(CLOSE>0,X_13,X_14,0.4,0),COLORF0F0F0;

STICKLINE(CLOSE>0,X_13,X_14,0.1,0),COLORWHITE;

STICKLINE(X_15>REF(X_15,1),X_13,X_15,2.5,0),COLOR555555;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,2.5,0),COLOR880088;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,2,0),COLOR880088;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,1.5,0),COLORAA00AA;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,1,0),COLORCC00CC;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,0.5,0),COLOREE00EE;

STICKLINE(X_14>REF(X_14,1) AND X_14>20,X_14,20,0.1,0),COLORFF44FF;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,2.5,0),COLORFF9900;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,2,0),COLORFFBB00;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,1.5,0),COLORFFCC00;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,1,0),COLORFFDD00;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,0.5,0),COLORFFEE00;

STICKLINE(X_14<=REF(X_14,1) AND X_14>20,X_14,20,0.1,0),COLORCYAN;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,2.5,0),COLOR0000AA;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,2,0),COLOR0000BB;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,1.5,0),COLOR0000CC;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,1,0),COLOR0000DD;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,0.5,0),COLOR0000EE;

STICKLINE(X_14>REF(X_14,1) AND X_14<20,X_14,0,0.1,0),COLORRED;

STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,2.5,0),COLORAA0000;

STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,1.5,0),COLORCC0000;

STICKLINE(X_14<=REF(X_14,1) AND X_14<20,X_14,0,0.5,0),COLORBLUE;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,2.5,0),COLOR117777;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,2,0),COLOR119999;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,1.5,0),COLOR11BBBB;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,1,0),COLOR11DDDD;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,0.5,0),COLOR44FFFF;

STICKLINE(X_16>REF(X_16,1),X_14,X_16,0.1,0),COLOR44FFFF;

STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,2.5,0),COLOR0000AA;

STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,1.5,0),COLOR0022CC;

STICKLINE(X_14>X_16 AND X_16>50,X_14,X_16,0.5,0),COLOR0055FF;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,2.5,0),COLOR0000AA;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1.5,0),COLOR071378;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1.5,0),COLOR0022CC;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,1,0),COLOR0022CC;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,0.5,0),COLOR0055FF;

STICKLINE(X_14>X_16 AND X_16<50 AND X_14>50 AND X_16>REF(X_16,1),X_14,50,0.1,0),COLOR4070FF;

STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,2.5,0),COLOR00AA00;

STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,1.5,0),COLOR00CC00;

STICKLINE(X_14>80,X_14,X_14-(X_14-80)/2,0.5,0),COLORGREEN;

STICKLINE(X_14<=10,X_14,0,5,0),COLORYELLOW;



X_17:=100;

X_18:=80;

X_2,COLOR00FFAA,LINETHICK2;

X_3,LINESTICK,COLORFF68DD;




{喇叭转强线副如下}



VAR100:1;

多线:27,NODRAW;

空线:55,NODRAW;

生命线:EMA(CLOSE,55),NODRAW;

BS:1,NODRAW;

MA7:=MA(CLOSE,1);

转强:=(6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1);

转弱:=(6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1);

BB2:=IF(CLOSE>REF(转强,1),1,IF(CLOSE<REF(转弱,1),(-1),0));

DD2:=BARSLAST(NOT(BB2=0));

B:=IF(BB2=0,REF(BB2,DD2),BB2);

中短:=IF(B=(-1),MA(HIGH,6)*VAR100,MA(LOW,6));

B点持股:BARSLASTCOUNT(MA7>中短);

S点持币:BARSLASTCOUNT(MA7<中短);


未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图