主图
MM:MA(C,13),COLOR0000FF;
FL:LLV(MM,10),COLORFFAA00;
FS:(MM-(FL-MM)),COLOR00FFFF;
IF(FS=MM,FS,DRAWNULL),COLOR00F000,LINETHICK3;
AMV0:=VOL*(O+C)/2;
三线开花买点:CROSS(FS,MM+0.01),COLOR0000FF,NODRAW;
DRAWICON(三线开花买点=1,L,42);
VAR1:=EMA(EMA(CLOSE,20),9);
控盘:=60+(VAR1-REF(VAR1,1))/REF(VAR1,1)*10000;
低控盘:=控盘>50 AND 控盘<60 AND 控盘>MA(控盘,3);
中控盘:=控盘>60 AND 控盘<100 AND 控盘>MA(控盘,3);
高控盘:=控盘>100 AND 控盘>MA(控盘,3);
控盘买点:=CROSS(低控盘,0.5) OR CROSS(中控盘,0.5) OR CROSS(高控盘,0.5);
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金趋势:=(B-B1)*100/B;
三色球信号:(CROSS(FS,MA(FS,3)) OR 控盘买点=1) AND FS>MM AND 资金趋势>1,COLOR00FFFF,NODRAW;
DRAWICON(三色球信号,L*0.97,18);
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
九品神龙:FILTER(LS,28),COLORRED,NODRAW;
STICKLINE(九品神龙,H,L,0.5,0),COLORRED;
STICKLINE(九品神龙,O,C,4,0),COLORRED;
DRAWTEXT(FILTER(LS,28),L*0.99,'龙'),COLOR00FFFF;
K:=EMA(C,2);K1:=EMA(K,2);K2:=EMA(K1,2);K3:=EMA(K2,2);
快:=EMA(K1,3);慢:=EMA(K3,7);限时:=1;
A1:=EMA(C,14);
A1X:=(A1-REF(A1,1))/REF(A1,1)*100* 限时;
一板:=C>REF(C,1)*1.095 AND C<REF(C,1)*1.118 AND C=H AND REF(C,1)<REF(C,2)*1.095;
M1:=一板 AND V<REF(V,1);
MAVOL1:=MA(V,5);
夹1:=C>REF(C,1)*1.08 AND REF(C,1)<REF(C,2)*1.08 AND REF(C,2)>REF(C,3)*1.08 AND REF(C,3)<REF(C,4)*1.08;
夹2:=C>REF(C,1)*1.08 AND REF(C,1)<REF(C,2)*1.08 AND REF(C,2)<REF(C,3)*1.08 AND REF(C,3)>REF(C,4)*1.08 AND REF(C,4)<REF(C,5)*1.08;
火箭:(一板 AND C>O AND V>REF(MAVOL1,1)*2) OR (M1 AND C>O) OR (夹1) OR (夹2) OR (CROSS(A1X,0) AND C>=REF(HHV(H,7),1) AND C>REF(C,1)*1.08 AND C=H AND CROSS(快,慢) AND C>=快 AND C>O),NODRAW,COLORYELLOW;
STICKLINE(火箭,O,C,2,0),COLOR00FFFF;DRAWTEXT(火箭,L*0.98,'火箭'),COLORFFFFFF;
{概念板块}
DRAWTEXT_FIX(1,0.05,0.03,0,HYBLOCK),COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.03,0,DYBLOCK),COLOR0000FF;
DRAWTEXT_FIX(1,0.09,0.03,0,'概念:'),COLORWHITE;
DRAWTEXT_FIX(1,0.11,0.03,0,GNBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.01,0.1,0,'风格:'),COLORWHITE;
DRAWTEXT_FIX(1,0.03,0.1,0,FGBLOCK),COLORRED;
副图1
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);VOLUME:=VOL,VOLSTICK;
MAVOL5:=MA(VOLUME,5);
MAVOL21:=MA(VOLUME,21);
MAVOL65:=MA(VOLUME,65);
STICKLINE(CROSS(MAVOL5,MAVOL21),5,8,2,0),COLORWHITE;
周DIF:=("MACD.DIF#WEEK");
周DEA:=("MACD.DEA#WEEK");
周MACD:=2*(周DIF-周DEA);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:BARSLAST(DIFF< REF(DIFF,1)),COLOR00FFFF,LINETHICK1;
A11:A1*-1,COLOR00FFFF,LINETHICK1;
A2:BARSLAST(DEA< REF(DEA,1)),COLORRED,LINETHICK1;
A22:A2*-1,COLORRED,LINETHICK1;
DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150));
DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20));
STICKLINE(周MACD>REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORRED;
STICKLINE(周MACD< REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORYELLOW;
STICKLINE(周MACD>REF(周MACD,1) AND 周MACD< 0,-5,5,18,0),COLORLIRED;
STICKLINE(周MACD< REF(周MACD,1) AND 周MACD< 0,-5,5,18,0),COLORBLUE;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,-3,3,3.5,1),COLORLIRED;
STICKLINE(MACD< REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORYELLOW;
STICKLINE(MACD< REF(MACD,1) AND MACD< 0,-3,3,3.5,1),COLORBLUE;
DIIFF:=(EMA(A1,5) - EMA(A1,10));
DEAA:=EMA(DIIFF,3);
K线动能:=(DIIFF-DEAA),COLORYELLOW;
STICKLINE((K线动能 > 0),-1,1,1.5,0),COLOR0000FF;
STICKLINE((K线动能 < 0),-1,1,1.5,0),COLOR00FF00;
STICKLINE(CROSS(DIFF,DEA),0,0.04,5,1),COLORYELLOW;
STICKLINE(CROSS(DIFF,DEA),0.04,0.08,5,0),COLORRED;
STICKLINE(CROSS(DIFF,DEA),0.08,0.12,5,1),COLORYELLOW;
STICKLINE(CROSS(DIFF,DEA),0.12,0.16,4,1),COLORRED;
STICKLINE(CROSS(DIFF,DEA),0.16,0.2,3,1),COLORRED;
STICKLINE(CROSS(DIFF,DEA),0.2,0.24,2,0),COLORWHITE;
STICKLINE(CROSS(DIFF,DEA) AND DIFF< 0,A11,0,2,0),COLORRED;
STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;
STICKLINE(CROSS(DEA,DIFF) AND DIFF< 0,A11,0,2,0),COLORBLUE;
STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;
MACD底背离: STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW;
STICKLINE(A1>0 AND A2>0,A2,A1,0.00001,0),COLORFFFFFF;
STICKLINE(A1>0 AND A2>0,A22,A11,0.00001,0),COLORFFFFFF;
STICKLINE(A1>0 AND A2>0,0,A1,0.000001,0),COLORFF00FF;
STICKLINE(A1>0 AND A2>0,0,A11,0.000001,0),COLORGREEN;
DRAWTEXT(CROSS(DIFF,DEA) AND DIFF< 0,-5,'〇'),COLORCYAN;
DRAWTEXT(CROSS(DIFF,DEA) AND DIFF< 0,-12,'〇'),COLORCYAN;
DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,5,'〇'),COLORGREEN;
DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,12,'〇'),COLORGREEN;
DRAWTEXT(A2>A1 AND A22< A11 AND A1=0 AND A11=0,A2,'∈'),COLORGREEN;
DRAWTEXT(A2>A1 AND A22< A11 AND A1=0 AND A11=0,0,'∈'),COLORGREEN;
DRAWTEXT(A2>A1 AND A22< A11 AND A1=0 AND A11=0,A22,'∈'),COLORGREEN;
STICKLINE(CROSS(DIFF,DEA) AND DIFF< 0,A11,0,2,0),COLORRED;
STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;
STICKLINE(CROSS(DEA,DIFF) AND DIFF< 0,A11,0,2,0),COLORBLUE;
STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;
N:=5;
M1:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,M1,5);
J:=3*K-2*D;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)));
低买:=IF(黄金 AND RSV< VARB2-2,50,0);
高卖:=IF(黄金 AND RSV>VARB2,80,120);
上涨分界:=25;
KDJ提前金叉:(CROSS(上涨分界,低买)),COLORFF00FF,NODRAW;
DRAWTEXT(KDJ提前金叉,0,'⊙'),COLORFFFFFF;
DRAWTEXT_FIX(1,0.05,0.02,0,'【大池不红君莫入,大池变黄君莫贪】'),COLORYELLOW;
DRAWTEXT_FIX(1,0.05,0.07,0,'【中池变黄小池绿,如在鱼尾逃命急】'),COLORYELLOW;
副图2
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
X_1:=EMA(CLOSE,7)-EMA(CLOSE,21);
X_2:=EMA(0.668*REF(X_1,1)+0.333*X_1,1);
X_3:=IF(X_1>=X_2,X_1,X_2);
X_4:=IF(X_2-X_1,X_2,X_1);
X_5:=CROSS(X_3,X_4) AND X_3-X_4=0;
持币:IF(X_3-X_4=0,1,0),POINTDOT,COLORGREEN;
持股:IF(X_3-X_4>0,1,0),POINTDOT,COLORRED;
买值:X_3-X_4;
卖值:X_4-X_3;
副图3
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
E1:=EMA(C,13);
E2:=EMA(C,55);
A1:=COUNT(E1<REF(E1,1),5)>=3 AND E1>REF(E1,1);
A2:=COUNT(E2>REF(E2,1),13)>=8 AND E2>REF(E2,1);
A3:=LLV((L/E2-1),13)<=0.1;
A4:=COUNT(E1>E2,13)=13;
A5:=COUNT(C>E2,5)=5;
A6:=CROSS(C,E1);
A7:=V>MA(V,5);
YT:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7;
LYT:=FILTER(YT,10);
FXG:=FINANCE(42)>100;
NTP:=DYNAINFO(8)>0;
ZF:=C/REF(C,1);
剑指低吸指标:LYT AND FXG AND NTP AND ZF>1.03 AND ZF<1.05 AND V/REF(V,1)<2.4 AND H/C<1.02;