LCT:=REF(CLOSE,1);

WRSI:=SMA(MAX(CLOSE-LCT,0),5,1)/SMA(ABS(CLOSE-LCT),5,1)*100;

WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;

活跃:=(WRSI-WR10);

活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));

DRAWTEXT_FIX(1,0.20,0.15,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;

日:=120; 昨前:=3;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

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;

HIGH1:REFDATE(高1,DATE),COLORRED,LINETHICK3;

HIGH2:REFDATE(H1,DATE),COLORYELLOW,LINETHICK3;

LOW2:REFDATE(H5,DATE),COLORYELLOW,LINETHICK3;

LOW1:REFDATE(低1,DATE),COLORGREEN,LINETHICK3;

XYZ:=O<H1;

{X1Z:=(C+L+H)/3;

BB13Z:=ATAN(EMA(X1Z,13)-REF(EMA(X1Z,13),1))*3.1416*10;

EMA8Z:=EMA(C,8);

DRAWTEXT(FILTER(BB13Z>1 AND EMA(X1Z,13)>REF(EMA(X1Z,8),1),10),

EMA8Z*999999999,'∠45'),COLORMAGENTA;}

HSL:=IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100);

攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;

攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;

攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;

攻击流量:=攻击量A+攻击量B,COLORSTICK;

攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;

资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)))>100,COLORYELLOW;

资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;

资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;

资金出入:=资金流入+资金流出,COLORSTICK;

资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;

资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));

{DRAWTEXT_FIX(1,0.550,0.75,0,STRCAT(STRCAT('流量比',CON2STR(资金流量比,2)),'%买')),COLORCYAN;}

DRAWTEXT_FIX(1,0.0,0.99,0,STRCAT(STRCAT('',CON2STR(资金攻击度,2)),' ')),COLORCYAN;

CJL1:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

{DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF; }

DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL1),COLORYELLOW;

{STICKLINE((CJL),L,L*333333333,100,0),COLOR0099FF,LINETHICK9;}

STICKLINE((CJL1),L,L*333333333,100,0),COLOR0099FF,LINETHICK9;

X_1:=CLOSE;

X_2:=LOW;

X_3:=HIGH;

X_4:=OPEN;

X_5:=4*X_1;

X_6:=3*X_2;

X_7:=2*X_3;

X_8:=1*X_4;

X_9:=POW(X_5+X_6+X_7+X_8,2);

X_10:=SUM(IF(X_9>REF(X_9,1),X_9*VOL,0),55)/SUM(IF(X_9<REF(X_9,1),X_9*VOL,0),55);

X_11:=20*X_1+19*X_2+18*X_3+17*X_4;

X_12:=100-100/(1+X_10);

X_13:=REF(X_1,3)>REF((X_4+X_3)/2,2);

X_14:=BARSSINCE(X_3>10);

X_15:=X_1/REF(X_1,1);

X_16:=REF(X_2,1)/X_2;

X_17:=SQRT(X_10)/X_9;

X_18:=SLOPE(X_11+X_12,X_14);

X_19:=X_15 AND X_16;

X_20:=SQRT(X_9)/X_10;

X_21:=X_1>REF(X_1,1) AND X_3>REF(X_3,1);

X_22:=X_1-REF(MA(X_1,20),20/2+1);

X_23:=MA(X_22,6);

X_24:=SUM(MA(X_3-X_2,9)/MA(MA(X_3-X_2,9),9),25);

X_25:=MA(X_24,6);

X_26:=4;

X_27:=3;

X_28:=2;

X_29:=1;

X_30:=BARSCOUNT(4*X_1+3*X_2+2*X_3+1*X_4-X_27*X_1-(X_28+X_29)*X_2-(X_26-X_28)*X_3-(X_28-X_29)*X_4);

X_31:=REF(X_3,X_26/X_28)>REF(X_2,SQRT(X_26));

