涨跌:=REF(C,1);
涨停:=IF(((((C - 涨跌) * 100) / 涨跌) >= (10 - ((0.01 * 100) / 涨跌))),1,0);
DIF:=(EMA(C,12) - EMA(C,26));
DEA:=EMA(DIF,9);
macd:=((DIF - DEA) * 2);
VAR2:=(CLOSE * vol);
VAR3:=EMA((((((EMA(VAR2,3) / EMA(VOL,3)) + (EMA(VAR2,6) / EMA(VOL,6))) + (EMA(VAR2,12) / EMA(VOL,12))) + (EMA(VAR2,24) / EMA(VOL,24))) / 4),13);
VAR4:=EMA(CLOSE,9);
飞狐线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));
强势线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));
支撑线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
压力线:=EMA((VAR4 * 1.14),5);
盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2));
QD:=(((C > 强势线) AND (C > 支撑线)) AND (C > 盈损线));
小妖:=((COUNT(QD,10) = 1) AND QD);
XYJJ:=BArslAST(小妖);
JS:=crOSS(C,压力线);
妖狐:=((COUNT(JS,XYJJ) <= 1) AND JS);
HX1:=((REF(妖狐,1) AND (O > 压力线)) AND (C > 压力线));
HX2:=((REF(妖狐,1) AND CROSS(C,飞狐线)) AND (C > 压力线));
狐仙前世:=(小妖 AND 妖狐);
狐仙金身:=(HX1 OR HX2);
妖狐王:=((((REF(涨停,1) AND (O > 压力线)) AND (O > REF(H,1))) AND (REF(H,1) < REF(压力线,1))) AND (L >= 压力线));
XG:=((狐仙前世 OR 狐仙金身) OR 妖狐王);
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));
CCC:=(3*C+L+O+H)/6;
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,COLORRED,LINETHICK2;
马线:=MA(牛线,5);
DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));
STICKLINE(IF((C>REF(C,1)*1.096),2,0),OPEN,CLOSE,3,0),COLORRED;
DRAWTEXT(XG=1,LOW-0.05,'↖超牛龙头'),COLORYELLOW;
X_1:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
X_2:=EMA(X_1,9/4);
X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);
X_4:=EMA(X_3,40);
X_5:=MacD.DIF#WEEK;
X_6:=MACD.DEA#WEEK;
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
X_9:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
X_12:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
X_13:=SMA(X_12,3,1);
X_14:=SMA(X_13,3,1);
X_15:=3*X_13-2*X_14;
X_16:=kdj.K#WEEK;
X_17:=kdJ.D#WEEK;
X_18:=KDJ.K#MONTH;
X_19:=KDJ.D#MONTH;
X_20:=REF(HIGH,1)=HHV(HIGH,10);
X_21:=CROSS(X_20,0.9);
X_22:=REF(LOW,1)=LLV(LOW,10);
X_23:=CROSS(X_22,0.9);
X_24:=REF(HIGH,BARSLAST(X_21));
X_25:=REF(LOW,BARSLAST(X_23));
X_26:=(CLOSE+HIGH+LOW)/3;
X_27:=EMA(X_26,10);
X_28:=REF(X_27,1);
X_29:=MA(CLOSE,5);
X_30:=MA(CLOSE,10);
X_31:=MA(CLOSE,20);
X_32:=MA(CLOSE,60);
X_33:=MA(CLOSE,120);
X_34:=MA(CLOSE,250);
X_35:=EMA(CLOSE,500);
X_36:=X_1>=X_2 AND X_3>=X_4 AND X_5>=X_6 AND X_7>=X_8 AND X_10>=X_11 AND X_13>=X_14 AND X_16>=X_17 AND X_18>=X_19 AND CLOSE>REF(CLOSE,1)*1.05;
X_37:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_38:=HIGH-REF(HIGH,1);
X_39:=REF(LOW,1)-LOW;
X_40:=SUM(IF(X_38>0 AND X_38>X_39,X_38,0),20);
X_41:=SUM(IF(X_39>0 AND X_39>X_38,X_39,0),20);
X_42:=LLV(LOW,240);
X_43:=HHV(HIGH,240);
X_44:=X_40/X_37/2*100;
DH:(CLOSE-X_42)/X_42*100,COLORYELLOW,NODRAW;
X_45:=X_41/X_37/2*100;
X_46:=(X_43-CLOSE)/CLOSE*100;
X_47:=(-(0.05-WINNER(CLOSE/1.12)))*300;
DRAWICON(FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),C,44);
通达信超牛龙头主图指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/22029.html