剑渡迷津主图
M3:MA(CLOSE,3),COLORRED,LINETHICK;
M13:MA(CLOSE,13),COLORRED,LINETHICK;
M34:MA(CLOSE,34),COLORRED,LINETHICK;
X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
IF(M34<REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLORRED;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORRED;
STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORRED;
STICKLINE(M3<M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORYELLOW;
STICKLINE(M3<M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORGREEN;
STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORGREEN;
STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORGREEN;
STICKLINE(M3>=M13 AND M34<REF(M34,1) ,H ,L ,0.1 ,0 ),COLORMAGENTA;
STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLORMAGENTA;
STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLORMAGENTA;
{DRAWTEXT(X,MA(C,120)-0.13,'牛股'),COLORRED,LINETHICK3;};
金牌换手副图
总换手: VOL*10000/FINANCE(7),NODRAW;
STICKLINE(总换手,总换手,0,2,1),COLORLIGRAY;
平均换手线:MA(总换手,250),DOTLINE,LINETHICK1,COLORWHITE;
H1:=总换手 *0.9;
无量换手:总换手<=1,COLORWHITE,NODRAW;
STICKLINE(无量换手,0,H1,1,0),COLORWHITE;
地量换手:总换手>1 AND 总换手<=3,COLORBLUE,NODRAW;
STICKLINE(地量换手,0,H1,1,0),COLORBLUE;
小于壹点2亿:=FINANCE(7)<=120000000;
壹点2亿到3亿:=FINANCE(7)<=300000000 AND FINANCE(7)>120000000;
叁亿到5亿:=FINANCE(7)<=500000000 AND FINANCE(7)>300000000;
伍亿到10亿:=FINANCE(7)<1000000000 AND FINANCE(7)>500000000;
大于10亿:=FINANCE(7)>=1000000000;
SYO1:=小于壹点2亿 AND 总换手>=20;
SYO2:=壹点2亿到3亿 AND 总换手>=15;
SYO3:=叁亿到5亿 AND 总换手>=10;
SYO4:=伍亿到10亿 AND 总换手>=7;
SYO5:=大于10亿 AND 总换手>=5;
警惕:SYO1 OR SYO2 OR SYO3 OR SYO4 OR SYO5,NODRAW,COLORYELLOW;
STICKLINE(警惕,0,H1,1,0),COLORYELLOW;
过半换手:总换手>=50,COLORRED,NODRAW;
STICKLINE(过半换手,0,H1,1,0),COLORRED;
死亡换手:总换手>=70,COLORGREEN,NODRAW;
STICKLINE(死亡换手,0,总换手,2,0),COLORGREEN;
金牌波段红买绿卖副图
X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),5,1)/SMA(ABS(CLOSE-X_1),5,1)*100;
X_3:=SMA(X_2,5,1);
X_4:=BARSLAST(X_2<=15)<5;
X_5:=SMA(X_2,5,1);
X_6:=CROSS(X_2,X_3) AND X_5>15 AND X_4;
X_7:=FILTER(X_6,10);
X_8:=IF(CLOSE>REF((6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1),1),1,IF(CLOSE<REF((6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1),1),(-1),0));
X_9:=BARSLAST(NOT(X_8=0));
X_10:=IF(X_8=0,REF(X_8,X_9),X_8);
触发:X_7,NODRAW,COLORRED;
止损:CLOSE<REF(OPEN,BARSLAST(X_7>0)) AND COUNT(CLOSE<REF(OPEN,BARSLAST(X_7>0)),BARSLAST(X_7>0))=1 AND IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,6),MA(LOW,6)),1,(-1))>0,NODRAW,COLORWHITE;
止盈:HIGH/REF(CLOSE,BARSLAST(X_7>0))>=1.05 OR CLOSE/REF(CLOSE,BARSLAST(X_7>0))>=1.05 AND COUNT(止损,BARSLAST(X_7>0))=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,6),MA(LOW,6)),1,(-1))),BARSLAST(X_7>0))=0,NODRAW,COLORBLUE;
区间:COUNT(X_7,BARSLAST(X_7)+1)=1 AND COUNT(止损,BARSLAST(X_7>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,6),MA(LOW,6)),1,(-1))),BARSLAST(X_7>0)+1)=0,NODRAW,COLOR696960;
结束:COUNT(X_7,BARSLAST(X_7)+1)=1 AND COUNT(止损,BARSLAST(X_7>0)+1)=0 AND COUNT(CROSS(0,IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,5),MA(LOW,5)),1,(-1))),BARSLAST(X_7>0)+1)=1 AND CROSS(0,IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,6),MA(LOW,5)),1,(-1))) OR 止损,NODRAW,COLORGREEN;
STICKLINE(触发>0,0,1,(-1),0),COLORRED;
STICKLINE(止盈>0,0.4,0.6,4,0),COLORBLUE;
STICKLINE(结束>0,0,0.7,(-1),0),COLORGREEN;
STICKLINE(止损>0,0.8,1,(-1),0),COLORWHITE;
X_11:=BARSLASTCOUNT(止盈>0);
DRAWTEXT(止盈>0,0.5,VAR2STR(X_11,0));
金牌低吸副图
VARA1:=REF(LOW,1);
VARA2:=SMA(ABS(LOW-VARA1),3,1)/SMA(MAX(LOW-VARA1,0),3,1)*100;
VARA3:=EMA(IF(CLOSE*1.2,VARA2*2.5,VARA2/10),3);
VARA4:=LLV(LOW,38);
VARA5:=HHV(VARA3,38);
VARA6:=IF(LLV(LOW,90),1,0);
VARA7:=EMA(IF(LOW<=VARA4,(VARA3+VARA5*2)/2,0),3)/618*VARA6;
VARA8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VARA9:=SMA(VARA8,13,8);
主力吸货:VARA7,COLOR0000FF;
吸筹1:STICKLINE(VARA7,0,VARA7,6,0),COLOR0000FF;
吸筹2:STICKLINE(VARA7,0,VARA7,5,0),COLOR6600FF;
吸筹3:STICKLINE(VARA7,0,VARA7,4,0),COLORBB00FF;
吸筹4:STICKLINE(VARA7,0,VARA7,3,0),COLORFF00FF;
吸筹5:STICKLINE(VARA7,0,VARA7,2,0),COLORFF33FF;
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
底: EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10, COLOR804000;
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
KM:=SMA(RSV,3,1);
KT:=SMA(KM,3,1),LINETHICK1;
DT:=SMA(KM,11,1),LINETHICK1;
LOWV:=LLV(LOW,8);
HIGHV:=HHV(HIGH,8);
RSV2:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
AT:=EMA(RSV,3),COLORFFFF00,LINETHICK1;
BT:=MA(AT,3),COLORFFFF00,LINETHICK1;
VAR1J:=3;
VAR2J:=((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)));
金牌低吸:IF(CROSS(VAR2J,VAR1J),1,0),COLOR8000FF,NODRAW;
STICKLINE(金牌低吸,0,20,1,0),COLOR8000FF;
DRAWICON(金牌低吸,22,9);