X_32:=X_1/REF(X_1,X_28-X_29)>X_29+POW(X_27,X_28)/(X_28+X_29)/100;

X_33:=REF(X_2+X_26,X_27)<REF(X_3+2*X_28,X_28+X_29);

X_34:=EMA(X_11,X_26+X_28);

X_35:=SMA(X_9,X_26*2+1,X_28+X_29);

X_36:=X_26*X_2+X_27*X_4-X_28*X_1+X_7/X_27!=POW(X_28,2)*X_3+(X_26-X_29)*X_4-SQRT(X_26)*X_1+X_3*X_28/(X_28+X_29);

X_37:=X_30+X_26+X_27+X_28+X_29+X_5/X_26;

X_38:=REF(X_7-X_3,X_26)>REF(X_6-X_28*X_2,X_5/X_1);

X_39:=EMA(X_5+X_6+X_7+X_8,X_26+X_28);

X_40:=X_26*X_27*X_28*X_29+X_26*X_27-X_27*X_28;

X_41:=X_5/REF(POW(X_28,2),X_26-X_27);

X_42:=X_28*X_35;

X_43:=X_29+(SQRT(X_26)+X_26*X_27-POW(X_28,2)-X_28*X_26)/100;

X_44:=X_41+X_27*X_28>X_43+X_26+X_28;

X_45:=X_26+X_27+X_28+X_29;

X_46:=X_10+X_11;

X_47:=REF(LOW,1);

X_48:=SMA(ABS(LOW-X_47),3,1)/SMA(MAX(LOW-X_47,0),3,1)*100;

X_49:=EMA(X_48*10,3);

X_50:=SQRT(X_26)+X_26*X_27-POW(X_28,2)-X_28*X_26;

X_51:=LLV(LOW,13);

X_52:=HHV(X_49,13);

X_53:=EMA(IF(LOW<=X_51,(X_49+X_52*2)/2,0),3)/618;

X_54:=IF(X_53>500,500,X_53);

X_55:=X_48+X_24;

X_56:=X_49+X_22;

X_57:=X_30>X_40;

X_58:=MA(X_1,X_26+X_18+X_28);

X_59:=MA(X_5-X_27*X_1,X_26+X_27+X_28);

X_60:=(X_27*X_28+X_26)*X_2!=(X_27*X_26-X_28)*X_3;

X_61:=MA(X_51,X_27+X_27+X_26);

X_62:=MA(X_52,X_58+X_59+X_61);

X_63:=X_43;

X_64:=REF(CLOSE,X_27)<1.095*REF(CLOSE,X_26+X_28) AND REF(CLOSE,X_27)>1.028*REF(CLOSE,X_26+X_28) AND X_59>X_58 AND REF(LOW,X_28+X_27+X_26)<REF(HIGH,X_29+X_28+X_27) AND NOT(REF(CLOSE,X_28*X_27)>REF(CLOSE,X_28*X_26)) AND REF((CLOSE+HIGH+OPEN)/X_26,X_28*X_27)>1.03*REF((CLOSE+HIGH+OPEN)/(X_27+X_28-X_29),X_26+X_28+X_27-X_28-X_29) AND X_56>X_55;

X_65:=X_61>X_59 AND X_53>X_48 AND REF(CLOSE,X_27+X_28)>REF(HIGH,X_28*X_26) AND REF(LOW,X_27*X_28)<0.97*REF(CLOSE,X_25+X_26+X_27) AND BARSLAST(REF(CLOSE,3)>REF(LOW,4)) AND REF(4*CLOSE+OPEN+2*LOW,8)>1.02*REF(OPEN+4*CLOSE+2*HIGH,8);

X_66:=8*CLOSE+7*OPEN+6*HIGH+5*LOW;

X_67:=EMA(IF(LOW<=X_51,(X_49+X_52*2)/2,0),3)/618*(X_27*X_28+X_29)/((X_26+X_27)*X_53)+(X_26*X_27*X_28+X_28);

