DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA1:MA(CLOSE,120),DOTLINE,COLORYELLOW;
MA2:MA(CLOSE,250),DOTLINE,COLORMAGENTA;
VAR1:=MA(CLOSE,120);
VAR2:=MA(CLOSE,250);
DRAWTEXT(CROSS(VAR1,VAR2),VAR1,1),COLORYELLOW,LINETHICK4;
DRAWTEXT(CROSS(VAR2,VAR1),VAR1,2),COLORWHITE,LINETHICK4;
STICKLINE(CLOSE=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,LOW,OPEN,0,0),COLORCYAN;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(OPEN>CLOSE,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND OPEN>=CLOSE,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND OPEN>=CLOSE,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND OPEN<CLOSE,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND OPEN<CLOSE,OPEN,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND OPEN<CLOSE,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(CLOSE>VAR1 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(CLOSE<VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE<VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(VAR1>VAR2 AND CLOSE<VAR1 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORGREEN;
STICKLINE(VAR1>VAR2 AND CLOSE<VAR1 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORGREEN;
STICKLINE(VAR1>VAR2 AND CLOSE<VAR1 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(VAR1>VAR2 AND CLOSE<VAR1 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(VAR1>VAR2 AND CLOSE<VAR1 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORCYAN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORCYAN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORCYAN;
STICKLINE(VAR1>VAR2 AND CLOSE>VAR1 AND VAR1<REF(VAR1,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORCYAN;
STICKLINE(CLOSE<VAR2 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORBLUE;
STICKLINE(CLOSE<VAR2 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORBLUE;
STICKLINE(CLOSE<VAR2 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORBLUE;
STICKLINE(CLOSE<VAR2 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORBLUE;
STICKLINE(CLOSE<VAR2 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORBLUE;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORYELLOW;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>OPEN,OPEN,LOW,0,0),COLORYELLOW;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORYELLOW;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT_FIX(1,0,1.02,0,3),COLORWHITE;
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 ,COLORCYAN,LINETHICK2;
{板块排名}
TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=STRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.25,0.2,0,STRCAT(TAA,CON2STR(TAX,0)));
走强线:=EMA(COST(99),181),COLORYELLOW,LINETHICK2;
PT := REF(HIGH,1)-REF(LOW,1);
重心:=(HIGH + LOW + CLOSE)/3,NODRAW;
压力Ⅰ:= 2*重心-LOW,NODRAW;
压力Ⅱ:=重心 + PT,NODRAW;
支撑Ⅰ:=2*重心-HIGH,NODRAW;
支撑Ⅱ:= 重心 - PT,NODRAW;
AAA:=CONST(HHV(H,90));
R1:=MA(CLOSE,1);
R2:=MA(CLOSE,3);
R3:=(MA(R2,1)*1);
R4:=(MA(R2,3)*1);
DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'买'),COLORBDB76B;
X1:=(C+L+H)/3;
DD:=TOTALCAPITAL;
SS:=FINANCE(7);
GG:=FINANCE(33);
TH:=DYNAINFO(39);
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
{DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'跑'),COLORGREEN;}
初始流入:=FINANCE(21)/100000000,COLORCYAN,NODRAW;
逐步流入:=FINANCE(23)/100000000,COLORRED,NODRAW;
加快流入:=FINANCE(30)/100000000,COLORRED,NODRAW;
准备上攻:=FINANCE(19)/100000000,COLORGREEN,NODRAW;
MACC1:=EMA(C,2),COLOR0000FF,LINETHICK1;
MACC2:=REF(MACC1,1),COLORFFFFFF;
MACC3:=EMA(EMA(C,7),6),COLOR00FFFF,LINETHICK1;
XGL:=DRAWBAND(MACC1,RGB(255,0,0),MACC2,RGB(0,0,0));
{大红色255、0、0 / 0、255、0} {黄色块及坑后上涨;K线低位黄金坑。有未来。 该组源码的作用是:在大盘股指的时间周期末端,波段拉升前的挖坑洗盘重要标志。 该标志,仅仅作为分辨右侧交易前,研判大牛股启动的左侧黄色K线坑的建仓洗盘。并非左侧买进信号!} NQ:=20;
M1P:=30;
P1P:=80;
P2P:=100;
VAR1P:=(C+H+O+L)/4;
洗盘P:=XMA(VAR1P,M1P)*(1-P2P/1000),COLORRED,LINETHICK2;
STICKLINE(CCI<=100 AND L<=洗盘P,(L + H + O) / 3.2,O,3.5,0),COLORRED;
{绿色K线;有函数} M51:=MA(C,1),COLORRED,LINETHICK3;
TYF:=H;
A818:=REF(TYF,10)=HHV(TYF,2*10+1);
B18:=FILTER(A818,10);
C18:=BACKSET(B18,10+1);
HHD8:=FILTER(C18,10);
A828:=REF(TYF,10)=LLV(TYF,2*10+1);
B28:=FILTER(A828,10);
C28:=BACKSET(B28,10+1);
LLD8:=FILTER(C28,10);
未来K线:=REF(H,BARSLAST(HHD8)),LINETHICK1;
XG0:=IF(M51<未来K线,M51,DRAWNULL),COLORBLACK,LINETHICK1;
{STICKLINE(XG0,CLOSE,OPEN,3,0),COLORGREEN;}
{STICKLINE(XG0,CLOSE,OPEN,0.00001,0),COLORGREEN;}
CF:=(C-REF(C,1))/(REF(C,1))*100,COLORYELLOW,NODRAW;
STICKLINE(PERIOD=5 AND CF>1.0975 AND H=C AND O<>C,O,O+(H-O)/3,2.5,0),COLORYELLOW;
STICKLINE(PERIOD=5 AND CF>1.0975 AND H=C AND O<>C,O+(H-O)/3,O+(H-O)/3*2,2.5,0)COLORMAGENTA;
STICKLINE(PERIOD=5 AND CF>1.0975 AND H=C AND O<>C,O+(H-O)/3*2,C,2.5,0),COLORYELLOW;
{黄金跑道线} K2:=1;
M55:=MA(C,3),COLORRED,LINETHICK3;
A:=EMA((EMA(C,29)+EMA(C,31)+EMA(C,33))/3,3);
A1J:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLOR1010FF;
A3:=IF(K2!=2,EMA((EMA(C,5)+EMA(C,6)+EMA( C,7))/3,3),DRAWNULL),COLORCYAN,LINETHICK2;
A15D:=IF(K2!=2, A-(A1J-A*0.977),DRAWNULL),COLORBLUE,LINETHICK2;
OUTI:=CROSS(M55,A15D);
XGP:=IF(M55>REF(A3,1),A3,DRAWNULL),COLORYELLOW,LINETHICK3;
{黄金跑道线};
{突破捉妖。拉升信号} {三轨主图} MC:=100;
NN:=0.7;
{0.4} MIDZ:=MA(CLOSE,MC),COLORLIGRAY,LINETHICK2;
{中轨} UPPER:=MIDZ+NN*STD(CLOSE,MC),COLORLIGRAY,LINETHICK4;
{上轨} LOWER:=MIDZ-NN*STD(CLOSE,MC),COLORLIGRAY,LINETHICK4;
{下轨};
{2、中期下插线} AN1:=MA(C,3);
AN2:=MA(C,21);
AN3:=(AN1+AN2)/2;
BOLLN2:=MA(CLOSE,13);
UBN2:=BOLLN2+2*STD(CLOSE,13);
LBN2:=BOLLN2-2*STD(CLOSE,13);
BN1:=MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);
{34} 分水岭N1:=IF(MA(CLOSE,100)<BN1,BN1,MA(CLOSE,100)),LINETHICK0;
Y1:=分水岭N1-(EMA(C,2)-分水岭N1),COLORRED,LINETHICK1;
{IF(Y1>AN3,Y1,DRAWNULL),COLORBLACK,LINETHICK1;
} {Y1下穿出LOWER,出突破捉妖15,即将拉升信号;例证601116三江购物} OUT6:=CROSS(LOWER,Y1);
DRAWICON(OUT6,L*1,14);
{DRAWTEXT(OUT6,L*0.96,'↖突破捉妖'),COLORWHITE;}
{开天眼——只适合做K线向上爬坡,波段初起时的股票,当趋势结束会消失。 出信号后——不要在纠结过往的大牛股为什么没信号,那是因为前一波段已经结束! } BR:=MA(CLOSE,8)+MA(CLOSE,8)-REF(MA(CLOSE,8),1);
{原13} 分水岭R:=IF(MA(CLOSE,13)<BR,BR,MA(CLOSE,13)),COLORFF00FF,NODRAW;
{原17} YR:=分水岭R-(EMA(C,3)-分水岭R),COLORRED,LINETHICK2;
XGC:=IF(YR>AN3,YR,DRAWNULL),COLORBROWN,LINETHICK2;
F2:=BARSLAST(EMA(C,3)<=EMA(C,5));
{3、13} F3:=IF(EMA(C,3)>=EMA(C,3),EMA(C,5),DRAWNULL);
{3、13、5;3、3、30} F5:=IF(CURRBARSCOUNT<CONST(F2+3),F3,DRAWNULL),COLORRED,LINETHICK4;
{F5上穿YR开天眼} OUTF:=CROSS(F5,YR);
{STICKLINE(OUTF,L*1.27,L*1.05,0.01,0),COLORWHITE;
DRAWTEXT(OUTF,L*1.28,'★开天眼'),COLORWHITE;}
{压力斜线}
{DRAWLINE(H>=HHV(H,20),H,L<=LLV(L,5),HHV(H,5),1),COLORWHITE,LINETHICK2;}
{★追财神——原则上K线变红时才追} VAR16:=MA(CLOSE,30);
下轨16:=VAR16-2*STD(CLOSE,60),COLORCYAN;
成本16:=MA(CLOSE,60),COLORLIGRAY,LINETHICK3;
{POINTDOT} 上轨16:=VAR16+2*STD(CLOSE,60),COLORWHITE;
XG16:=CROSS(C,上轨16);
{STICKLINE(XG16,L*1.20,L*1.06,0.000099,0),COLORYELLOW;
DRAWTEXT(XG16,L*1.20,'★追财神'),COLORYELLOW;}
N1:=7;
LCZ:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LCZ,0),N1,1)/SMA(ABS(CLOSE-LCZ),N1,1)*100,COLORRED,LINETHICK1;
H11:=EMA(DCLOSE,5);
A1Z:=LLV(DCLOSE,5);
L11:=LLV(L,10);
敢死队操作线:=MA(C,24),LINETHICK2,COLORLIMAGENTA;
操作线2:=MA(C,26),LINETHICK1,COLORLICYAN;
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XGG:=CROSS(爆发点,20) OR CROSS(爆发点,18);
L3:=IF(XGG,O,L11*0.999),COLORYELLOW;
STICKLINE(XGG,L3,L3,100,1);
DRAWTEXT(XGG,L3,'爆爆爆爆爆爆爆爆爆爆爆'),COLOR0099FF;