价量:=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);
主力活跃力度:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25);
快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(RSV,3,1);
D8:=SMA(K1,3,1);
KK:=INTPART(K1);
DF:=INTPART(D8);
TFXXS:=KK+DF;
TGLXS:=(TFXXS-REF(TFXXS,1));
主力筹码:=EMA(WINNER(CLOSE)*40,3);
散户筹码:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
散户套牢筹码:=散户筹码/(主力筹码+散户筹码)*100;
主升浪波段:=主力筹码/(主力筹码+散户筹码)*100;
散户主导行情:=EMA(散户套牢筹码,55);
主力主导行情:=EMA(主升浪波段,55);
疯牛压力平台:=HHV((H+L)/2,120);
金叉疯牛:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
ER:=V/FINANCE(7)*100;
A0:=TMA(ER,(1-ER),1);
MAXcyc:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
T1:=BArslAST(C>MAXCYC*POW(1.1,0.9));
T2:=BARSLAST(C
T4:=REF(MAXCYC,BARSLAST(T3));
主力最大盈利:=LN(C/T4)/LN(1.1)*10;
换手率:=vol/CAPITAL*100;
获利盘:=WINNER(C/1.10)*100;
牛股出现预警:=WINNER(C/1.20)*100;
主力赢利25持仓:=WINNER(C/1.25)*100;
主线:=EMA(EMA(C,1),5);
本:=EMA(HHV(主线,5),1);
急:=EMA(HHV(本,21),1);
稳:=EMA(HHV(急,21),2);
投:=EMA(HHV(稳,21),3);
散:=EMA(HHV(投,21),4);
集:=EMA(HHV(散,21),5);
日线:=CLOSE;
VAR3:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
疯牛强势分界线:=IF(C>200,C,DMA(VAR3,VOL/CAPITAL))*1.1;
疯牛马线:=EMA(HHV(集,21),6);
VOLUME:=VOL;
五日均量:=MA(VOLUME,5);
半年均量:=MA(VOLUME,135);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
主力做空能量线:=SMA(VAR1,3,1);
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
主力做多能量线:=SMA(VAR2,5,1)-8;
狂飙临界能量:=(主力做多能量线-主力做空能量线);
Y:=(H+O+L+3*C)/6;
净资金流向:=EMA(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*VOL,0),14)/SUM(IF(Y
AA:=CROSS(日线,疯牛马线);
TT:=(2*CLOSE+OPEN+HIGH+LOW);
主导动能:=(TT/EMA(TT,4)-1)*100;
FF:=主导动能*5;
角度1:=ATAN((净资金流向/REF(净资金流向,1)-1)*100)*180/3.1416;
角度2:=ATAN((FF/REF(FF,1)-1)*100)*180/3.1416;
放量2:=(FF-REF(FF,1))*100/REF(FF,1);
当日涨幅:=(C-REF(C,1))*100/REF(C,1);
七日涨幅:=SUM((C-REF(C,1))/REF(C,1)*100,15);
停牌:=(DYNAINFO(4)=0);
持股时段:=IF((金叉疯牛>界)AND(散户筹码<主力筹码) AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1))),-40,0);
金牛:=IF((COUNT(AA,20))AND(主力筹码>散户筹码)AND(主升浪波段>主力主导行情)AND(主力赢利25持仓>30)AND(主力活跃力度>主升浪波段)AND(主力活跃力度>60)AND(当日涨幅>=0.5)AND(MAX(CLOSE,金叉疯牛))AND(COUNT(CLOSE>金叉疯牛,10)),18,0);
金牛起航:IF((金牛>10)AND(当日涨幅>=0.5)AND(持股时段=-40),88,0),COLORYELLOW,NODRAW;
DRAWBAND(0,RGB(225,215,0),金牛起航,RGB(255,215,0));
VARA:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
狂飙主升浪:EMA((CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100,4)*2,COLOR1E90FF,NODRAW;
弱能量:=EMA(狂飙主升浪,30);
强能量:=IF(VARA>弱能量,0,弱能量);
主力疯狂做多:IF((主力最大盈利>0)AND(主力最大盈利<150)AND(主力活跃力度>50)AND(C>疯牛强势分界线)AND(日线>疯牛马线)AND(换手率<20)AND(放量2>10)AND(角度1>2)AND(主力筹码>散户筹码),48,0),COLORRED,NODRAW;
DRAWBAND(0,RGB(0,0,0),主力疯狂做多,RGB(255,0,0));
满盘获利无抛压:IF((主力最大盈利>30)AND(获利盘>80)AND(换手率<5),-58,0),COLORFFFF00,NODRAW;
风险持股:IF((主力最大盈利>120)AND(主力活跃力度>50)AND(C>疯牛强势分界线)AND(日线>疯牛马线)AND(主力活跃力度>主升浪波段)AND(换手率>10)AND(主力筹码>散户筹码),88,0),COLORMAGENTA,NODRAW;
DRAWBAND(0,RGB(0,255,0),风险持股,RGB(255,0,225));
中度锁仓拉升:IF((主力最大盈利>80)AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1)))AND(C>疯牛强势分界线)AND(日线>疯牛马线)AND(主力活跃力度>主升浪波段)AND(换手率<8)AND(换手率>=5)AND(主力筹码>散户筹码),68,0),COLORFF0080,NODRAW;
DRAWBAND(0,RGB(0,255,0),中度锁仓拉升,RGB(125,38,205));
STICKLINE((主力最大盈利>30)AND(获利盘>80)AND(换手率<5) ,-58,0,2,0 ),COLORFFFF00;
高度控盘:IF((主力最大盈利>80)AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1)))AND(C>疯牛强势分界线)AND(日线>疯牛马线)AND(换手率<5)AND(主力筹码>散户筹码),-28,0),COLORFF6100,NODRAW;
DRAWBAND(0,RGB(24,106,255),高度控盘,RGB(0,255,0));
VAR11:=3*SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,5,1)
-2*SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,180,1),15,1);
超级主升:=EMA(VAR11,5);
主升1:=超级主升-100;
D1:=EMA(C,5);
D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EMA(C,15)+EMA(C,20)+EMA(C,25)+EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+
EMA(C,50)+EMA(C,55)+EMA(C,60)+EMA(C,65)+EMA(C,70)+EMA(C,75)+EMA(C,80)+EMA(C,85)+EMA(C,90)+EMA(C,95)+
EMA(C,100)+EMA(C,105)+EMA(C,110)+EMA(C,115)+EMA(C,120)+EMA(C,125)+EMA(C,130)+EMA(C,135)+EMA(C,140)+EMA(C,150))/30;
dde:=(D1/D2)*100;
主升2:=DDE-110;
A:=(H+L+2*C)/4;
A1:=(A-REF(A,3))/3+A;
MA5:=EMA(A1,7);
J:=EMA(HHV(A1,20),60),LINETHICK3;
CB5:=EMA(COST(80),30),CIRCLEDOT;
HMX:=EMA(1.4*EMA(FORCAST(A1,20),40),20),LINETHICK2;
金牛线:=(J+CB5+HMX)/3,LINETHICK2;
MA20:=MA(C,20);
UP:=EMA(EMA(C*1.38,50),50),DOTLINE,COLOR0000FF;
白色:=SMA(HIGH,21,2)*1.05;
黄色:=SMA(LOW,21,2)*0.95;
中线:=(白色+黄色)/2;
UP1:=中线+2*STD(中线,20);
UP2:=REF(UP1,0);
CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(A1,20))/MA(A1,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+9/100)*DD;
通道4:=(1-7/100)*DD;
界限:=(REF((金牛线+UP+EMA(UP1*1.04,40)+通道3)/4,10)+MA(C,20)*1.04)/2;
AHC1:=H*VOL;
AHC24:=EMA((expma(AHC1,180)/EXPMA(VOL,180)+EXPMA(AHC1,360)/EXPMA(VOL,360)+EXPMA(AHC1,720)/EXPMA(VOL,720)+EXPMA(AHC1,1440)/EXPMA(VOL,1440))/4,34);
C上X:=1.06*AHC24;
C下X:=AHC24*0.94;
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
上X:=1.06*AHC22;
下X:=AHC22*0.94;
AHC23:=EMA((EXPMA(AHC1,5)/EXPMA(VOL,5)+EXPMA(AHC1,10)/EXPMA(VOL,10)+EXPMA(AHC1,20)/EXPMA(VOL,20)+EXPMA(AHC1,40)/EXPMA(VOL,40))/4,34);
D上X:=1.06*AHC23;
D下X:=AHC23*0.94;
T:=(C上X+D上X+上X)/3*1.05;
主升3:=(MA5*2/(界限+T)-1)*100;
cbx80:=MA(COST(80),20);
主升4:=(MA5/CBX80-1)*100;
FT:=((HHV(H,42)-LLV(L,42)))/2+LLV(L,42);
FT1:=ABS(HHV(H,40)-LLV(L,40)-LLV(L,40))+FT*0.5;
主升5:=(FT/FT1-1)*100;
P:=EMA(EMA(C*1.14,55),20);
主升6:=(MA5/P-1)*100;
金k线:=(EMA(HHV(H,60),60)+EMA(FT,453)*1.62)/2;
主升7:=(MA5/金K线-1)*100;
超牛拉升:=(主升1+主升2+主升3+主升4+主升5+主升6+主升7)/2;
STICKLINE(狂飙主升浪>30 AND CLOSE>疯牛马线 AND 超牛拉升>REF(超牛拉升,1),狂飙主升浪,30,1.5,0),COLOR1E90FF;
0;