X_68:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);

X_69:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_68),0);

X_70:=X_5/((X_27-X_28)*X_1)*X_67;

X_71:=MA(X_69,33);

X_72:=(INDEXV-REF(INDEXV,X_26))/REF(INDEXV,X_26);

X_73:=(VOL-REF(VOL,X_26))/REF(VOL,X_26);

X_74:=REF(CLOSE,X_26+X_27)>REF(HIGH,X_26+X_28) AND FILTER(CROSS(X_70,X_29+X_28),X_29+X_28) AND REF((X_26+X_27)*X_3,X_26+X_27+X_28)<0.97*REF((X_27*X_28+X_29)*X_2,X_28+X_26+X_27);

X_75:=X_70+EMA(IF(LOW<=X_51,(X_49+X_52*2)/2,0),3)/618/X_53-(X_27*X_28+SQRT(X_26)+X_29);

X_76:=X_67/X_27+POW(X_27*(X_28+X_29),2)+X_26*X_27-X_28;

X_77:=X_76/X_75+X_7/HIGH*(8*CLOSE+7*OPEN+6*HIGH+5*LOW)/(X_28*X_76-X_75)/X_66;

X_78:=7*CLOSE+6*OPEN+5*HIGH+(X_26*X_27*X_28*X_29-X_67+X_27*X_28+X_29)*LOW;

X_79:=X_66-X_78;

X_80:=X_79-(CLOSE+OPEN+LOW);

X_81:=X_80*X_77;

X_82:=SUM(IF(X_9>REF(X_9,1),X_9*VOL,0),55)/SUM(IF(X_9<REF(X_9,1),X_9*VOL,0),55)+EMA(X_81,X_50)-X_10;

X_83:=MA(X_24,6)+X_26*X_27*X_28*X_29-X_25-X_27*X_28-X_26-X_28;

X_84:=X_57 AND CROSS(4*X_1+3*X_2+2*X_3+1*X_4-X_27*X_1-(X_28+X_29)*X_2-(X_26-X_28)*X_3-(X_28-X_29)*X_4,X_82) AND X_36 AND X_60;

X_85:=X_64 OR X_65 OR X_74 OR X_84;

起爆:FILTER(X_85,X_83)*999999999 ,COLORLIRED,LINETHICK9;

BBB:=O/REF(C,1)<1.03;

金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;

金钻趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;

金牛2:EMA(金钻趋势,25)COLORCYAN,LINETHICK2;

DRAWBAND(金钻趋势,RGB(55,0,0),金牛2,RGB(0,91,0));

DRAWKLINE(H,O,L,C);

STICKLINE(金钻趋势>LOW AND 金钻趋势<HIGH,金钻趋势,MIN(MIN(OPEN,CLOSE),金钻趋势),20,0),COLORYELLOW;

STICKLINE(金钻趋势>MIN(C,O) AND 金钻趋势<MAX(C,O),金钻趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

STICKLINE(金钻趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(金钻趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;

VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);

回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

XGG:=金钻趋势>HIGH AND 回调买 AND L<=金钻趋势;

DRAWTEXT(XGG,H*999999999,'▲买'),COLORGREEN;

{STICKLINE(XGG,L,H*999999999,3,0),COLORBROWN,LINETHICK9;}

AAA:=O>金牛2 OR O<金牛2 AND O<金钻趋势;

F1:=ZIG(3,15);

F2:=IF((F1> REF(F1,1)),100,80);

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

MA势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100;

势:=EMA(MA势,5),COLORLIRED,DOTLINE;

{IF(势<=45,势,DRAWNULL),COLORGREEN,DOTLINE;}

趋势:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*

SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

ZZ:=趋势>REF(趋势,1);

K1:=DVOL/1000000;

K2:=DCLOSE;

V1:=EMA(K1,5);

V2:=EMA(K2,5);

价异动:=K2>REF(V2,1)*1.06;

量异动:=K1>REF(V1,1)*1.6&&ZZ;

停牌:=DYNAINFO(17)>0;

M1:=SUM(价异动,2)>0 AND 停牌;

M2:=SUM(量异动,2)>0 AND REF(趋势,1)<89;

共鸣:=(F2=100 AND C>REF(C,1) AND FILTER(M1 ,3))*999999,COLORMAGENTA,LINETHICK9;

{STICKLINE((共鸣) AND (AAA) AND (BBB),L,H*999999999,3,0),COLORWHITE,LINETHICK9;}

上:=(SMA(HIGH,21,2) * 1.05);

下轨道:(SMA(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;

BMA:=MA(CLOSE,118);

阻挡:=(SMA(HIGH,21,2) * 1.05);

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=((3 K) - (2 D));

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

K12:=SMA(RSV12,3,1);

D12:=SMA(K12,3,1);

J12:=((3 K12) - (2 D12));

RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

K24:=SMA(RSV24,3,1);

D24:=SMA(K24,3,1);

J24:=((3 K24) - (2 D24));

支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));

压力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),LINETHICK5,COLORLIBLUE;

U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);

L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);

RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L)

AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L)

AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));

RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));

RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));

RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),

HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));

RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L)

AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L)

AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1)))));

RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));

RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));

RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J > J24)),LOW,

REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J > J24)))));

CB:=((AMOUNT / VOL) / 100);

CD:=((CB > HIGH) OR (CB < LOW));

黑马趋势:=MA(CLOSE,3);

MAP:=MA(CLOSE,8);

AA5:=MA(CLOSE,21);

AA10:MA(CLOSE,8),COLOR0000FF;

AA12:MA(CLOSE,12),COLOR0000FF;

BB10:=((ATAN((AA10 - REF(AA10,1))) 3.1416) 10);

BB12:=((ATAN((AA12 - REF(AA12,1))) 3.1416) 10);

MA13:=MA(CLOSE,13);

DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0))

AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),

(LOW*999999999),'HULK HULK HULK HULK HULK HULK HULK HULK'),COLORGREEN;

HHH:=(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0))

AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),

(H*999999999),'HULK HULK HULK HULK HULK HULK HULK HULK'),COLORGREEN;

A_1:=REF(CLOSE,1);

A_2:=EMA(HHV(HIGH,1),8);

A_3:=EMA(CLOSE,8);

A_4:=A_3<REF(A_3,1) AND CLOSE<A_3;

A_5:=IF(A_2<REF(A_2,1) OR A_4,1,0);

A_6:=SMA(MAX(CLOSE-A_1,0),2,1)/SMA(ABS(CLOSE-A_1),2,1)*100;

A_7:=45;

A_8:=20;

A_9:=A_6<A_7 AND REF(A_6,1)>A_7;

A_10:=A_6<A_8 AND REF(A_6,1)>A_8;

XGGG:=(COUNT(A_5=1,4)=3 AND A_5=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.045)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.045 AND (REF(A_10,1) OR REF(A_9,1))),COLORYELLOW;

DRAWICON(XGGG,H*99999999,18);

STICKLINE((XGGG),L,H*999999999,2,0),COLORGREEN;

{X1:=(C+L+H)/3;

BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;

EMA8:=EMA(C,8);

DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),

EMA8,'∠45'),COLORMAGENTA;

GGG:=(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),

EMA8,'∠45'),COLORMAGENTA;}

M21:MA(C,21),COLORWHITE;

M55:MA(C,55),COLORYELLOW;

MA72:MA(CLOSE,72),COLORFFFFFF,LINETHICK1;

MA98:MA(CLOSE,98),COLOR00FFFF,LINETHICK1;

MA250:MA(CLOSE,250),COLOR00FF00,LINETHICK1;

X1:=(C+L+H)/3;

X2:=EMA(X1,6);

X3:=EMA(X2,5);

GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5));

GR2:=EMA(X1,13)>EMA(X1,21) AND EMA(X1,21)>EMA(X1,34)

AND EMA(X1,13)>REF(EMA(X1,13),1);

GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);

GR4:=H=HHV(H,GR1);

GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);

GR6:=GR2 AND GR3 AND GR4;

GR7:=GR2 AND GR3 AND GR4 AND GR5;

GR8:=GR6 AND GR7;

LC := REF(CLOSE,1);

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

BIAS5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

MA专业金融:=100*V/CAPITAL;

BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;

EMA8:=EMA(C,8);

DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45升'),COLORFF80FF,LINETHICK2;

VAR6:=REF(C,1);

VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;

{DRAWTEXT(CROSS(84,VAR7),H*1.01,'出'),COLORYELLOW ;};

AA:=WINNER(C+C*15/100)*100;

BB:=WINNER(C+C*0/100)*100;

CC:=AA-BB;

DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;

EE:=CC<3 AND DD<0.5 AND O<>L;

A1:=DYNAINFO(6);

A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));

A3:=V/WINNER(L);

A4:=REF(HHV(C,120),1);

A5:=REF(LLV(C,120),1);

A6:=100*(C-A5)/(A4-A5);

A7:=A2>0 OR A2=1;

A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80 ;

A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);

A10:=A8 AND A9;

进场:FILTER(A8,3);

加仓:FILTER(A10,3) OR EE;

私募机构进场日:STICKLINE(进场,0,0.5,4,0),COLORYELLOW;

私募机构加仓日:STICKLINE(加仓,0,1,4,0),COLORFF00FF;

DRAWTEXT(进场,0.8,'进场'),COLORRED;

DRAWTEXT(加仓,1.3,'加仓'),COLORWHITE;

N:=21;M:=55;Q:=3;

回归:=EMA(SLOPE(CLOSE,N)*20+CLOSE,M)*1,COLORMAGENTA,LINETHICK3;

平滑:=EMA(CLOSE,Q),COLORYELLOW,LINETHICK2;

简单差:=平滑-回归;

DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),平滑*999999999,9);

VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.00 AND CLOSE,88,0);{VAR38>VAR39;}

VAR327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.050 AND VAR326>0, 91, 0);

DRAWTEXT(VAR327>90,LOW*99999999,'●追涨'),COLORGREEN;

STICKLINE((VAR327>90) AND (XYZ)AND TIME<=0931 ,L,L*999999999,500,0),COLORMAGENTA;

STICKLINE((VAR327>90) AND (CJL1)AND TIME<=0931 ,L,L*999999999,500,0),COLORMAGENTA;

STICKLINE((VAR327>90) AND (活跃度比>99)AND TIME<=0931 ,L,L*999999999,500,0),COLORMAGENTA;

V1X:=EMA(CLOSE,60)-EMA(CLOSE,300);

V2X:=EMA(V1X,300);

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

V4:=SMA(V3,2,1),NODRAW;

V5Z:=SMA(V4,2,1),NODRAW;

V6:=CLOSE/REF(CLOSE,3)>=1.094;

V7:=BACKSET(V6,3);

大涨:=(V7 AND COUNT(V7,2.9)=1)*9999999999,LINETHICK9,COLORYELLOW;

大涨1:=(V7 AND COUNT(V7,3)=1)*-9999999999,LINETHICK9,COLORYELLOW;

STICKLINE((大涨),L,L*444444444,500,0),COLORYELLOW;

STICKLINE((大涨) AND (活跃度比>=95),L,L*444444444,500,0),COLORYELLOW;

STICKLINE((大涨) AND (XYZ) ,L,L*444444444,500,0),COLORYELLOW;

STICKLINE((VAR327>90)AND TIME<=0931 ,L,L*999999999,2,0),COLORGREEN;