更多選股公式歡迎大家閱讀《
》。
選股方式多種多樣,指标公式隻是其中一種,所以散戶朋友們多多參考多多實踐,不要讓指标公式迷惑了自己的眼睛。未來還有很多新的指标會出現,而對指标計算方式的理解才是選股的真谛。
自編成交量--------非常好
m 2 100 30 n 1 100 5
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL/10000,POINTDOT;
主買:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
主賣:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 增倉量:=(主買)-(-主賣),COLORWHITE;
CRS:=增倉量/CAPITAL*100,COLORMAGENTA;
增倉率%:CRS,COLORMAGENTA;
增2日:SUM(CRS,2),COLORWHITE;
增5日:SUM(CRS,5),COLORWHITE;
增30日:SUM(CRS,30),COLORWHITE;
地量:=(VOL=LLV(VOL,0),LLV(VOL,10));
曆史天量:=(VOL=HHV(VOL,0),HHV(VOL,30));
成交金額億:=AMOUNT/100000000,COLORYELLOW;
STICKLINE(VOL>0,VOL,0,2,1),COLORWHITE;
STICKLINE(主買>0,0,主買,2,0),COLORRED;
STICKLINE(主賣<0,0,主賣,2,0),COLORGREEN;
STICKLINE(增倉率%>0,0,增倉量,2,0),COLOR000099;
DRAWTEXT(VOL=HHV(VOL,0),HHV(VOL,30)*0.818,'曆史天量');
DRAWTEXT(VOL=LLV(VOL,0),LLV(VOL,6)*0.918,'地量');
VAR18:=HHV(HIGH,N);
VAR19:=LLV(LOW,M);
HZ:=(CLOSE-VAR19);
HZ1:=(VAR18-VAR19)*100;
HZ2:=8*(-20000);
TZ:=(HZ/HZ1/HZ2);
TZ1:=-100*TZ;
HZ11:=EMA(TZ1,5)*60000;
HZ10:=EMA(TZ1,5)*(60000);
HZ12:HZ11*600000,LINETHICK2,,COLORGREEN;
HZ13:HZ10*(-600000),LINETHICK2,COLORGREEN;
探底:IF((HZ12<=5),58,0),COLORFF00FF;
===================================
莊家抄底王
周期(15,1,100), 過濾(8,1,100),選股(-26, -30,-20),抄底(-40,-50,-25);
VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,10);
VAR4:=MA(CLOSE,20);
VAR5:=MA(CLOSE,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/(4);
VAR7:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);
VAR8:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);
VAR9:=EMA(VAR7,過濾);
紅包:IF((TROUGHBARS(3,15,1)=0) AND
(HIGH>LOW+0.01),10,(-5)),Color00FF00;
反轉:STICKLINE(Var9>1*REF(Var9, 1), Var7, 0, 5, 0), COLOREE00EE;
持股:STICKLINE(Var7>1*REF(Var7, 1), Var7, Var9, 5, 0), COLORRED;
持币:STICKLINE(Var7<1*REF(Var7, 1), Var7, Var9, 5, 1),
COLORGREEN;
洗盤:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1),
Var7, Var9, 10, 0), COLOR00EEFF;
VAR10:=((CLOSE-MA(CLOSE,58))/(MA(CLOSE,58)))*(100);
VAR11:=((VAR10>(1)*(REF(VAR10,1))) AND (VAR10<選股) AND
(VAR10>抄底))*(1.5);
VAR12:=((VOL)/(CAPITAL))*(100);
VAR13:=LLVBARS(LOW,50);
VAR14:=SUM(VOL,VAR13);
VAR15:=HHVBARS(HIGH,50);
VAR16:=SUM(VOL,VAR15);
VAR17:=((CLOSE-REF(OPEN,VAR15))/(REF(OPEN,VAR15)))*(100);
VAR18:=((VAR16)/(CAPITAL))*(100);
VAR19:=((CLOSE-REF(OPEN,VAR13))/(REF(OPEN,VAR13)))*(100);
VAR20:=((VAR14)/(CAPITAL))*(100);
VAR21:=MA(CLOSE,3);
VAR22:=(REF(CLOSE,2))*(0.86500001);
VAR23:=(REF(CLOSE,13))*(0.77200001);
VAR24:=MIN(VAR22,VAR23);
VAR25:=MA(CLOSE,13);
抄底王:(IF(((CLOSE-VAR24)/(CLOSE)<0.02999999) AND (VAR17<(-35))
AND ((SUM(VAR12,5))/(5)<1.8),1,0))*(10),ColorFFFFFF;
DRAWTEXT(抄底王, 抄底王, ' 成功率90追 '), COLORFFAA00;
VAR26:=((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);
VAR27:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100);
VAR28:=EMA(VAR27,9);
VAR29:=(2)*(VAR27-VAR28);
DRAWTEXT(Var27<(-50) AND Var26>7 AND Var27 COLORWHITE;
DRAWTEXT(Var27<(-50) AND Var26>7 AND Var27>=Var28, 5, '追'),
COLORWHITE;
STICKLINE(Var27<(-50) AND Var26>7, 0,(-10), 5, 0),
COLORFFFF66;
波段王
VAR1B:=EMA(CLOSE,2)-EMA(CLOSE,64);
VAR1C:=EMA(VAR1B,30);
VAR1D:=2*(VAR1B-VAR1C)*10;
VAR1D2:=EMA(VAR1D,6);
D1:=EMA(C,3)-EMA(C,11);
D2:=EMA(O,3)-EMA(O,11);
D3:=EMA(H,3)-EMA(H,11);
D4:=EMA(L,3)-EMA(L,11);
VAR1DK:=(VAR1B-VAR1C);
VAR1D2K:=EMA(VAR1DK,6);
VARCJ3:=LLV(V*HIGH,240);
VARCJ4:=100*(V*C-VARCJ3)/VARCJ3;
HH:VAR1DK-VAR1D2K,COLORSTICK,LINETHICK2;
WD:=
SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),11);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),11);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),11);
PDI:=DMP*100/WD;
MDI:=DMM*100/WD;
AA:=PDI-MDI;
熊市:=IF(AA<0,AA,0);
牛市:=IF(AA>0,AA,0);
STICKLINE(熊市,0,HH,0,0),COLORGREEN;
大勢向好:STICKLINE(牛市,0,HH,0,0),COLORLIRED;
STICKLINE(VAR1D>=VAR1D2,D1,D2,3,0),COLORRED;
STICKLINE(VAR1D<=VAR1D2,D1,D2,3,0),COLORCYAN;
STICKLINE(VAR1D>=VAR1D2,D3,D4,0,0),COLORRED;
STICKLINE(VAR1D<=VAR1D2,D3,D4,0,0),COLORCYAN;
AA2:=REF(L,8)=LLV(L,2*8+1);
BB2:=BACKSET(AA2,8+1);
CC2:=FILTER(BB2,8) AND L=LLV(L,8+1);
STICKLINE(CC2,D1,D2,4,0),COLORMAGENTA;
STICKLINE(CC2,D3,D4,0,0),COLORMAGENTA;
AA3:=REF(H,8)=HHV(H,2*8+1),LINETHICK0;
BB3:=BACKSET(AA3,8+1),LINETHICK0;
CC3:=(FILTER(BB3,8) AND H=HHV(H,8+1));
STICKLINE(CC3,D1,D2,4,0),COLORGREEN;
STICKLINE(CC3,D3,D4,0,0),COLORGREEN;
DRAWTEXT(CC3,D2*1.03,'⊙←賣 '),COLOR00FF00;
DRAWTEXT(CC2,D4-D4*0.02,'⊙←買 '),COLORMAGENTA;
神仙指路1号
Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
Var6:=(Var3+Var4+Var5)/3;
Var7:=EMA(Var6,5);
指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;
Var8:=IF(Var6<=-20,10,0);
Var9:=HHV(Var8,10);
STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;
VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:EMA(Var7,5)*2, LINETHICK2, COLORff00ff;
D:EMA(K,5), LINETHICK2, COLORWHITE;
J:K*3-D*2, ,COLORYELLOW;
VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
換手: VOL/CAPITAL*100, , COLORYELLOW;
成交〖萬手〗: VOL/10000, ,COLORWHITE;
DRAWTEXT(Var8=10 AND
FILTER(Var8=10,5),-10{15},'近底部'),linethick1,COLORYELLOW;
STICKLINE(Var8=10 AND
FILTER(Var8=10,5),-1.6{20},-10,5,0),coloryellow;
DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;
STICKLINE((VarA=20),0,10,5,0),colorwhite;
VARC:(ZIG(3,5)>REF(ZIG(3,5),1)) AND
(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)[ (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
]
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;
DRAWTEXT((VARC=1),(-14),'買'),Color0000FF;
STICKLINE((VARD=1),14,0,4,0),Color00FF00;
DRAWTEXT((VARD=1),18,'賣'),Color00FF00;
VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var11:=VarF[REF(VOL,1) AND
]
CLOSE>REF(CLOSE,1);
DRAWTEXT(Var11 AND
COUNT(Var11,30)=1,15,'大資金活動'),linethick1,COLORff00ff;
STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;
Var12:=(HIGH+LOW+CLOSE)/3;
Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));
Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));
Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND
Var14<200,10,0);
Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND
Var14>-200,-10,Var15);
Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var18:=100-ABS(Var17);
Var19:=IF(Var18<90,Var18,100);
Var1A:=IF(VarE>0,VarE,0);
Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND
Var13<=-150,-15,Var16))+60;
Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;
DRAWTEXT(Var1C AND
COUNT(Var1C,30)=1,15,'大筆出貨'),linethick1,COLORffcc66;
STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;
===============================
大智慧用
均線上升角度 n11005
AA:=MA(C,5);
BB:=REF(MA(C,5),1);
CC:(AA-BB)/BB>N/100;
aa:=ma(c,5);{這是5日均線} bb:=ref(ma(c,5),1);{這是昨日5日均線}
cc:(aa-bb)/bb>n/100;{這是5日均線增長比率,比率越大,其上長的斜率就越大}
n是參數,n%是5日均線的增長比率,因此n定5以上可能其的斜率就越大,你可試試。)
通達信用
N1 10025
AA:=MA(C,5);
BB:=REF(MA(C,5),2);
CC:(AA-BB)/BB>N/100;
權證專用超短線
VAR1:=(2*CLOSE+HIGH+LOW)/3;{可将3該為4,信号少點}
VAR2:=EMA(EMA(EMA(VAR1,3),3),3);{可将3該為4,信号少點}
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3),linethick2;
K: MA(J,1),linethick2;
drawtext(cross(D,k),D+0.8,'賣'),color00CC99;
drawtext(cross(k,D),D-0.3,'買'),colorYELLOW;
精确指示買賣--------極品指标
買:ZIG(3,10)>REF(ZIG(3,10),1) AND
REF(ZIG(3,10),1)[ 賣:ZIG(3,10)][ REF(ZIG(3,10),1)>REF(ZIG(3,10),2),COLORF0F000;
]
仿DDX-------精品
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL/10000,POINTDOT;
主買:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 主賣:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 增倉量:(主買)-(-主賣),COLORWHITE;
crs:=增倉量/CAPITAL*100,COLORYELLOW;
增倉率%:crs,COLORYELLOW;
增2日:SUM(crs,2),COLORWHITE;
增3日:SUM(crs,3),COLORWHITE;
增7日:SUM(crs,7),COLORWHITE;
z15: SUM(crs,15),COLORWHITE;
月增:SUM(crs,30),COLORWHITE;
成交金額億:AMOUNT/100000000,COLORYELLOW;
STICKLINE(VOL>0,VOL,0,4,1),COLORWHITE;
STICKLINE(主買>0,0,主買,4,0),COLORRED;
STICKLINE(主賣<0,0,主賣,4,0),COLOR00FF00;
STICKLINE(增倉率%>0,0,增倉量,4,0),COLORYELLOW;
DRAWTEXT(VOL=HHV(VOL,0),HHV(VOL,30)*0.818,'曆史天量');
極準的公式
來勢線: EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW,LINETHICK2 ;
福星: EMA(來勢線,7), COLORSTICK,COLORRED;
VAR1:=CLOSE/REF(LLV(LOW,35),5)< 1;
決策: IF(VAR1,0.5,0), STICK,COLORBLUE;
必買: IF(TROUGHBARS(3,15,1)=0 AND
HIGH>LOW+0.01,1,-1),COLORYELLOW ,LINETHICK1 ;
必賣: IF(PEAKBARS(3,15,1)=1,1,2),COLORF0F000,LINETHICK1;
趨勢線:
(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,COLORRED,LINETHICK2
;
逃頂線: EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR007000
,LINETHICK1;
低買: DRAWTEXT(REF(CROSS(趨勢線,來勢線),3) AND
趨勢線>0.3*來勢線,來勢線,'低買'),COLORYELLOW,linethick1;
·高出:DRAWTEXT(REF(CROSS(來勢線,趨勢線),1) AND
來勢線>0.1*趨勢線,趨勢線,'·出'),COLORFFFF00,linethick1;
會員指标------極品
Var1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
Var2:=HIGH-REF(HIGH,1);
Var3:=REF(LOW,1)-LOW;
Var4:=SUM(IF(Var2>0 AND Var2>Var3,Var2,0),25);
Var5:=SUM(IF(Var3>0 AND Var3>Var2,Var3,0),25);
Var6:=Var4*100/Var1;
Var7:=Var5*100/Var1;
Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100,15);
Var9:=(Var8+REF(Var8,15))/2;
A:=(Var7>Var6 AND Var7>25 AND Var6<25);
B:ZIG(3,50/5)*100,colorwhite;
g:MA(B,2),coloryellow;
D:=CROSS(B,g)*1000,colorred;
W:=cross(g,B)*1000,colorblue;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
Var10:=F AND F<8;
Var11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var12:=SMA(Var11,3,1);
Var13:=SMA(Var12,3,1);
Var14:=Var13 AND Var13<20;
mm:=A AND D AND Var10 AND Var14 ;
DRAWTEXT(W=1000,b*1.05,'賣' ),COLOR00ff00;
DRAWTEXT(D=1000,b*1.05,'買'),COLORred;
莊家畢露
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
莊秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
莊秘進: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大籌金進場: IF(VB>=0,VB,0),COLOR00FF00,LINETHICK2;
大籌金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;
aa:=WINNER(CLOSE+CLOSE*15/100)*100;
bb:=WINNER(CLOSE+CLOSE*0/100)*100;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
ee:=cc<3 and dd<0.5 and OPEN<>LOW;
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,120),1);
a5:=REF(LLV(CLOSE,120),1);
a6:=100*(CLOSE-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;
a11:=IF(FILTER(a8,3),5,0);
a12:=IF(FILTER(a10,3) or ee,10,0);
籌碼進場日:IF(a11,8,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
籌碼加倉日:IF(a12,88,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
STICKLINE(a11,0,5,5,0),colorff7700;
STICKLINE(a11,0,5,4.5,0),colorff8800;
STICKLINE(a11,0,5,4,0),colorff9900;
STICKLINE(a11,0,5,3.5,0),colorffaa00;
STICKLINE(a11,0,5,3,0),colorffbb00;
STICKLINE(a11,0,5,2.5,0),colorffcc00;
STICKLINE(a11,0,5,2,0),colorffdd00;
STICKLINE(a11,0,5,1,0),colorffee00;
STICKLINE(a12,0,15,4.5,0),color102099;
STICKLINE(a12,0,15,4,0),color1020aa;
STICKLINE(a12,0,15,3.5,0),color1020bb;
STICKLINE(a12,0,15,3,0),color1020cc;
STICKLINE(a12,0,15,2.5,0),color1020dd;
STICKLINE(a12,0,15,2,0),color1020ee;
STICKLINE(a12,0,15,1,0),color1020ff;
DRAWTEXT(a11,8,'籌碼進場');
DRAWTEXT(a12,17,'籌碼加倉');
Var1:=REF(LOW,1);
Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;
Var3:=EMA(Var2,13);
Var4:=LLV(LOW,34);
Var5:=EMA(IF(LOW<=Var4,Var3,0),3);
主力進場:
STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED;
洗盤:IF(VAR5[ STICKLINE(VAR5][ Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
]
Var7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var8:=Var6[REF(VOL,1) AND
]
CLOSE>REF(CLOSE,1);
DRAWTEXT(Var8 AND COUNT(Var8,30)=1,40,'注意有籌碼進場迹象');
提前抄底
n= 40, 100, 60
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,34);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,34);
AA:= VarA*2;
BB:= EMA((Var6-Var8)/(VarB-Var8)*100,13);
VarC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:= SMA(Var5,20,1);
VarD:=SMA(AA,2,1)-AA;
VarE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2a:=SMA(VAR1a,9,1)+100;
VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4a:=SMA(VAR3a,3,1);
VAR5a:=SMA(VAR4a,3,1)+100;
VAR6a:=VAR5a-VAR2a;
提前抄底: IF(VAR6a>n,VAR6a-n,0),ColorFFFFFF;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
e:=CROSS(83,RSI);
STICKLINE( e,e,55,1,0),Color00FFFF;
DRAWTEXT(e,50,' 逃頂'),COLORff9966;
STICKLINE(REF(提前抄底,1)<提前抄底,提前抄底,REF(提前抄底,1),5,0),colorff00ff;
STICKLINE(REF(提前抄底,1)>提前抄底,提前抄底,REF(提前抄底,1),5,0),colorffcc66;
K:sma(SMA((C-LLV(L,80))/(HHV(H,80)-LLV(L,80))*100,10,1),10,1),linethick1,color0000FF;
D:sma(SMA((C-LLV(L,80))/(HHV(H,80)-LLV(L,80))*100,10,1),10,3),linethick2,colorffcc66;
監視莊家
Var1:=EMA(EMA(CLOSE,13),13);
作為:=(Var1-REF(Var1,1))/REF(Var1,1)*1000;
無莊作為:STICKLINE(作為<0,作為,0,4,0),colorwhite;
有莊作為:STICKLINE(作為>REF(作為,1) AND 作為>0,作為,0,4,1),colorred;
Var2:=100*WINNER(CLOSE*0.95);
出貨作為:STICKLINE(作為[0,作為,0,4,0),color00ff00;
]
高度作為:STICKLINE(Var2>50 AND COST(85) 作為>0,作為,0,4,0),colorff00ff;
a10:=CROSS(作為,0);
開始作為:if(a10,6,0),coloryellow;
有莊作:(作為>REF(作為,1) AND 作為>0),colorred;
高度作:(Var2>50 AND COST(85)0),colorff00ff;
出貨作:(作為[0),color00ff00;
]
無莊作:(作為<0),colorwhite;
看斜率------非常好
A斜率>45
---------
AA10:MA(C,10),colorwhite;
BB10:=atan((aa10-ref(aa10,1)))*3.1416*10;
STICKLINE(BB10>1 and AA10>ref(AA10,1),
AA10,REF(AA10,1),8,0),colorred;
STICKLINE(BB10<1 and AA10< ref(AA10,1),
AA10,REF(AA10,1),8,1),COLORgreen;
AA20:MA(C,20);
BB20:=atan(aa20-ref(aa20,1))*3.1416*10;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLOR0066FF;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORbbcccc;
輸錢都難--穩坐釣魚台版------非常好
生命線:(EMA(CLOSE,60)+EMA(CLOSE,90))/2,LINETHICK2,COLORCC33FF;
高潮線:EMA(CLOSE,21)-1+EMA(VOL,5)/EMA(VOL,40),COLORGRAY;
道中仙:ZIG(3,19),LINETHICK1,COLORGREEN;
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,'莊出'),
,COLORYELLOW;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'底入'),
,COLORRED;
Var3:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19),
1)< REF(ZIG(3,19), 2),0);
時間之窗:STICKLINE(Var3=2 ,l*0.95,l*0.98,12,0),COLOR0000FF;
STICKLINE(Var3=4 ,h*1.05,h*1.02,12,0),COLOR9966FF;
STICKLINE(Var3=7 ,l*0.95,l*0.98,12,0),COLOR00FFFF;
STICKLINE(Var3=12 ,h*1.05,h*1.02,12,0),COLORFF33FF;
STICKLINE(Var3=20 ,l*0.95,l*0.98,12,0),COLOR0066FF;
STICKLINE(Var3=33 ,h*1.05,h*1.02,12,0),COLORFFFF00;
STICKLINE(Var3=54 ,l*0.95,l*0.98,12,0),COLOR006600;
STICKLINE(Var3=88 ,h*1.05,h*1.02,12,0),COLOR00FF00;
STICKLINE(Var3=143 ,l*0.95,l*0.98,12,0),COLORCCFFFF;
STICKLINE(Var3=232 ,h*1.05,h*1.02,12,0),COLORFF0033;
STICKLINE(Var3=376 ,l*0.95,l*0.98,12,0),COLORFF9966
起爆(源碼)
{起爆,N=0、25、3,DN=5、50、36}
CJ:=(C+H+L+O)/4;
幅度1:=(H-REF(H,1))/CJ;
幅度2:=(L-REF(L,1))/CJ;
多方:FORCAST(SMA(幅度1+幅度2,N,1),DN)*10000,COLORRED,linethick2;
空方:FORCAST(LLV(多方,34)-SMA(幅度1+幅度2,N,1)*10000,DN);
強度:(多方+空方)/2;
強中強:SLOPE(強度,2)*30;
出擊:COUNT(SLOPE(REF(多方,1),3)<0 and
SLOPE(多方,2)>0,intpart(DN/15)) and
COUNT(CROSS(強中強,0),intpart(DN/15)),linethick0;
DRAWICON(出擊,0,1);
股市金浪-----精品指标。
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var8:=LLV(LOW,34);
VarB:=HHV(HIGH,34);
BB:=EMA((Var6-Var8)/(VarB-Var8)*100,9);
VarC:EMA(0.667*REF(BB,1)+0.333*BB,2);
波:BB,POINTDOT,Color0000A8;
RSV1:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
K1:=SMA(RSV1,13,1);
D1:=SMA(K1,13,1);
浪:ema(d1,3),POINTDOT,coloryellow;
STICKLINE((BB-VaRC>0),BB,VaRC,6,0),Color0000A8;
STICKLINE((BB-VaRC>0),BB,VaRC,5,0),Color0000C0;
STICKLINE((BB-VaRC>0),BB,VaRC,4,0),Color0000E0;
STICKLINE((BB-VaRC>0),BB,VaRC,3,0),Color0000F0;
STICKLINE((BB-VaRC>0),BB,VaRC,2,0),Color0000D0;
STICKLINE((BB-VaRC>0),BB,VaRC,1,0),Color8080FF;
STICKLINE((BB-VaRC<0),BB,VaRC,6,0),Color008800;
STICKLINE((BB-VaRC<0),BB,VaRC,5,0),Color009900;
STICKLINE((BB-VaRC<0),BB,VaRC,4,0),Color00AA00;
STICKLINE((BB-VaRC<0),BB,VaRC,3,0),Color00BB00;
STICKLINE(ema(d1,3)>ref(ema(d1,3),1),ema(d1,3),ref(ema(d1,3),1),8,0),COLORRED;
STICKLINE(ema(d1,3)>ref(ema(d1,3),1),ema(d1,3),ref(ema(d1,3),1),7,0),color1029FF;
STICKLINE(ema(d1,3)>ref(ema(d1,3),1),ema(d1,3),ref(ema(d1,3),1),6,0),color1040FF;
STICKLINE(ema(d1,3)>ref(ema(d1,3),1),ema(d1,3),ref(ema(d1,3),1),5,0),color1083FF;
STICKLINE(ema(d1,3)>ref(ema(d1,3),1),ema(d1,3),ref(ema(d1,3),1),4,0),color10ABFF;
DRAWICON(FILTER(CROSS(BB,VarC)AND BB<30 and
VaRC>REF(VaRC,1),5),L,8);
DRAWICON(FILTER(BB[55 AND BB>REF(BB,3)AND
]
C>MA(C,15),7),80,2);
底價:LLV(BB,250),POINTDOT,colorGREEN;
頂價:HHV(BB,250),POINTDOT,colorGREEN;
DRAWICON(FILTER(頂價>ref(頂價,1),7),頂價,9);
cc:=(BB-VaRC<0.3)and (BB<25)and cC>REF(C,1);
dd:=FILTER(cc,10);
DRAWICON(dd,12,1);
DRAWICON(FILTER(底價[ VaRC>REF(VaRC,1),底價,4);
]
低位:20,POINTDOT;
高位:80,POINTDOT;
捕捉牛股股的一個方法
上升通道強股梯樓(股勢)
(把10日線,20日線變的粗大清晰)
AA10:=MA(C,10);
BB10:=atan((aa10-ref(aa10,1)))*180/3.1416;
STICKLINE(BB10>1 and AA10>ref(AA10,1),
AA10,REF(AA10,1),8,0),colorred;
STICKLINE(BB10<1 and AA10[ AA10,REF(AA10,1),8,1),COLORgreen;
]
AA20:=MA(C,20);
BB20:=atan((aa20-ref(aa20,1)))*180/3.1416;
STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW;
STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORbbcccc;
可以加碼源你主圖内可以進行分析。
特殊會員指标
Var1:=REF(CLOSE,2);
會員專用:
SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100,COLORFFAA66;
Var2:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100;
極品逃亡: IF(會員專用< REF(會員專用,1) AND 會員專用>79,會員專用,0);
DRAWTEXT(極品逃亡 ,70 ,'<-極品逃亡'),coloryellow,linethick1;
DRAWTEXT(88>0 and ref(o,1)/ref(c,1)>1.04 and ref(l,1)<=688 and
o>ref(c,1)and c=1.01,l-l*0.02,'<--極品絕底初現'),linethick1;
DRAWTEXT(c-o>=0 and o/l>1.05 and
l<=llv(l,20),l,'<--極品絕底'),colorblue, linethick1;
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
q3:=SMA(q2, 9, 1);
q4:=SMA(q3, 3, 1);
特殊會員專用:3*q3-2*q4,colorwhite,linethick2;
q8:=HHVBARS(HIGH, 50);
q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100;
跨越:EMA(q3, 3),COLORRED;
DRAWTEXT(CROSS(特殊會員專用, 8) AND
q10<-13,20,'*大底來'),coloryellow,linethick5;
DRAWTEXT(CROSS(特殊會員專用, 93) AND q10<-13,40,'*大底'),linethick5;
DRAWTEXT(CROSS(跨越, 特殊會員專用) AND ref(特殊會員專用,1)>80,
ref(特殊會員專用,3), '*頂'),COLORRED,linethick5;
Var12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
機構做空能量線: SMA(Var12,3,1),colorgreen,linethick2;
大底來: 0,POINTDOT;
大底: 0,POINTDOT;
DRAWTEXT(cross(跨越,機構做空能量線)
,大底+40,'進入強勢區域'),coloryellow,linethick1;
DRAWTEXT(cross(特殊會員專用,跨越) ,大底+20,'進入拉升區域'),linethick1;
DRAWTEXT(cross(跨越,特殊會員專用)
,大底+70,'注意調整'),COLORFFAA66,linethick1;
●注意買入點: DRAWTEXT(REF(CROSS(機構做空能量線,跨越),25) AND
機構做空能量線>1.005*跨越,跨越,'●<-注意買入點'),COLORBLUE,linethick1;
逢低買入: DRAWTEXT(REF(CROSS(跨越,特殊會員專用),82) AND
跨越>1.3*特殊會員專用,特殊會員專用,'<<-逢低買入'),linethick1;
低買: DRAWTEXT(REF(CROSS(特殊會員專用,跨越),1) AND
特殊會員專用>1.3*跨越,跨越,'低買'),COLORRED,linethick1;
DDX:
虛拟量:=IF(CURRBARSCOUNT=1 AND
PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW,COLOR669900;
STICKLINE(CURRBARSCOUNT=1 AND
PERIOD=5,虛拟量,0,3,-1),COLOR00C0C0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,POINTDOT;
主動買盤:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE 主動賣盤:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE STICKLINE(VOL>0,VOL,0,3,1),COLORWHITE;
STICKLINE(主動買盤>0,0,主動買盤,3,0),COLORRED;
DDX:主動買盤+主動賣盤,COLORYELLOW;
回調買入:
VAR1:CROSS(MA(C,13),C) AND MA(C,13)>REF(MA(C,13) ,1) AND
INDEXC>MA(INDEXC,13) AND MA(C,13)>MA(C,55) AND V[ 底部買入:
]
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
MAIRU:VAR1<-20 AND INDEXC
REF(VAR1,1),5);
主力介入:
VAR12:=(HIGH - LOW);
VAR3:=ABS((OPEN - CLOSE));
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR6:=((VAR3 / VAR12) * VOL);
VAR7:=((VAR4 / VAR12) * VOL);
VAR8:=((VAR5 / VAR12) * VOL);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) >
MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
短趨勢線:=MA(C,13);
ZHULI:(((((VAR6 > (MA(VOL,5) * 2)) AND 短趨勢線>REF(短趨勢線 ,1) AND
(VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR
((VOL > (MA(VOL,5) * 3)) AND VARB AND 短趨勢線>REF(短趨勢線 ,1)));
明白成交量
A:=V/((H-L)*2-ABS(C-O));
成交量:V,LINETHICK0;
日買盤:IF(C>O,A*(H-L),IF(C 日賣盤:IF(C>O,0-A*((H-C)+(O-L)),IF(C ,LINETHICK0,COLORCYAN;
買賣差:日買盤+日賣盤,LINETHICK0,COLORYELLOW;
累計買盤:SUM(日買盤,5),LINETHICK0,COLOREE00EE;{5日---60日}
累計賣盤:SUM(日賣盤,5),LINETHICK0,COLORGREEN;{5日---60日}
累計買賣:SUM(買賣差,5),LINETHICK0,COLORFF9922;{5日---60日}
STICKLINE(V>0,V,0,4,1),COLORWHITE;
STICKLINE(日買盤>0,0,日買盤,4,0),COLORRED;
ST
五星上将(大智慧公式原碼)
C5:=EMA(c,5);
C10:=EMA(c,10);
C30:=EMA(c,30);
D1:=2*(C5-C10);D2:=2*(C5-C30);D3:=200*(D1+D2);
ll:=v/1000;
将軍:3;
A1:=MA(LL,5);
A2:=MA(LL,10);
A3:=MA(LL,120);
A4:=MA(LL,250);
DRAWTEXT( D3>0,20 ,'' ),colorred;
DRAWTEXT( a1>a3,40,'' ),colorff00ff;
DRAWTEXT(a1>a3 and a2>a3,60 ,'' ),color33cc00;
DRAWTEXT( a1>a2 and a2>a3 AND A3>A4,80 ,'' ),COLORLIBLUE;
DRAWTEXT( D3>100,100 ,'' ),colorwhite;DRAWTEXT(FILTER(D3>0
and D3<100 and a1>a2 and a1>a3 and a2>a3 AND A3>A4,13) ,120
,'四星上将' ),colorff00ff;
DRAWTEXT( FILTER(D3>100 and a1>a2 and a2>a3 AND A3>A4,13),180
,'五星上将' ),colorred;
100;200;
ICKLINE(日賣盤<0,0,日賣盤,4,0),COLOR00FF00;
能量線
VAR1:=IF(YEAR>=2005 AND MONTH>11,0,1);
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);
VAR4:=REF(CLOSE,1)-CLOSE;
VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);
VAR6:=SUM(VAR3,16)/SUM(VAR5,16);
VAR7:=100-100/(1+VAR6);
VAR8:=EMA(VAR7,16);
VAR9:=EMA(VAR8,8);
VARA:=EMA(VAR8,45);
VARB:=VAR8-VARA;
能量線: VARB*VAR1;
能量均線: (VAR9-VARA)*VAR1;
多空能量值: VARB*VAR1, COLORSTICK;
真假突破
VAR2:=1; VAR3:=VOL/CAPITAL*100;
VAR4:=CLOSE/OPEN;
短期兵力: EMA(VAR3*VAR4,9)*44.545*0.999*VAR2 , COLORRED;
中期兵力: EMA(VAR3*VAR4,33)*44.545*0.999*VAR2;
長期兵力: EMA(VAR3*VAR4,61)*44.545*0.999*VAR2,;
預備兵力: EMA(VAR3*VAR4,120)*44.545*0.888*VAR2, COLORWHITE;
VAR5:=EMA(100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,33)),20)*VAR2;
VAR6:=EMA(VAR5,1)*VAR2; VAR7:=VOL/CAPITAL*100*VAR2;
VAR8:=SUM(VAR7,5)>=3*VAR2; VAR9:=VAR8/REF(VAR7,10)>=2*VAR2;
VARA:=HHV(CLOSE,5)*VAR2; VARB:=VARA/REF(CLOSE,5)>=1.01*VAR2;
VARC:=VAR6>20*VAR2; VARD:=HIGH/REF(LOW,20)<1.2*VAR2;
VARE:=WINNER(CLOSE)*100*VAR2; VARF:=VAR8 AND VARC AND VAR9 AND
VAR3 AND VARB;
VAR10:=FILTER(VARF,20)*VAR2;
DRAWTEXT(VAR10,中期兵力,'資金活動'),COLORYELLOW;
STICKLINE(短期兵力>長期兵力,預備兵力,短期兵力,1.5,0),COLORRED;
STICKLINE(短期兵力<中期兵力,預備兵力,中期兵力,1.5,0),;
STICKLINE(短期兵力<預備兵力,預備兵力,短期兵力,1.5,0),;
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;
火焰: STICKLINE(火焰山>0,0,火焰山,4,1);
今量: 火焰山;
STICKLINE(火焰山>0,0,今量*1.2,8,0) COLOR0000FF;
STICKLINE(火焰山>0,0,今量*0.8,8,0) COLOR0066FF;
STICKLINE(火焰山>0,0,今量*0.6,8,0) COLOR0099FF;
STICKLINE(火焰山>0,0,今量*0.4,8,0) COLOR00CCFF;
STICKLINE(火焰山>0,0,今量*0.2,8,0) COLOR00FFFF;
莊家生命線
Var1:=BARSSINCE(LLV(LOW,120));
Var2:=SUM(AMOUNT*0.01,Var1)/SUM(VOL,Var1);
Var3:=SUMBARS(IF(VOL>CAPITAL*0.5,CAPITAL*0.49,VOL),CAPITAL*0.5);
Var4:=SUMBARS(IF(VOL>CAPITAL,CAPITAL*0.99,VOL),CAPITAL);
Var5:=SUMBARS(IF(VOL>CAPITAL*2,CAPITAL*1.99,VOL),CAPITAL*2);
Var6:=SUMBARS(IF(VOL>CAPITAL*4,CAPITAL*3.99,VOL),CAPITAL*4);
Var7:=MA(SUM(AMOUNT*0.01,Var3)/SUM(VOL,Var3),5);
Var8:=MA(SUM(AMOUNT*0.01,Var4)/SUM(VOL,Var4),5);
Var9:=MA(SUM(AMOUNT*0.01,Var5)/SUM(VOL,Var5),5);
VarA:=MA(SUM(AMOUNT*0.01,Var6)/SUM(VOL,Var6),5);
VarB:=IF(SUM(VOL,0)< CAPITAL*0.6,Var2,Var7);
VarC:=IF(SUM(VOL,0)< CAPITAL*1.2,Var2,Var8);
VarD:=IF(SUM(VOL,0)< CAPITAL*2.5,Var2,Var9);
VarE:=IF(SUM(VOL,0)< CAPITAL*4.8,Var2,VarA);
短線: IF(VarB=0,AMOUNT*0.01/VOL,VarB);
中線: IF(VarC=0,AMOUNT*0.01/VOL,VarC);
長線: IF(VarD=0,AMOUNT*0.01/VOL,VarD);
強支壓: IF(VarE=0,AMOUNT*0.01/VOL,VarE), CIRCLEDOT;
搖錢奇線(源碼)
Var1:=(HIGH+3*LOW+CLOSE)/5;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
Var4:=(Var2-Var3)*5;
Var5:=IF(Var4>=1000,1000,IF(Var4<=Var1,Var1,Var4));
Var6:=FORCAST(FORCAST(Var5,N),M);
上漲: IF(Var5>Var6,Var5,Var6),COLORRED;
下跌: IF(Var5 分水嶺: FORCAST(FORCAST(Var5,N),M),LINETHICK2 , COLORMAGENTA;
N=38 M=7
發财翻番源碼
VAR1:=SMA(MAX(MAX((HIGH - LOW),ABS((HIGH -
REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),14,1);
VAR2:=(HIGH - REF(HIGH,1));
VAR3:=(REF(LOW,1) - LOW);
VAR4:=SMA(IF(((VAR2 > 0) AND (VAR2 > VAR3)),VAR2,0),12,1);
VAR5:=SMA(IF(((VAR3 > 0) AND (VAR3 > VAR2)),VAR3,0),12,1);
VAR6:=((VAR4 * 100) / VAR1);
VAR7:=((VAR5 * 100) / VAR1);
VAR8:=SMA(((ABS((VAR7 - VAR6)) / (VAR7 + VAR6)) * 100),12,1);
VAR9:=((VAR8 + REF(VAR8,5)) / 2);
VARA:=((SUM((HIGH - OPEN),12) / SUM((OPEN - LOW),12)) * 100);
VARB:=((SUM(MAX(0,(HIGH - REF(CLOSE,1))),12) /
SUM(MAX(0,(REF(CLOSE,1) - LOW)),12)) * 100);
VARC:=((AMOUNT / VOL) / 100);
VARD:=(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7);
VARE:=((SUM(AMOUNT,5) / VARC) / 100);
VARF:=((SUM(AMOUNT,13) / VARC) / 100);
VAR10:=((SUM(AMOUNT,34) / VARC) / 100);
VAR11:=((SUM(AMOUNT,209) / VARC) / 100);
VAR12:=(((REF(VOL,1) + REF(VOL,2)) + REF(VOL,3)) +
REF(VOL,4));
VAR13:=(VAR12 / CAPITAL);
VAR14:=(((VOL / CAPITAL) * VARD) + (VAR13 * REF(VARC,1)));
VAR15:=DMA(VARD,(VOL / VARE));
VAR16:=DMA(VARD,(VOL / VARF));
VAR17:=DMA(VARD,(VOL / VAR10));
VAR18:=DMA(VARD,(VOL / CAPITAL));
VAR19:=MA(HHV(HIGH,488),18);
VAR1A:=MA(HHV(HIGH,220),18);
VAR1B:=MA(HHV(HIGH,98),18);
VAR1C:=MA(LLV(LOW,488),18);
VAR1D:=MA(LLV(LOW,220),18);
VAR1E:=MA(LLV(LOW,98),18);
VAR1F:=MA((((((((VAR1C * 0.96) + (VAR1D * 0.96)) + (VAR1E *
0.96)) + (VAR19 * 0.558)) + (VAR1A * 0.558)) + (VAR1B *
0.558)) / 6),18);
VAR20:=MA((((((((VAR1C * 1.25) + (VAR1D * 1.23)) + (VAR1E *
1.2)) + (VAR19 * 0.55)) + (VAR1A * 0.55)) + (VAR1B * 0.65)) /
6),18);
VAR21:=MA((((((((VAR1C * 1.3) + (VAR1D * 1.3)) + (VAR1E *
1.3)) + (VAR19 * 0.68)) + (VAR1A * 0.68)) + (VAR1B * 0.68)) /
6),18);
VAR22:=MA((((((VAR1F * 3) + (VAR20 * 2)) + VAR21) / 6) *
1.738),18);
VAR23:=IF((DATE <= 1031231),VAR22,(VAR22 * DAY));
VAR24:=LOW;
VAR25:=REF(LOW,1);
VAR26:=((SMA(ABS((VAR24 - VAR25)),3,1) / SMA(MAX((VAR24 -
VAR25),0),3,1)) * 100);
VAR27:=MA(IF(((CLOSE * 1.35) <= VAR23),(VAR26 * 10),(VAR26 /
10)),3);
VAR28:=LLV(LOW,30);
VAR29:=HHV(VAR27,30);
VAR2A:=IF((LOW <= VAR28),((VAR27 + (VAR29 * 2)) / 2),0);
VAR31:=MA(HHV(HIGH,488),18);
VAR32:=MA(HHV(HIGH,220),18);
VAR33:=MA(HHV(HIGH,98),18);
VAR34:=MA(LLV(LOW,488),18);
VAR35:=MA(LLV(LOW,220),18);
VAR36:=MA(LLV(LOW,98),18);
VAR37:=MA((((((((VAR34 * 0.96) + (VAR35 * 0.96)) + (VAR36 *
0.96)) + (VAR31 * 0.558)) + (VAR32 * 0.558)) + (VAR33 *
0.558)) / 6),18);
VAR38:=MA((((((((VAR34 * 1.25) + (VAR35 * 1.23)) + (VAR36 *
1.2)) + (VAR31 * 0.55)) + (VAR32 * 0.55)) + (VAR33 * 0.65)) /
6),18);
VAR39:=MA((((((((VAR34 * 1.3) + (VAR35 * 1.3)) + (VAR36 *
1.3)) + (VAR31 * 0.68)) + (VAR32 * 0.68)) + (VAR33 * 0.68)) /
6),18);
VAR40:=MA((((((VAR37 * 3) + (VAR38 * 2)) + VAR39) / 6) *
1.738),18);
VAR41:=VAR40;
VAR42:=LOW;
VAR43:=REF(LOW,1);
VAR44:=((SMA(ABS((VAR42 - VAR43)),3,1) / SMA(MAX((VAR42 -
VAR43),0),3,1)) * 100);
VAR45:=MA(IF(((CLOSE * 1.35) <= VAR41),(VAR44 * 10),(VAR44 /
10)),3);
VAR46:=LLV(LOW,30);
VAR47:=HHV(VAR45,30);
VAR49:=IF((LOW <= VAR46),((VAR45 + (VAR47 * 2)) / 2),0);
提示:MA((VAR49 AND (CLOSE < COST(1))),3),,colorFFFffF;
買入:((MA(VAR2A AND (CLOSE < COST(1)),3) AND ((((CLOSE - VAR16)
/ VAR16) * 100) < (2 - 13))),,colorFFfa00;
趨勢:=(EMA(((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))),5) / 100);
歡喜:IF((((((((REF(CLOSE,13) - CLOSE) / REF(CLOSE,13)) * 100) >
15) AND ((SUM((VOL / CAPITAL),13) * 100) < 18)) AND (((VOL /
CAPITAL) * 100) < 2.5)) AND ((((REF(CLOSE,1) - CLOSE) /
REF(CLOSE,1)) * 100) < 8)),0.7,0),,colorFFCC66;
V2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
V3:=(MA(VOL,2) / MA(VOL,10));
V4:=(VOL / CAPITAL);
A1:=((((0.0068 * V2) - (0.0072 * V3)) - (0.5676 * V4)) -
0.0105);
A2:=((((0.0015 * V2) - (0.0124 * V3)) + (1.7461 * V4)) -
0.0074);
A3:=((((0 - (0.0003 * V2)) + (0.047 * V3)) - (0.5734 * V4)) -
0.0549);
發财:(((((0 - (12.2401 * A1)) - (1 * A2)) + 0.321) <
0),,color99CC66;
B1:=(((CLOSE - MA(CLOSE,27)) / MA(CLOSE,27)) < (0 - 0.16));
翻番:STICKLINE(B1,0,0.5,2,0),,colorFfaafF;
起死回生
Var1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k:SMA(Var1,3,1);
D:SMA(k,3,1);
低位金叉:if(D<20 AND CROSS(k,D),40,0),COLORyellow;
起死回生:if(BARSLAST(低位金叉)<=9 AND BARSLAST(低位金叉)>2AND CROSS(D,k)
AND D<30,60,0) , COLORRED
《百戰不怠》
《百戰不怠》
STICKLINE(c and
WINNER(C)>ref(WINNER(C),1),WINNER(C)*100,0,5,1),COLORRED;//籌碼空間
STICKLINE(c and
WINNER(C)[ K: EMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,8),COLORGREEN;
]
Vx1:=EMA((C-LLV(L,55))/(HHV(H,34)-LLV(L,55))*100,3);
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORYELLOW;
籌碼快線:ema(WINNER(C)*100,13),COLORMAGENTA;
籌碼慢線:ema(WINNER(C)*100,55),COLORBLUE;
使用方法:(适用于日線)
1.KD金叉且籌碼快線向上,可建倉。籌碼快線向下,放棄。
2.股價低位,KD與籌碼快線籌碼慢線接近且前後三天内金叉,可重倉。
3.KD死叉,減倉。
其它方法請仔細看圖研究,肯定收獲不淺。
看盤指标
Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
Var2:=2*ABS(Var1);
Var3:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var4:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var5:=(HIGH+LOW+CLOSE)/3;
Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));
Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));
Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND
Var7<200,10,0);
Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND
Var7>-200,-10,Var8);
VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VarB:=100-ABS(VarA);
VarC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VarD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))
*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,30);
Var12:=Var11-CLOSE;
Var13:=REF(CLOSE,1);
Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;
Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;
Var16:=BARSCOUNT(CLOSE);
Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var1A:=(SMA(Var19,4,1)-50)*2;
Var1B:=SMA(Var1A,3,1);
Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var1D:=SMA(Var1C,4,1);
Var1E:=SMA(Var1D,3,1);
Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30
AND Var1E<30
AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);
大趨勢: Var3,color6192ff;
頂線: IF(VarB<90,VarB,100);
多方: IF(Var1>0,Var1,0), LINESTICK;
空方: -IF(Var1<0,Var2,0), LINESTICK;
抄底: Var20,colorred,linethick2;
預警系統: (IF((Var7>=200 AND Var6>=150) OR
CROSS(65,多方),15,IF(Var7<=-200
AND Var6<=-150,-15,Var9))+65),COLORf0f000,;
STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;
STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;
t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
t2:=CLOSE t3:=多方>60 AND 預警系統>65 AND 頂線=100;
t4:=多方>48 AND 預警系統>65 AND 頂線<100;
t5:=空方<-38 AND 預警系統<65;
t6:=抄底>50 AND 頂線<90;
t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND
CLOSE>REF(CLOSE,1);
t8:=Var3<=REF(Var4,1) AND CLOSE[ 抄底=0
]
AND 空方>=REF(空方,1) AND VarC[ DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;
]
B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;
B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上漲過急!'),COLOR00FFFF;
B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'莊家出貨!'),COLOR00FFFF;
B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反彈!'),COLOR00FFFF;
B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'搶反彈!'),COLOR00FFFF;
B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'資金進場!'),COLOR00FFFF;
DRAWTEXT(t8 and count(t8,30)=1,90,'見頂回落!'),COLOR00FFFF;
天堂星MACD實戰
MA3:MA(CLOSE,3);
MA5:MA(CLOSE,5);
MA7:MA(CLOSE,7);
MA15:MA(CLOSE,15);
ma30:ma(close,30);
ma60:ma(close,60),coloryellow;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
雙線合一:=count(cross(diff,dea),2)=1 ;
短均線多頭:=ma3>ma5 and ma5>ma7;
中均線多頭:=ma15>ma30 and ma30>ma60;
aa:=雙線合一 and 短均線多頭 and filter(雙線合一 and 短均線多頭,2);
stickline(diff>=dea,h,l,0.5,0),colorred;
stickline(diff>=dea,o,c,5,0),colorred;
stickline(diff stickline(diff 短線介入:drawicon(aa and diff<0.15,l*0.99,1);
大膽介入:drawicon(aaand diff>macd and diff<0.15,l*0.95,1);
公式名:天堂星MACD實戰
說明:中國股壇十大高手之一陶素宇的炒股不敗63招[轉帖]
(第二十九招) 選擇MACD雙線合一的個股
選擇MACD雙線合一的個股是一種相當安全的選股方法,适合中短線投資者共同參與,因為其技術指标相當容易掌握。MACD的雙線合一所出現的位置有3處:①山谷底(如0535ST猴王在2001年3月28日至4月9日這幾天的情況,其MACD指标的DIF線和MACD線就是合一的);②安全區(如600602真空電子(後改為廣電電子)在1999年5月6日至5月19日這幾天的情況,其MACD指标的DIF線和MACD線也有合一現象);③半山腰(如600161天壇生物2000年12月20日至12月29日這幾天的情況,其MACD指标的DIF線和MACD線有合一現象,但位置較前兩種情況要高)。
上述現象便是我們所說的MACD雙線合一現象,需要注意的是所謂的合一并不要求MACD的白線(DIF線)的數值一定要與黃線(MACD線)的數值完全相等(重疊),可以是非常靠近。這種技術指标的構造過程一般說明該股已經面臨突破,往上突破和往下突破均有可能,所以不要急于介入,隻有MACD的白線和黃線明顯往上張口,而DIF數值又同時大于MACD數值時,方可逢低介入。
一般地,中線投資者應該選擇那種處于“山谷底”的MACD雙線合一型個股;而短線投資者除了可以選擇“山谷底”型和“安全區”型這兩種MACD雙線合一現象的個股外,還可以以超短線的手法去追擊“半山腰”型的MACD雙線合一現象個股,但務必要快進快出。
買賣空倉洗盤K主圖
ma3:MA(C,3),colorwhite;
ma5:MA(C,5),colorgreen;
ma10:MA(C,10),colorred;
ma20:MA(C,20),colorblue;
ma30:MA(C,30),coloryellow;
Var1:=EMA(C,3);
Var2:=EMA(C,5);
Var3:=EMA(C,10);
Var4:=EMA(C,20);
Var5:=EMA(C,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;
Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;
Var9:=EMA(Var7,8);
STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;STICKLINE(Var7<1*REF(Var7,1),o,c,8,
0),COLORBLUE;
STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;STICKLINE(Var7>1*REF(Var7,1),o,c,8,
0),COLORRED;
STICKLINE(Var7<1*REF(Var7,1) AND
Var9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;STICKLINE(Var7<1*REF(Var7,1)
AND Var9>1*REF(Var9,1),o,c,8,0),COLORGREEN;
買進價:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
買進條件:=cross(c,買進價) and 買進價>ref(買進價,1);
STICKLINE(買進條件,h,l,0.5,1),colorwhite,linethick2;STICKLINE(買進條件,o,c,8,0),colorwhite,linethick2;
加碼價:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加碼條件:=cross(c,加碼價) and 加碼價>ref(加碼價,1);
STICKLINE(加碼條件,h,l,0.5,1),coloryellow,linethick2;STICKLINE(加碼條件,o,c,8,0),coloryellow,linethick2;
大頂小頂
{參數n:30 100 48}
Var1:=HHV(HIGH,9)-LLV(LOW,9);
Var2:=HHV(HIGH,9)-CLOSE;
Var3:=CLOSE-LLV(LOW,9);
Var4:=Var2/Var1*100-70;
Var5:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=SMA(Var3/Var1*100,3,1);
Var8:=LLV(LOW,21);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
VarA:=IF(Var9>100,Var9-100,0);
VarB:=HHV(HIGH,21);
AA:= VarA*2;
BB:= EMA((Var6-Var8)/(VarB-Var8)*100,8);
VarC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:= SMA(Var5,13,1);
VarD:=SMA(AA,2,1)-AA;
VarE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2a:=SMA(VAR1a,9,1)+100;
VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4a:=SMA(VAR3a,3,1);
VAR5a:=SMA(VAR4a,3,1)+100;
VAR6a:=VAR5a-VAR2a;
S: IF(VAR6a>n,VAR6a-n,0);
STICKLINE(BB-VarC>0,BB,VarC,5,0),colorred;
STICKLINE(BB-VarC<0,BB,VarC,5,0),colorffcccc;
STICKLINE(CC-SMA(CC,5,1)>0,CC,SMA(CC,5,1),5,0),coloryellow;
STICKLINE(CC-SMA(CC,5,1)<0,CC,SMA(CC,5,1),5,0),colorblue;
STICKLINE(REF(S,1) STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),colorffcc66;
絕品MACD
{N1(1,100,6);N2(1,100,18);N3(1,100,54);N4(1,1000,162)}
L2:=MA(C,3);
L3:=MA(C,60);
L4:=MA(C,120);
L5:=MA(C,40);
VAR1:=SUM(WINNER(CLOSE)*100,13)/10-(SUM(WINNER(CLOSE)*100,1)/20+10);
狂龍出海: IF(CROSS(L2,L3) AND CLOSE
VAR2:=CLOSE/L5*100<78;
VAR3:=CLOSE/L3*100<74;
VAR4:=HIGH>(LOW*1.051);
VAR5:=VAR4 AND COUNT(VAR4,5)>1;
VAR6:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;
VAR7:=EMA(EMA(CLOSE,13),13);
控盤:= (VAR7-REF(VAR7,1))/REF(VAR7,1)*5000;
A1:=CROSS(控盤,0);
控盤1:IF(A1,180,0),COLORYELLOW,LINETHICK1;
DRAWTEXT(控盤1>0,160,'控盤!'),COLORD411FF;
狂龍探底: IF((REF(C,13)-CLOSE)/REF(C,13)*100*VAR3>15 AND
SUM(VOL/CAPITAL,13)
*100<18 AND VOL/CAPITAL*100<2.5 AND
(REF(C,1)-CLOSE)/REF(C,1)*100<8 AND
VAR6<=50 AND VAR5 AND (VAR2 OR VAR3),80,0);
{DRAWICON(FILTER(狂龍探底,6),35,1);}
DRAWTEXT(FILTER(狂龍探底,6),70,'狂龍探底');
DIFF:(EMA(CLOSE,12) -
EMA(CLOSE,26))*600,COLOR95008C,LINETHICK2;
DEA:EMA(DIFF,9), COLORFFFFFF,LINETHICK1;
DRAWTEXT(CROSS(DIFF,DEA),DIFF,'▲'),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(DEA,DIFF),DEA,'▼'),LINETHICK2,COLORWHITE;
DDIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DDEA:=EMA(DDIFF,9);
MACD:=1200*(DDIFF-DDEA);
STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;
STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;
STICKLINE(MACD0,0,MACD,4,0 ),COLOR00AAFF;
STICKLINE(MACD0,0,MACD,3.3,0 ),COLOR00BBFF;
STICKLINE(MACD0,0,MACD,2.2,0 ),COLOR00CCFF;
STICKLINE(MACD0,0,MACD,1.65,0 ),COLOR00DDFF;
STICKLINE(MACD0,0,MACD,1.1,0 ),COLOR00EEFF;
時間之窗流水線 指南針
本指标由時間之窗和流水線兩部分組成。
流水線屬于中長線趨勢指标。當流水線發散向上或向下表示股價運行趨勢向上或向下,當流水線合攏意味着既将産生新的趨勢。
流水線用于判斷底部或頂部(尤其對底部)有較高的準确性,但對震蕩盤整行情無法産生正确的操作提示。
時間之窗指出了自第一個有效交易周期起至今的各個選定周期的時間點位。選定周期N可用斐氏奇序數5,8,13,21,34,55,89等,也可用頻譜分析找出該交易品種比較明顯的最短周期。調整時間平移因子M,使周期點位處于K線上明顯的高位和低位。當時間之窗到來之時,應參考其它技術指标,作出變化趨勢的判斷。
N110016 M110034
0,coloryellow;
C0:=(h+l+c)/3;
(EMA(C0,14)+EMA(C0,28)+EMA(C0,56))/3,color008800;
(EMA(C0,13)+EMA(C0,26)+EMA(C0,52))/3,color008f00;
(EMA(C0,12)+EMA(C0,24)+EMA(C0,48))/3,color009800;
(EMA(C0,11)+EMA(C0,22)+EMA(C0,44))/3,color009f00;
(EMA(C0,10)+EMA(C0,20)+EMA(C0,40))/3,color00a800;
(EMA(C0,9)+EMA(C0,18)+EMA(C0,36))/3,color00af00;
(EMA(C0,8)+EMA(C0,16)+EMA(C0,32))/3,color00b800;
(EMA(C0,7)+EMA(C0,14)+EMA(C0,28))/3,color00bf00;
(EMA(C0,6)+EMA(C0,12)+EMA(C0,24))/3,color00c800;
(EMA(C0,5)+EMA(C0,10)+EMA(C0,20))/3,color00cf00;
(EMA(C0,4)+EMA(C0,8)+EMA(C0,16))/3,color00df00;
(EMA(C0,3)+EMA(C0,6)+EMA(C0,12))/3,color00ef00;
(EMA(C0,2)+EMA(C0,4)+EMA(C0,8))/3,color00ff00;
a:=BARSCOUNT(c);
ah:=hhv(h,200);al:=llv(l,200);a0:=(ah-al)/40;a1:=h+a0;a2:=l-a0;
if((a+m)/n=FLOOR((a+m)/n),a1,0),color0000ff;
{stickline((a+m)/n=FLOOR((a+m)/n),a2,a2-8*a0,9,0),color0000ff;}
{drawtext((a+m)/n=FLOOR((a+m)/n),a2-7*a0,'警戒'),colorffffff;}
财出水面
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
操盤:=3*VAR3-2*VAR4;
A1:=CROSS(操盤,VAR3) AND VAR3<2.1 AND C>O;
40,COLORRED,POINTDOT;
STICKLINE(C>0,40,22,8,0),COLORFF8080;
STICKLINE(C>0,22,4,8,0),COLOR916F87;
STICKLINE(A1,18,15,28,0),COLORC0C0C0;
STICKLINE(A1,18,18,18,0),COLORBLUE;
STICKLINE(A1,8,8,9,0),COLORFFFF00;
STICKLINE(A1,6,6,4,0),COLORFFFF00;
STICKLINE(A1,10,10,12,0),COLORFFFF00;
STICKLINE(A1,12,12,20,0),COLORFFFF00;
STICKLINE(A1,14,14,24,0),COLORFFFF00;
STICKLINE(A1,16,34,0.1,0),COLORC0C0C0;
STICKLINE(A1,33,18,9,0),COLORWHITE;
DRAWTEXT(A1,35,'财出水面'),COLORWHITE;
VARE:=30+(REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100/1.5;
VARF:=30+(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)*100/1.5;
VAR10:=CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3)) AND
"KDJ.D"(9,3,3)>13;
VAR11:=CROSS(REF("KDJ.K"(9,3,3),1),REF("KDJ.J"(9,3,3),1)) AND
REF("KDJ.D"(9,3,3),1)>13;
VAR12:=CROSS(REF("KDJ.K"(9,3,3),2),REF("KDJ.J"(9,3,3),2)) AND
REF("KDJ.D"(9,3,3),2)>12;
VAR13:=VAR10 OR VAR11 OR VAR12;
VAR14:=REF("BIAS.BIAS2"(6,12,24),1)>2;
VAR15:=REF("RSI.RSI1"(6,12,24),1)>(VARE+VARF)/1.8 AND
REF("ROC.ROC"(12,6),1)-"ROC.ROC"(12,6)>0 AND VAR13 AND VAR14;
賣出:=100*VAR15/15;
STICKLINE(賣出,18,15,28,0),COLORC0C0C0;
STICKLINE(賣出,18,18,18,0),COLORBLUE;
DRAWTEXT(賣出,35,'落袋為安'),;
明天會漲
A:(((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)));
B:EMA(EMA(A,3),3);
底部:10;
明天會漲:IF(CROSS(A,底部),100,0),STICK,LINETHICK4,COLORFFFF99;
DRAWTEXT((明天會漲 > 0),95,'明'),LINETHICK2,COLORFFFF99;
DRAWTEXT((明天會漲 > 0),85,'天'),LINETHICK2,COLORFFFF99;
DRAWTEXT((明天會漲 > 0),75,'會'),LINETHICK2,COLORFFFF99;
DRAWTEXT((明天會漲 > 0),65,'漲'),LINETHICK2,COLORFFFF99;
漲停前後 指标原碼:
專做強勢股是使自己炒股收益超過大盤的一個好方法.
漲停股是強勢股之王.先綠色關注後漲停紅色前買
本指标名為"漲停前後",顧名思義是為捕捉"漲停闆"提供的短線暴利機會而制作的.
本指标的"預漲停線","抓漲停線"為股價可能漲停的信号,"拐點"為可介入的短期底部信号,如果在股價運行周期的中低位出現"短線切入"信号,則股價很可能會出現一波淩厲攻勢,而"漲停出擊"則是在漲停個股中指示可在當日排隊搶購或在次日逢低介入的股票.
因此,本指标的信号可分成下面三部分:
1."拐點","預漲停線"為有可能伏擊到漲停股票的信号,當然,僅僅是"可能"而已!
2."抓漲停線"和"短線切入"則可用來在當天漲幅排行榜上的漲幅靠前有可能漲停的股票中選擇合适的股票介入.
3."漲停出擊"信号出現表明該漲停股可在當日排隊買如或在次日逢低買進.
input:n(10);
Var11:=WINNER(CLOSE)*90;
K: SMA(Var11,3,1);
D: SMA(K,3,1);
J: 3*K-2*D;
江鳥: K>D AND J>K AND CLOSE>REF(CLOSE,1)*1.09 AND
MA(VOL,10)>MA(VOL,45) AND VOL>MA(VOL,45);
DRAWTEXT(江鳥,J,'<----漲停出擊(10-5%-79%)\');
預漲停線:15,colorff00ff;
抓漲停線:20,colorred;
a:10*vol/ma(vol,n),colorgreen ;
stickline(cross(a,預漲停線),0,100,0.8,0),coloryellow;
stickline(cross(a,抓漲停線),0,100,0.8,0),colorred;
Var1:=ma(c,5);
Var2:=ma(c,24);
穿頭破腳:=backset(REF(CLOSE,1)/REF(OPEN,1)<0.97 and
close/open>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<
REF(CLOSE,1),3) ;
早晨之星:=backset(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),3) ;
早晨十字星:=backset(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),3);
平底:=backset((ABS(LOW-REF(LOW,1))/LOW<0.001 AND
ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001),3) ;
曙光初現:=backset(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND
CLOSE/OPEN>1.03 AND OPEN< REF(CLOSE,1) AND
CLOSE>REF(CLOSE,1),3);
跳空缺口:= backset(LOW>REF(HIGH,1),3);
長下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 ;
預警:=穿頭破腳 or 早晨之星 or 早晨十字星 or 平底 or 曙光初現or 長下影 or 跳空缺口;
Var3:count(預警 ,5) >=1;
短線切入: if(cross(c,Var2)and C/ref(c,1)>1.095and Var3 and
100*v/capital<10,120,0) ,colorred,linethick2;
Var4:=Var1/ref(Var1,1);
Var5:=Var2/ref(var2,1);
拐點:if(Var3and cross(Var4,1)and ma(v,5)>ma(v,10)
,100,0),colorgreen ;
55;
90;
0;
反向MACD
{參數 LONG2620100
SHORT 12 5 40
M 9 2 60}
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA: EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK;
(MACD>0,0,MACD,1,1),COLORRED;
(MACD<0,0,MACD,1,1),COLORCYAN;
(DIFF>DEA,DIFF),COLORFF11CC,LINETHICK3;
(DIFF>DEA AND DIFF<0,DIFF),COLORRED,LINETHICK3;
LS:=IF(DIFF>DEA AND DIFF>0,1,0);
加速上揚:IF(REF(LS=0,1) AND LS=1,0.1,0);
{反向MACD}
{MACD2 : 2*(DEA-DIFF),COLORGRAY;}
{DIFF線 收盤價短期、長期指數平滑移動平均線間的差}
{DEA線 DIFF線的M日指數平滑移動平均線}
{MACD線 DIFF線與DEA線的差,彩色柱狀線}
{參數:SHORT(短期)、LONG(長期)、M 天數,一般為12、26、9};
地量換手
說明:地量換手:大紅色豎線,越高換手率越低。
CYA:綠色曲線。
CYB:粉紅色曲線。
CYC:大紅色曲線。
關注:
1、當底部出現深藍色小豎線。
2、當CYA上交CYB時。
注意風險:
1、CYA下穿CYB時。
2. 底部出現淡藍色點。
穿越籌碼:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,;
換手比率:VOL/CAPITAL*100,STICK,COLORFF0099;
地量換手:1/換手比率*100,STICK,COLORRED,LINETHICK3;
A1:=LLV(HIGH,240);
MYP:=100*(CLOSE-A1)/A1;
A2:=REF(HHV(CLOSE,240),1);
B2:=REF(LLV(CLOSE,240),1);
RPY:=100*(CLOSE -B2)/(A2-B2);
A3:=1.1*CLOSE;
B3:=0.9*CLOSE;
ASR:=100*(WINNER(A3)-WINNER(B3));
A4:=WINNER(CLOSE);
A5:=DMA(A4,VOL/CAPITAL);
B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
A6:=100*VOL/CAPITAL;
B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
A7:=ABS(B6/A6);
CYA:A4/B4*50,COLOR00FF00;
CYB:EMA(A4/B4*50,34),COLORFF00FF;
CYC1:A5/B4*50,COLORRED;
IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越籌碼>=24 AND
(VOL/CAPITAL*100)<=3 AND
C>=O,地量換手+200,0),STICK,LINETHICK3,COLORFF00FF;
IF(A7>30 AND
(VOL/CAPITAL*100)<=3,地量換手,0),STICK,LINETHICK2,COLORWHITE;
籌碼穿透率:=B6/A6;
IF(籌碼穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND
換手比率<=3,地量換手+200,0),STICK,LINETHICK3,COLORBLUE;
IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越籌碼>=24 AND
(VOL/CAPITAL*100)<=3 AND C< DIV>
CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4;
MACD美如畫 通達信
STICKLINE(C>0,0,10,6,0),COLORFFB0DC;
STICKLINE(C>0,0,-5,6,0)COLORFFB000;
DIFF1:= EMA(C,3) - EMA(C,13);
DEA1 := EMA(DIFF1,9);
MACD1:= 2*(DIFF1-DEA1)*10;
DIFF2:= EMA(C,5) - EMA(C,26);
DEA2 := EMA(DIFF2,9);
MACD2:= 2*(DIFF2-DEA2)*10;
DIFF3:= EMA(C,7) - EMA(C,89);
DEA3 := EMA(DIFF3,21);
MACD3:= 2*(DIFF3-DEA3)*10;
{DRAWGBK(C>0,COLORRGB(255,255,220),COLORRGB(5,100,255),1),COLORF80606;}
IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR009E3A;
STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR009E3A;
IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646464;
STICKLINE(MACD3<0,0,-MACD3,4,0),COLOR646464;
IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR007D19;
STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR007D19;
IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR555555;
STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR555555;
IF(MACD1<0,-MACD1,DRAWNULL)LINETHICK4,COLOR006400;
STICKLINE(MACD1<0,0,-MACD1,4,0),COLOR006400;
STICKLINE(MACD1<0,0,-MACD1,4,0),COLOR414141;
STICKLINE(MACD3,0,-ABS(MACD3)*0.6,4,0),COLOR232323;
STICKLINE(MACD1,0,-ABS(MACD1)*0.6,4,0),COLOR0F0F0F;
X1:=MA(LLV(C,8)*1.1,13);
X2:=MA(HHV(C,21)*0.9,13);
X3:=MA(LLV(INDEXC,8)*1.1,13);
X4:=MA(HHV(INDEXC,21)*0.9,13);
資金進出:=3*(MA(C,1)-(X1+X2)/2-(X1+X2)/2*((X3+X4)/2-EMA(INDEXC,3))/((X3+X4)/2));
(C>0,資金進出),COLORSTICK;
鬼眼鬼指
VAR1:=IF(YEAR>=2034 AND MONTH>0,0,1);
VAR2:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=3*VAR3-2*VAR4;
VAR6:=LLV(LOW,5);
VAR7:=HHV(HIGH,5);
VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4)*2;
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
VARA:=3*VAR8-2*VAR9;
VARB:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARC:=POW(MA(LOW,5),2)+MA(LOW,5);
VARD:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARE:=(VARB-LLV(VARC,64))/(HHV(VARD,64)-LLV(VARC,64))*150+65-10;
VARF:=SMA(VARE,3,1)*1.5-100;
VAR10:=SMA(VARF,3,1);
VAR11:=3*VARF-2*VAR10;
VAR12:=(HIGH+LOW+CLOSE*2)/4;
VAR13:=EMA(VAR12,13);
VAR14:=STD(VAR12,13);
VAR15:=(VAR12-VAR13)*100/VAR14;
VAR16:=EMA(VAR15,5);
VAR17:=EMA(VAR16,13);
VAR18:=EMA(VAR16,13)+200-100;
VAR19:=EMA(VAR18,10);
VAR1A:=3*VAR18-2*VAR19;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=VAR5+VARA+VAR11+VAR1A;
VAR1E:=(HIGH+LOW+CLOSE)/3;
VAR1F:=AMOUNT/VOL/100;
VAR20:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR21:=(VAR1E-MA(VAR1E,34))/(0.015*AVEDEV(VAR1E,34));
VAR22:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR23:=(HIGH+LOW+CLOSE+VAR1E)/4;
VAR24:=EMA(VAR23,24);
VAR25:=STD(VAR23,24);
VAR26:=(VAR23-VAR24)/VAR25*100;
VAR27:=(VAR1E-MA(VAR1E,24))/(0.015*AVEDEV(VAR1E,24));
VAR28:=EMA(VAR26,5);
VAR29:=(VAR1F-MA(VAR1F,21))/(0.015*AVEDEV(VAR1F,21));
VAR2A:=(VAR20-MA(VAR20,90))/(0.015*AVEDEV(VAR20,90));
VAR2B:=((VAR28+VAR27+VAR21)/3+165)/4;
VAR2C:=(EMA(EMA(EMA(VAR2B,15),10),5)-25)*2+VAR22;
VAR2D:=(VAR1B+VAR1C+VAR1D*30)/32/5-15;
VAR2E:=EMA(VAR2D,13);
VAR2F:=(VAR2B+VAR2D)/2/1.1;
VAR30:=VAR2F*VAR1;
短A: EMA(VAR30,1), ;
短B: EMA(短A,5), ;
趨勢線: EMA((VAR2C+VAR2E)/2,2), ,; 生死線: EMA(趨勢線,40), ,;
VAR31:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR32:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR33:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR34:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR35:=(CLOSE-VAR34)/VAR34*100; VAR36:=REF(VAR35,1)<-40 AND
VAR35>REF(VAR35,1) AND REF(VAR35,1)2.5;
VAR37:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.273;
VAR38:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<-0.125;
VAR39:=VAR37 AND VAR38;
VAR3A:=VAR31>=-45 AND VAR31<=-10 AND VAR32<=-15 AND
VAR33<=-20;
VAR3B:=COUNT(VAR3A,1)>=1;
VAR3C:=1; VAR3D:=VAR39 AND VAR3B;
VAR3E:=(MA(AMOUNT,5)*VAR3C/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4)*VAR3C;
VAR3F:=HHV(HIGH,500); VAR40:=LLV(LOW,500);
VAR41:=HHV(HIGH,250);
VAR42:=LLV(LOW,250); VAR43:=EMA(CLOSE,34);
VAR44:=MA(VAR43*0.82,5);
VAR45:=CLOSE-REF(MA(CLOSE,20),11)<-2;
VAR46:=LLV(LOW,125);
VAR47:=MA((VAR3F*0.45+VAR41*0.5+VAR40+VAR42+VAR46)/5,35);
VAR48:=VAR47; VAR49:=SMA(AMOUNT/VOL/100,13,1)*0.85;
VAR4A:=CLOSE-REF(MA(CLOSE,20),11);
VAR4B:=CLOSE
<-1.5 CLOSE VAR4C:=VAR37 AND VAR38; VAR4D:=VAR31>=-45 AND
VAR31<=-7 AND VAR32<=-11 AND VAR33<=-14;
VAR4E:=COUNT(VAR4D,1)>=1;
VAR4F:=VAR4C AND VAR4E;
VAR50:=VAR3E AND CLOSE
VAR51:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR52:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR53:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR54:=REF(CLOSE,1);
VAR55:=SMA(MAX(CLOSE-VAR54,0),5,1)/SMA(ABS(CLOSE-VAR54),5,1)*100;
VAR56:=(HIGH+LOW+CLOSE)/3;
VAR57:=(VAR56-MA(VAR56,14))/(0.015*AVEDEV(VAR56,14));
VAR58:=REF(CLOSE,2)*0.865;
VAR59:=REF(CLOSE,13)*0.772;
VAR5A:=MIN(VAR58,VAR59);
VAR5B:=100*VOL/CAPITAL;
VAR5C:=VAR51>=-15.8 AND VAR51<=-12.2 AND VAR52<=-20.8 AND
VAR53<=-27.5 AND VAR55<=11.7 AND VAR57<=-145;
鬼指: IF(VAR36 OR VAR3D OR VAR50 OR VAR5C OR
(CLOSE-VAR5A)/CLOSE<0.03 AND SUM(VAR5B,5)/5<1.8,100,-32), ;
風險區: STICKLINE(趨勢線>105,140,130,10,1), ;
鬼頂: STICKLINE(趨勢線>135,140,130,10,0), ,;
鬼道: STICKLINE(BETWEEN(趨勢線,CROSS(趨勢線,150),140),-40,-30,10,0), ;
安全區: STICKLINE(趨勢線<-15,-41,-31,10,1),;
鬼底: STICKLINE(趨勢線<-26,-41,-31,10,0), ,;
IF(CROSS(100,短A) OR CROSS(80,短A),105,120),;
DRAWTEXT(CROSS(趨勢線,130) OR CROSS(趨勢線,135) OR CROSS(135,趨勢線)
OR CROSS(132,趨勢線) OR CROSS(130,趨勢線) OR CROSS(128,趨勢線) OR
CROSS(126,趨勢線) OR CROSS(124,趨勢線),140,'◆'),};
DRAWICON(CROSS(短B,趨勢線) AND 趨勢線<=-17 OR CROSS(趨勢線,生死線) AND
生死線<=5,-15,3);
使用說明 一、改公式主要用于判斷走勢及賣點。一般地,快線在趨勢線上方運行為持股;生死線下為持币。
二、進入風險區域是減磅信号;出現綠色箭頭逢高減磅,出現“鬼頂”應考慮出局。
三、在安全區域或出現“黃色笑臉”,可考慮逢低吸納。如出現“鬼底”,則是超跌反彈應逢低吃進,出現“鬼指”則是反彈信号。
四、如在底部區域同時出現“笑臉”,“鬼指”,“鬼底”,則超跌确立,反彈即将開始
超級短線
{超級短線--自從有了它,沒在虧過錢}
Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力線:EMA((CLOSE-Var2)/(Var1-Var2)*100,20),colorf0f000,Linethick2;
突破線:= EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
操作線:突破線,colorred, Linethick2;
{從李白操盤優化而來,使用方法:
當操作線(紅線)自下向上穿越阻力線時,買入;操作線走平或拐頭向下趨勢時賣出;
兩條線互不交叉時持股或空倉,不予操作。結合大勢操作更好。};
變色龍MACD
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;
DEA: EMA(DIFF,9),COLORgreen;
MACD : 2*(DIFF-DEA), COLORSTICK;
DIFFN: IF(DIFF>(REF(DIFF,1)+0.008),DIFF,DEA),colorblue;
鬼雙林
大智慧(新)公式====鬼雙林
經過幾天的精心優化,這個大智慧版的《鬼雙林》和朋友們見面了。希望能給您的投資帶來良好的收益!有需要的朋友請來拿哦。
使用方法:
1. 時間之窗提示後,空方線走平,介入良機。
2. 空方線收口,且K線變紅,升勢确立。
3. 紅K線站在部林線中軌有最佳介入機會。
4. K線觸機布林線的上軌,出局。
5. K線在布林線的上軌方向走平,出局。
《鬼雙林》源碼:
Var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
STICKLINE(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7
OR Var8 OR Var9 OR VarA OR VarB OR
VarC,CLOSE,REF(CLOSE,1),8,0),COLORRED;
VarD:=CLOSE
VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND
CLOSE>=REF(CLOSE,2);
Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND
CLOSE<=REF(CLOSE,2);
STICKLINE(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR
Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR
Var18,CLOSE,REF(CLOSE,1),8,0),COLORGREEN;
Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR
Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND
Var1;
STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLORRED;
Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR
Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,1) AND VarD;
STICKLINE(Var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLORBLUE;
精确打擊
input:n(13,1,100),m(9,1,100),m1(3,1,100);
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=SMA(Var1,M1,1);
賣線: SMA(Var2,M1,1);
Var3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
Var4:=SMA(Var3,M1,1);
Var5:=SMA(Var4,M1,1);
買入線: SMA(Var5,M1,1);
必賣線: SMA(賣線,M1,1);
高壓線: 85;
觸底線: 9;
DRAWTEXT(買入線>76.5 AND CROSS(賣線,必賣線),必賣線*1.15,'進');
DRAWTEXT(買入線>56 AND 買入線<=76 AND CROSS(賣線,必賣線),賣線,'留意');
DRAWTEXT(買入線<45 AND 賣線>78 AND 必賣線>78 AND
CROSS(必賣線,賣線),必賣線,'跑'),colorgreen ;
DRAWTEXT(CROSS(買入線,78.5),買入線,'關注'),colorred ;
DRAWTEXT(CROSS(買入線,85),買入線,'重點關注'),colorwhite ;
傻瓜穩赢
Var3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
Var6:=Var5;
Var7:=3*Var4-2*Var5;
Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(Var8,3,1), , COLORWHITE;
D: SMA(K,3,1), , COLORYELLOW;
Var9:=3*K-2*D;
VarA:=LLV(LOW,36);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
趨勢: VarC, ,COLORMAGENTA;
底背: STICKLINE(VarC<10,0,8,5,0), , COLORYELLOW;
頂背: STICKLINE(VarC>90,100,92,5,0), , COLORRED;
VarD:=87.5;
VarE:=(VarC-LLV(VarC,4))/(HHV(VarC,4)-LLV(VarC,4))*4*25;
反彈: DRAWTEXT(IF(CROSS(Var9,8),87,0),48,'反彈'), , COLORGREEN;
買: DRAWTEXT(IF(CROSS(VarE,87.5) AND 趨勢<40,87,0),10,'買'), ,
COLORGREEN;
目标位: DRAWTEXT(IF(CROSS(趨勢,VarD) AND VarE=100,50,0),56,'目标位'),
,COLORBLUE;
見好跑: DRAWTEXT(IF(CROSS(VarD,趨勢),87,0),85,'見好跑'), , COLORRED;
賣: DRAWTEXT(IF(CROSS(趨勢,VarE) AND 趨勢>87,87,0),70,'賣'), ,
COLORRED;
短買: IF(CROSS(趨勢,10) AND 趨勢>10,50,0), , COLORMAGENTA;
VarF:=SMA(Var3,20,1);
Var10:=SMA(VarF,15,1);
Var3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
Var6:=Var5;
Var7:=3*Var4-2*Var5;
Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(Var8,3,1), , COLORWHITE;
D: SMA(K,3,1), , COLORYELLOW;
Var9:=3*K-2*D;
VarA:=LLV(LOW,36);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
趨勢: VarC, ,COLORMAGENTA;
底背: STICKLINE(VarC<10,0,8,5,0), , COLORYELLOW;
頂背: STICKLINE(VarC>90,100,92,5,0), , COLORRED;
VarD:=87.5;
VarE:=(VarC-LLV(VarC,4))/(HHV(VarC,4)-LLV(VarC,4))*4*25;
反彈: DRAWTEXT(IF(CROSS(Var9,8),87,0),48,'反彈'), , COLORGREEN;
買: DRAWTEXT(IF(CROSS(VarE,87.5) AND 趨勢<40,87,0),10,'買'), ,
COLORGREEN;
目标位: DRAWTEXT(IF(CROSS(趨勢,VarD) AND VarE=100,50,0),56,'目标位'),
,COLORBLUE;
見好跑: DRAWTEXT(IF(CROSS(VarD,趨勢),87,0),85,'見好跑'), , COLORRED;
賣: DRAWTEXT(IF(CROSS(趨勢,VarE) AND 趨勢>87,87,0),70,'賣'), ,
COLORRED;
短買: IF(CROSS(趨勢,10) AND 趨勢>10,50,0), , COLORMAGENTA;
VarF:=SMA(Var3,20,1);
Var10:=SMA(VarF,15,1);
Var11:=(3*VarF+2*Var10)/4;
Var12:=REF(Var11,1);
Var13:=SMA(MAX(Var11-Var12,0),2,1)/SMA(ABS(Var11-Var12),2,1)*100;
Var14:=MA(Var13,10);
Var15:=IF(CROSS(Var14,90),25,0);
DRAWTEXT(CROSS(Var14,90),27,'強勢整理'), ,COLORWHITE;
Var16:=(CLOSE+LOW+HIGH)/3;
Var17:=SUM((Var16-REF(LOW,1)-(HIGH-Var16))*VOL/100000/(HIGH-LOW),0);
Var18:=EMA(Var17,1);
Var19:=MA(Var18,12);
Var1A:=MA(Var18,26);
Var1B:=(Var18-Var19)*10;
Var1C:=CAPITAL/EMA(VOL,5)/30*1.1;
Var1D:=IF(CROSS(Var1B,Var1C),1,0);
Var1E:=FILTER(Var1D,7);
Var1F:=DRAWICON(Var1E=1,100,1);
Var20:=EMA(CLOSE,12)-EMA(CLOSE,26);
強勢: DRAWTEXT(IF(CROSS(Var20,0) AND Var20>0,87,0),80,'強勢'), ,
COLORCYAN;
弱勢: DRAWTEXT(IF(CROSS(0,Var20) AND Var20<0,87,0),15,'弱勢'), ,
COLORYELLOW;
Var21:=(CLOSE*2+HIGH+LOW)/4;
Var22:=EMA(Var21,12)-EMA(Var21,26);
Var23:=EMA(Var22,2);
Var24:=2*(Var22-Var23)*5.8;
加倉: DRAWTEXT(IF(CROSS(Var24,0.47),LOW,0),12,'加倉'), ,
COLORMAGENTA;
Var25:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
Var26:=66.6;
DRAWTEXT(IF(CROSS(Var25,63) AND CROSS(Var9,D) OR
CROSS(Var25,76) AND CROSS(Var9,D) OR CROSS(Var25,80) AND
CROSS(Var9,D) OR CROSS(Var25,85) AND
CROSS(Var9,D),LOW,0),20,'反彈'), , COLORYELLOW;
天堂星籌碼流
籌碼比例:=(winner(c)-winner(llv(l,0)))/winner(hhv(h,0))*100;
aa:ema(ema(籌碼比例,3),3);
bb:ema(aa,3);
cc:ema(bb,4);
dd:ema(cc,5);
ee:ema(dd,6);
ff:ema(ee,7);
gg:ema(ff,8);
hh:ema(gg,9);
ii:=ref(aa,1)
drawicon(cross(aa,bb) and ii and cc<50,aa*1.1,1) ;
散人絕對底部
這是原作者的注解:本指标為股散人自用改編公式,公式簡單,但成功率極高,本指标共有三個信号:1、進入底部,這時股價已經差不多見底了,若是起穩,則應積極介入。2、加速探底,如果這種信号與進入底部信号同時出現,則最後一跌的可能性極大,加速探底也可用在上升通道中的調整,對捕捉短線機會成功率也相當高。3、散人出擊,這是最緻命的一擊,出手必赢。指标奉獻給各位朋友,仔細琢磨,必有所獲。
源碼:
散人專線:c/cost(8);
五日專線:ema(ema(散人專線,5),10),coloryellow ;
底部區域:0.85,color00ff00,linethick1;
風險區域:1.35,colorgreen,linethick1;
加速探底:if((ma(c,5)-c)/c>0.04 and
(ma(c,10)-ma(c,5))/ma(c,5)>0.04,1,0.85),colorred;
進入底部:if(散人專線<=0.80,1,0.85),colorgreen;
var1:=散人專線-ref(散人專線,1);
出擊:if(散人專線<0.9 and 五日專線<0.85 and
cross(散人專線,五日專線),1.2,0.85),coloryellow;
平衡點:0.85+(1.35-0.85)/2,pointdot,linethick0,coloryellow;
隻買主升浪
VAR3:=LLV(HIGH,240);
VAR4:=((100 * (CLOSE - VAR3)) / VAR3);
VAR5:=REF(LLV(CLOSE,480),1);
VAR6:=REF(HHV(CLOSE,480),1);
VAR7:=((100 * (CLOSE - VAR5)) / (VAR6 - VAR5));
VAR8:=(((CLOSE - LLV(CLOSE,981)) / (HHV(CLOSE,981) -
LLV(CLOSE,981))) * 100);
VAR9:=(((CLOSE - LLV(CLOSE,393)) / (HHV(CLOSE,393) -
LLV(CLOSE,393))) * 100);
VARA:=(((CLOSE - LLV(LOW,981)) / (HHV(HIGH,981) -
LLV(LOW,981))) * 100);
VARB:=(((CLOSE - LLV(LOW,393)) / (HHV(HIGH,393) -
LLV(LOW,393))) * 100);
VARC:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) -
LLV(LOW,100))),5) / 4);
VARD:=IF((DATE < 1031231),IF((VARC > 23.16),VARC,0),0);
VARE:=(VARC < 1);
VARF:=VARD;
VAR10:=((VAR4 < 0) AND (VAR7 < 0));
VAR11:=1;
VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4) * VAR11);
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4) *
VAR11);
VAR16:=(((EMA(VAR15,89) - 25) * 1.56) * VAR11);
VAR17:=((EMA(VAR16,5) * 1.22) * VAR11);
VAR18:=(EMA(VAR17,3) * VAR11);
VAR19:=((3 * VAR17) - ((2 * VAR18) * VAR11));
VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND
CROSS(VAR17,VAR18)),1,0);
VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND
CROSS(VAR18,VAR17)),1,0);
買點:IF((FILTER(((((VAR8 = 0) AND VARE) AND VAR10) AND VAR1A),5)
= 1),10,0),COLOR0000FF;
賣點:IF((FILTER((((VAR8 = 100) AND VARF) AND VAR1B),5) =
1),10,0),COLOR00FF00;
VAR1C:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) -
LLV(LOW,100))),13) / 4);
VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));
VAR1E:=EMA(VAR1D,30);
VAR1F:=((2 * (VAR1D - VAR1E)) * 10);
VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));
VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
VAR22:=EMA((VAR21 * 0.97),3);
VAR23:=(((HIGH + LOW) + CLOSE) / 3);
VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));
VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);
莊拉線:VAR25,COLOR00FFFF;
VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));
VAR27:=EMA(VAR26,100);
VAR28:=(2 * (VAR26 - VAR27));
VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));
VAR2A:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
VAR2B:=EMA((VAR2A * 0.97),3);
VAR2C:=(((HIGH + LOW) + CLOSE) / 3);
VAR2D:=((VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14)));
黑馬線:(IF((VAR28 > 0.1),VAR29,0) * 5),COLOR0000FF;
量價線:(((CLOSE - MA(CLOSE,21)) / MA(CLOSE,21)) *
100),COLORFFFFFF;
VAR2E:=IF((FILTER(((量價線 > 0) AND (量價線 < 3)),5) = 1),12,0);
漲幅前兆:IF((FILTER(((((莊拉線 > 0) AND (莊拉線 < 0.5)) AND VAR2E) AND
(VAR1C < 3)),10) = 1),10,0),COLORFFFFFF;
選股利器:IF((FILTER((((((((VAR2E > 0) AND (VAR1C < 2)) AND (莊拉線 >
0)) AND (莊拉線 < 1)) AND (黑馬線 > 0)) AND (黑馬線 < 1.5)) AND (VAR2E
> 0)),5) = 1),10,0),COLORFF00FF;
DRAWICON((買點 > 0),10,1),;
DRAWICON((賣點 > 0),10,2),;
DRAWICON((漲幅前兆 > 0),10,1),;
DRAWICON((選股利器 > 0),10,1),;
量價先行:(7 * CROSS(量價線,0)),COLOR00FF00;
DRAWICON((量價先行 > 0),10,10),;
拉升開始:(12 * (((((((莊拉線 > 0.1) AND (COUNT((莊拉線 > 0.1),2) = 1))
AND (CLOSE >= OPEN)) AND (VOL > REF(VOL,1))) AND ((VOL /
CAPITAL) > 0.003)) AND (量價線 > 1)) AND (量價線 >
黑馬線))),LINETHICK2,COLOR00FFFF;
DRAWICON((拉升開始 > 0),15,10),;
量價主升浪:(18 * FILTER((CROSS(量價線,黑馬線) AND (莊拉線 >
0.5)),7)),LINETHICK3,COLOR00FF00;
超漲超跌度
VAR1:=(HIGH+LOW+2*CLOSE)/4;
VAR2:=(MA(HIGH,3)/MA(VAR1,23)-1)*100-5;
VAR3:=(1-MA(LOW,3)/MA(VAR1,23))*100-5;
超漲度:IF(VAR2>0,VAR2*CLOSE/REF(VAR1,3),0),ColorC302FF;
超跌度:IF(VAR3>0,-VAR3*REF(VAR1,3)/CLOSE,0),Colorlime;
超漲預警選股:IF(超漲度[ REF(超漲度,1)>10,11,0),STICK,COLORFFCCCC,LINETHICK2;
]
超跌預警選股:IF(超跌度>REF(超跌度,1) AND
REF(超跌度,1)<-10,-11,0),STICK,COLORRED,LINETHICK2;
a1:=CROSS(超漲度,0.01);
DRAWTEXT(a1,超跌預警選股,'▼'),color00ff00;
a2:=CROSS(-0.01,超跌度);
DRAWTEXT(a2,超跌預警選股,'▲'),colorred;
10,Color00ff00,pointdot;
-10,Color00ff00,pointdot;
絕佳買點
Var1:=MA(HHV(HIGH,485),17);
Var2:=MA(HHV(HIGH,222),17);
Var3:=MA(HHV(HIGH,96),17);
Var4:=MA(LLV(LOW,485),17);
Var5:=MA(LLV(LOW,222),17);
Var6:=MA(LLV(LOW,96),17);
Var7:=MA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,17);
Var8:=MA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,17);
Var9:=MA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,17);
VarA:=MA((Var7*3+Var8*2+Var9)/6*1.738,17);
VarB:=IF(DATE<=1050531,VarA,VarA*DAY);
VarC:=LOW;
VarD:=REF(LOW,1);
VarE:=SMA(ABS(VarC-VarD),3,1)/SMA(MAX(VarC-VarD,0),N,1)*100;
VarF:=MA(IF(CLOSE*1.35<=VarB,VarE*10,VarE/10),N);
Var10:=LLV(LOW,30);
Var11:=HHV(VarF,30);
Var12:=1990831;
絕佳買點:IF(DATE<=Var12,MA(IF(LOW<=Var10,(VarF+Var11*2)/2,0),N),100000000);
I:=IF(CLOSE[ 驟雨初晴:
]
ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);
W:=COST(10)*0;
DRAWICON(驟雨初晴>20000, 18000,1);
DRAWTEXT(CROSS(絕佳買點,24000) ,24000,'絕技'),colorwhite,LINETHICK0
;
DRAWTEXT(CROSS(絕佳買點,42000) ,42000,'牛'),color00FF00,LINETHICK1
;
DRAWTEXT(CROSS(絕佳買點,120000)
,120000,'瘋牛!'),coloryellow,LINETHICK2 ;
DRAWTEXT(CROSS(絕佳買點,240000)
,240000,'瘋牛1'),colorFF99FF,LINETHICK3 ;
DRAWTEXT(CROSS(絕佳買點,360000)
,360000,'瘋牛2'),colorFF00FF,LINETHICK4;
DRAWTEXT(CROSS(絕佳買點,450000)
,500000,'傾家蕩産買'),color9966FF,LINETHICK5;
DRAWTEXT(CROSS(絕佳買點,700000)
,700000,'瘋牛3'),colorred,LINETHICK4;
n110017
大智慧-六脈神劍(信号少,準确度高)
{n :1 100 5}
Var3:=(CLOSE-LLV(CLOSE,124))/(HHV(CLOSE,124)-LLV(CLOSE,124))*100;
Var4:=Var3=0;
Var5:=IF(CLOSE/COST(N)<0.7,1,0);
Var6:=LLV(HIGH,240);
Var7:=100*(CLOSE-Var6)/Var6;
Var8:=Var7<0;
Var9:=IF(CLOSE/COST(26)<0.7,1,0);
VarA:=(Var5 OR Var9) AND Var4 AND Var8;
VarB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
VarC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VarD:=SMA(VarC,3,2);
VarE:=SMA(VarD,3,2);
VarF:=SMA(VarE,5,1);
Var10:=IF(CLOSE/COST(10)<0.65,1,0);
底部來臨: IF(FILTER(VarA,10)=1,1,0),color00ff00;
止跌: IF(FILTER(Var10,3)=1,1,0),colorffcc66;
牛勢股票: REF(VarB,1)>=16 AND REF(VarB,1)/VarB>=1.23 AND
CROSS(VarE,VarF),colorred;
STICKLINE(牛勢股票>0,0.9,1.05,10,0),colorred;
DRAWTEXT(底部來臨,0.25,'底部買點'),color00ff00;
DRAWTEXT(牛勢股票,0.85,'牛勢再現'),colorwhite;
DRAWTEXT(止跌,0.6,'止跌轉牛勢'),coloryellow;
寶塔天王~~~原碼
VAR1:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR2:=((REF(VAR1,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VAR3:=((REF(VAR2,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VAR4:=((REF(VAR3,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VAR5:=((REF(VAR4,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VAR6:=((REF(VAR5,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VAR7:=((REF(VAR6,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VAR8:=((REF(VAR7,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VAR9:=((REF(VAR8,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VARA:=((REF(VAR9,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VARB:=((REF(VARA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VARC:=((REF(VARB,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
STICKLINE((((((((((((VAR1 OR VAR2) OR VAR3) OR VAR4) OR VAR5)
OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR
VARC),CLOSE,REF(CLOSE,1),8,1),,;
VARD:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VARE:=((REF(VARD,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=
REF(CLOSE,2)));
VARF:=((REF(VARE,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=
REF(CLOSE,2)));
VAR10:=((REF(VARF,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE
<= REF(CLOSE,2)));
VAR11:=((REF(VAR10,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE
>= REF(CLOSE,2)));
VAR12:=((REF(VAR11,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE
<= REF(CLOSE,2)));
VAR13:=((REF(VAR12,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE
>= REF(CLOSE,2)));
VAR14:=((REF(VAR13,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE
<= REF(CLOSE,2)));
VAR15:=((REF(VAR14,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE
>= REF(CLOSE,2)));
VAR16:=((REF(VAR15,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE
<= REF(CLOSE,2)));
VAR17:=((REF(VAR16,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE
>= REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE
<= REF(CLOSE,2)));
STICKLINE((((((((((((VARD OR VARE) OR VARF) OR VAR10) OR
VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR
VAR17) OR VAR18),CLOSE,REF(CLOSE,1),8,0),;
VAR19:=(REF((((((((((((VARD OR VARE) OR VARF) OR VAR10) OR
VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR
VAR17) OR VAR18),1) AND VAR1);
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),8,0),;
VAR1A:=(REF((((((((((((VAR1 OR VAR2) OR VAR3) OR VAR4) OR
VAR5) OR VAR6) OR VAR7) OR VAR8) OR VAR9) OR VARA) OR VARB) OR
VARC),1) AND VARD);
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),8,1),;
莊家行蹤副圖公式
VAR1:=EMA(EMA(CLOSE,13),13);
控盤:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORFFCCCC,POINTDOT;
STICKLINE(控盤<0,控盤,0,4,0),COLORWHITE;
無莊控盤:0,COLORWHITE;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,4,1),COLORRED;
有莊控盤: 0,COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盤,控盤,0,4,0),COLOR00FF00;
主力出貨: 0,COLOR00FF00;
高度控盤: 0,COLORFF00FF;
A10:=CROSS(控盤,0);
開始控盤:IF(A10,3,0),COLORYELLOW;
[ 本帖最後由 螞蟥盯莊 于 2006-12-31 15:28 編輯 ]
<短線狙擊手>一書中的精華指标
短線狙擊手 大概除了索羅斯之外,幾乎所有的投資大師,包括了巴菲特、彼德林區,或是坦伯頓,給投資人的金科玉律中,一定都會有一條「要長期持有投資标的,從事短線交易是無法緻富的」,而這一條規範也正是各投資大師們能夠緻富的重要因素之一。但喬治.安傑羅(George
Angell)卻以狙擊手操作(Sniper
Trading)縱橫期貨及選擇權市場,每日以當日沖銷創造自身财富,更以其所發展的高效率LSS系統,聞名于華爾街。
作者喬治·安傑爾畢業于紐約大學,開始交易已經超過30年,其中有十年的場内交易員經曆。他有多本暢銷交易著作面世,目前進行交易操作以及培訓、寫作、市場咨詢顧問等業務,是知名的交易培訓與交易分析人士。
我根據自己閱讀及理解及實際運用,發現五日擺動指标最實用.現在我把公式公布(大多數股期軟件都能用),具體用法一看便知.
下面兩公式為同一指标的不同顯示方法,可根據自己的喜好來選擇,都是副圖.
1.
A:=HHV(HIGH,5);
B:=REF(OPEN,4);
f:=LLV(LOW,5);
D:=2*(A-f);
W:(A-B+CLOSE-f)/D*100;
MW:MA(W,3);
X:30,COLORGREEN;
S:70,COLORGREEN;
2.
ao:=MA((((HHV(H,5)-REF(O,4))+(C-LLV(L,5)))*100)/((HHV(H,5)-LLV(L,5))*2),3);
30;
50;
70 ;
STICKLINE( ao>=REF( ao,1),0, ao,1,1),COLORRED;
STICKLINE( ao<=REF( ao,1),0, ao,1,1),COLORGREEN;
絕密6号 源碼
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
Var5:=CROSS(Var3,Var4) AND Var3<20;
Var6:=CROSS(Var4,Var3) AND Var3>80;
ENTERLONG: FILTER(Var5,10)=1;
EXITLONG: FILTER(Var6,5)=1;
神秘籌碼!!!!
{均線}
X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;
X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;
X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
X5:=V/CAPITAL*(C+O+L+H)/4;
x6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
x7:=IF(x6>0,X5,0-X5);
x8:=H-MAX(C,O)-(MIN(C,O)-L);
x9:=(x7+x8)/2+C-REF(C,1);
x10:=SUM(x9,0)+100;
x11:=EMA(x10,5)+100;
x12:=EMA(x10,13)+100;
x13:=EMA(x10,34)+100;
x14:=EMA(x10,60)+100;
x15:=EMA(x10,120)+100;
x16:=(x11-x12)/EMA(C,13)*100;
x17:=(x11-x13)/EMA(C,13)*100;
x18:=(x11-x14)/EMA(C,13)*100;
x19:=(x11-x15)/EMA(C,13)*100;
x20:=(x19-x16);
x21:=(x19-x17);
x22:=(x19-x18);
y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
y3:=y1-y2;
y4:=100-y3;
y5:=(0-(EMA(y4,1)-50))+50;
y6:=(0-(EMA(y4,12)-50))+50;
Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
Z3:=(Z1-Z2-50)*1.032+50;
Z4:=(2*C+H+L+O)/5;
Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
P0:X4-X1+x20+y5-y6,COLORYELLOW;
P1:X4-X1+x20,COLORRED;
P2:X4-X2+x21;
P3:X4-X3+x22,COLORWHITE;
{籌碼}
bb1:=SMA(ABS(L-REF(L,1)),3,1);
bb2:=SMA(MAX((L-REF(L,1)),0),3,1);
bb3:=bb1/bb2*100;
bb4:=EMA(IF(C*1.2,bb3*10,bb3/10),3);
bb5:=LLV(L,38);
bb6:=HHV(bb4,38);
bb7:=IF(LLV(L,90),1,0);
bb8:=IF(L<=bb5,(bb4+bb6*2)/2,0);
bb9:=EMA(bb8,3)/618*bb7;
追影飛刀原碼短線
長上影:=(H-MAX(C,O))/(MIN(C,O)-L)>=3;
大振幅:=H/L>=1.03;
小實體:=MAX(C,O)/MIN(C,O)<=1.03;
AA:(長上影 AND 大振幅 AND 小實體)*0.3,STICK,COLOR00FF00,LINETHICK2;
STICKLINE(AA ,0 ,0.3 ,5 ,1 ),color00FF00;
低開盤:=O[ 大實體:=MAX(C,O)/MIN(C,O)>=1.03;
]
實體新高:=(C-REF(C,1))/REF(H-MAX(C,O),1)>=0.7;
BB:(低開盤 AND 大實體 AND 實體新高)*0.3,STICK,COLORRED,LINETHICK2;
STICKLINE(BB ,0 ,0.4 ,5 ,1 ),colorRED;
買:BB AND REF(AA,1),COLORYELLOW,LINETHICK2;
QUOTE:
該指标隻是短線可能上漲的一種信号,信号量一般,短線成功率較高
新莊增倉送紅包
A00:=(((CLOSE - MA(CLOSE, 10.000)) / MA(CLOSE, 10.000)) *
100.000);
A01:=(((CLOSE - MA(CLOSE, 20.000)) / MA(CLOSE, 20.000)) *
100.000);
A02:=(((CLOSE - MA(CLOSE, 30.000)) / MA(CLOSE, 30.000)) *
100.000);
A03:=(((A00 + A01) + A02) /3.000);
A04:=(WINNER(((AMOUNT / VOL) /100.000)) *100.000);
A05:=( 100.000 - ABS(A03));
A06:=EMA(((WINNER((CLOSE *1.100)) - WINNER((CLOSE *0.9)))
*100.000), 1.000);
A07:=ABS((((COST( 50.000) - CLOSE) / CLOSE) *100.000));
A08:=IF(((( 1.000 / WINNER(CLOSE)) >100.000) and
(ABS((((COST( 50.000) - CLOSE) / CLOSE) *100.000)) > A05)),
100.000,0);
A09:IF(((REF(A08, 1.000) > 0) and (A08 = 0)), 100.000,0);
A0A:EMA((WINNER(CLOSE) *100.000), 3.000);
A0B:EMA((WINNER(CLOSE) *70.000), 5.000);
A0C:EMA(((WINNER((CLOSE *1.100)) - WINNER((CLOSE *0.9))) *
70.000), 5.000);
A0D:=( 1.000 / WINNER(CLOSE));
A0E:=IF(((A0D < REF(A0D, 1.000)) and (REF(A0D, 1.000) >
REF(A0D, 2.000))), 120.000,0);
A0F:IF(((((A04 <1.000) and (A06 <3.000)) and (A07 >
59.000)) and A0E), 50.000,0);
A10:ABS((((COST( 50.000) - CLOSE) / CLOSE) *100.000));
A11:IF(((((A10 >68.000) and (A0A <1.000)) and (A0B <
1.000)) and (A06 <5.000)), 50.000,0);
主力建倉提醒
var10:=100*(c-cost(10))/cost(10);
var1:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100;
var2:=sma(var1,4,1);
var3:=sma(var2,2,1);
var4:=vol/capital*34;
var5:=ref(var4,1);
主力建倉提醒: if(var3<8.5 and var2<11,-10,0),colorred;
空跌幅度:if(var10<0,var10,0),coloryellow,linethick2;
-10,colorccff99,pointdot;
-20,colorccff99,pointdot;
-25,colorccff99,pointdot;
短線高手
Var1:=1;
Var2:=(2*CLOSE+HIGH+LOW)/4;
天: 80, POINTDOT;
人: 20;
Var3:=IF(YEAR>=2099 AND MONTH>2,0,1);
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散戶: EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3*Var1;
莊家: EMA(0.667*REF(散戶,1)+0.333*散戶,2)*Var3*Var1;
Var6:=(HHV(HIGH,4)-Var2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
Var7:=(Var2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
倒影: SMA(Var6,4,1)*Var1;
Var8:=SMA(Var7,2,1);
黃山: SMA(Var8,2,1)*Var1;
地平線: 12;
DRAWTEXT(CROSS(散戶,莊家) AND 散戶<50 AND
29<散戶,20,'短快進'),COLOR00FF00;
DRAWTEXT(CROSS(莊家,散戶) AND 散戶>40 AND
71>散戶,50,'短快出'),COLOR00FFFF;
DRAWTEXT(CROSS(散戶,莊家) AND 散戶<30,0,'逢低吸'),COLOR3399CC;
DRAWTEXT(CROSS(莊家,散戶) AND 散戶>70,75,'逢高減'),COLORFFFF33;
DRAWICON(CROSS(散戶,莊家) AND 散戶<30,20,1);
DRAWICON(CROSS(莊家,散戶) AND 散戶>70,80,2);
Var9:=CLOSE-REF(CLOSE,5);
VarA:=EMA(EMA(Var9,5),5)/EMA(EMA(ABS(Var9),5),5)*100;
VarB:=EMA(EMA(Var9,10),10)/EMA(EMA(ABS(Var9),10),10)*100;
VarC:=EMA(EMA(Var9,20),20)/EMA(EMA(ABS(Var9),20),20)*100;
賣出: IF(VarA>0 AND CROSS(VarC,VarA),-40,0);
DRAWTEXT(賣出,-30,'中線逃吧!'),COLOR0033FF;
DRAWICON(賣出<0,-25,2);
地量換手
說明:
地量換手:大紅色豎線,越高換手率越低。
CYA:綠色曲線。
CYB:粉紅色曲線。
CYC:大紅色曲線。
關注:
1、當底部出現深藍色小豎線。
2、當CYA上交CYB時。
注意風險:
1、CYA下穿CYB時。
2. 底部出現淡藍色點。
=
穿越籌碼:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,;
換手比率:VOL/CAPITAL*100,STICK,COLORFF0099;
地量換手:1/換手比率*100,STICK,COLORRED,LINETHICK3;
A1:=LLV(HIGH,240);
MYP:=100*(CLOSE-A1)/A1;
A2:=REF(HHV(CLOSE,240),1);
B2:=REF(LLV(CLOSE,240),1);
RPY:=100*(CLOSE -B2)/(A2-B2);
A3:=1.1*CLOSE;
B3:=0.9*CLOSE;
ASR:=100*(WINNER(A3)-WINNER(B3));
A4:=WINNER(CLOSE);
A5:=DMA(A4,VOL/CAPITAL);
B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
A6:=100*VOL/CAPITAL;
B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
A7:=ABS(B6/A6);
CYA:A4/B4*50,COLOR00FF00;
CYB:EMA(A4/B4*50,34),COLORFF00FF;
CYC1:A5/B4*50,COLORRED;
IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越籌碼>=24 AND
(VOL/CAPITAL*100)<=3 AND
C>=O,地量換手+200,0),STICK,LINETHICK3,COLORFF00FF;
IF(A7>30 AND
(VOL/CAPITAL*100)<=3,地量換手,0),STICK,LINETHICK2,COLORWHITE;
籌碼穿透率:=B6/A6;
IF(籌碼穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND
換手比率<=3,地量換手+200,0),STICK,LINETHICK3,COLORBLUE;
IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越籌碼>=24 AND
(VOL/CAPITAL*100)<=3 AND
C CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4;
三浪啟動通用
aa:=ma(c,60);
bb:=abs(c-aa)/c*100;
cc:=BETWEEN(bb,0.01,20);
maa:=if(1,c>aa and cc,c 三浪啟動:ma(c,5)>ma(c,65) andma(c,10)>ma(c,65)and
ma(c,30)>ma(c,65) andma(c,5)
準确買賣(轉載)---用了不愁錢用!!
VAR1:=IF(DATE>=1990601,0,1);
VAR2:=TROUGHBARS(3,15,1)<10;
VAR3:=PEAKBARS(3,15,1)<10;
VAR4:=IF(VAR2=1,50,0);
VAR5:=IF(VAR3=1,50,0);
底部:= IF(VAR4=50,50,0);
頭部:= IF(VAR5=50,100,0);
a:if( 底部>ref(底部,1),50,0);
aa:if(頭部>ref(頭部,1),50,0);
DRAWTEXT(a=50,100,'買' ),COLOR00ff00;
DRAWTEXT(aa=50,50,'賣'),COLORred
牛熊裁判
财富:=
SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),13);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),13);
PDI:=DMP*100/财富;
MDI:=DMM*100/财富;0, ;
de:=pdi-mdi;
熊市:if(de<0,de,0),colorgreen, linethick2;
牛市:if(de>0,de,0),colorred, linethick2;
主要分牛市操作區和熊市操作區.直觀一目了然.
具體使用要點:
1.指标為綠色就是熊市觀望區.
2.指标為紅色就是牛市操作區.
3.在紅色牛市操作區,指标參與達到40或以上為超買,小心個股見頂回落
4.在綠色熊市觀望區,指标參數達到-40或以上為超賣,注意見低反彈。
回馬槍
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
EMA34:=EMA(C,34);
W1:=EMA13>EMA21 AND EMA21>EMA34;
W2:=BARSLAST(C
W3:=W1 AND W2 AND EMA13>REF(EMA13,1) AND CROSS(C,EMA13);
W4:=W1 AND W2 AND EMA21>REF(EMA21,1) AND CROSS(C,EMA21);
回馬槍:W3 OR W4;
使用要點:
1、對于前期漲幅比較大、均線值偏離過大的強勢股、熱門股非常有效。在經過一波回調後指标發出信号應該是最好的介入點,至少有10%以上的收益。
2、發出信号的當天,隻要買賣盤相對踴躍就可以介入,穩健操作的的可以觀察一兩天,象這樣形态的股票最遲三天之内就有良好的表現。
3、對于盤整或在箱體内運行的股票效果不好,最好不介入,即使介入也要短線操作!
黑馬起步
Var1:=EMA(CLOSE,8);
Var2:=EMA(Var1,20);
Var3:=CROSS(Var1,Var2);
Var4:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var5:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var6:=SMA(Var5,5,1);
Var7:=SMA(Var6,8,1);
Var8:=CROSS(Var6,Var7) AND Var7<20;
Var9:=CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND Var8;
VarA:=IF(CLOSE>1000,Var8,Var9);
{多頭買入} ENTERLONG: Var3 AND Var4;
{多頭賣出} EXITLONG: VarA;
[超級2版]共三個公式:一個交易公式"黑馬起步J",一個主圖疊加指标公式"黑馬起步Z"和一個副圖指标公式"黑馬起步F"。交易公式和副圖指标公式指示的買入點完全一樣,隻是交易公式多了賣出信号;
本公式使用日線數據,首先要保證數據齊全,當買入指示出現後,即表明此處已是中期底部的末,不一定要立刻買進,有些指示出現後立即上漲,有些指示出現後可能還有小的回調,在底部可能有多次指示,不斷提醒;
買入信号發出後,若能形成W底或大的圓弧底,其中長線虧損的概率相當低;這是一個中長線公式,逢低分批買入後要耐心持股;上市不足120日的股票沒有買入指示;買入信号在近期大幅除權的股票中要慎用;買入信号在前期經過大幅拉升,現正處在下降通道調整的個股中要慎用;
交易公式的賣出信号有可能出現在莊家第一波拉升的震倉初期,後面可能還有第二波拉升,但第二波拉升後若出現賣出信号則應堅決清倉,另外有些股票不一定有賣出信号,所以您不一定要等到賣出信号才賣出;若能配合大勢使用,效果更佳。
均線濾波器
ma5:ma(c,5),colorwhite;
ma10:ma(c,10),colorffcc66;
ma30:ma(close,30),colorff00ff;
上端濾波線:ma30*1.03,coloryellow;
下端濾波線:ma30/1.03,coloryellow;
原理及使用方法:
以30日移動平均線做的上下端濾波線(也可以其任一周期移動平均線設置上下端濾波線)。
當股價上穿某30日的移動平均線時,這時的股價運動方向有兩種,一是繼續向上形成有效突破;另一種是破線後沒站穩又返回均線下方的假突破。為了減少這種情況的發生,就可以在此交易系統中安裝濾波器,如在原線值乘以1.03,下線是除以1.03,并在此基礎上增設兩條新的濾波均線。當股價波動到原信号價位時,隻當作警戒預備信号;如股價繼續上穿上方的濾波線時,則當作有效買入信号。同理,向下穿越下方的濾波線時,則是有效的賣出信号。這是均線類型指标用的濾波器。
DMI捕捉暴漲股
{參數:N: 1 100 7; M: 1 100 3;}
TR :=
SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
PDI: DMP*100/TR;
MDI: DMM*100/TR;
ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:(ADX+REF(ADX,M))/2;
預警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;
買:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR
REF(C,1)>1.05*REF(C,2)) AND (V>2*REF(V,1) OR
REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60)
,20,0),COLORRED,LINETHICK2;
買2:IF(CROSS(PDI,MDI) AND
COUNT(預警,10)>=1,10,0),COLORBLUE,LINETHICK3;
用法:
由原碼可知,公式規定,買入條件為DI金叉MDI,并且股加在當天或上一日漲幅超過5%.PDI金叉MDI标明有增量資金入場,而漲幅大于5%,則标明主力拉升股價的決心和實力.兩個因素相加,短線暴漲也就可以期待了!
短線漲幅的大小還取決于PDI向上攻擊的力度,即其上升角度的大小.如果PDI在短時間内(越短越好)由低位一舉上穿MDI,ADX,ADXR到達最高值,應毫不猶豫地果斷追漲買進,因為一輪短線暴漲行情就此開始了!
最後,需要說明的是,買入後如果股價未能如願上漲,則應在跌破止損價後果斷止損,而不應對其再抱幻想,畢竟資金的安全是第一位的.
S異動測度
Var1:=AMOUNT/VOL/100; 勝龍2000特色指标
Var2:=MAX(ABS(HIGH-Var1),ABS(Var1-LOW));
Var3:=ABS((OPEN+CLOSE)/2-Var1);
MV: (Var2+Var3)/Var1*100;
異動測度--勝龍2000特色指标
異動測度是用來探測股價異動情況,發出異動信号,根據異動信号洞悉莊家坐莊軌迹。其優點是靈敏度高、信号準确。
異動測度的波動範圍在0-10之間,有時會超過10一點,數值越大表示異動程度越大,不同數值代表不同的意義,根據數值的不同可以劃分為:
1.0-3之間:常态區,股價波動不大,莊家沒有活動;
2.3-5之間:非常态區,股價波動幅度較大,莊家開始活動,一般是拉升期前的準備階段;
3.5-7.5之間:超常态區,股價波動異常,一般是莊家拉升股價的開始或開始出貨的信号;
4.7.5以上:極度區間,股價波動異常,達到極度區間的股票不多,這樣的股票一般是強莊股;
用法:
1.股價在底部或經過一段時間的橫盤整理後,MV突破常态值,一般是莊家即将拉台的信号;
2.股價在頂部或股價漲幅已大,MV突破常态值,一般是股價見頂的信号,莊家有可能出貨的意圖;
3.MV不是買賣信号指标,隻是一個撲捉個股異動的指标,所以不要以MV突破常态值為買賣點信号;
4.使用排序功能,此乃勝龍絕招之一。
S損益天平
m=20,n=255
Var1:=EMA(AMOUNT,M)/EMA(VOL,M)/100;
Var2:=EMA(AMOUNT,N)/EMA(VOL,N)/100;
LPR0: (CLOSE-Var1)/Var1*100;
LPR1: (CLOSE-Var2)/Var2*100;
算法:
損益天平實際上是20日成本線的乖離。該指标提示的是一個市場事實,就是20個交易日内入場的投資者盈利或虧損情況。
2.用法:
a.當LPR=0時,表現為一條直線,它可以看作是一條平衡線,股價在此線上,表明目前介入該股的投資者成本與市場成本大體一緻,風險較小。周期越長,對股價的支撐越大。
b.當LPR<0時,意味着當前介入的投資者是低于近期的市場成本介入的,買進的是市場前期的割肉盤。當股價低到一定的程度時,例如LPR=20,賣壓極輕,容易産生超跌反彈。
c.當LPR>0時,意味着當前的介入着是以高于近期的市場成本介入的,買進的股票時前期的獲利盤。當股價上升到一定程度時,例如:LPR=5,市場必然會産生短線賣壓,正常情況下股價會下跌,如果股價起穩沒有下跌,表明市場有力量吃掉短線賣壓,股價大多會上漲,投資者可以立即追入。
莊家擡轎
VAR1:=EMA(EMA(CLOSE,9),9);
控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盤<0,控盤,0,1,0),COLORWHITE;
A10:=CROSS(控盤,0);
無莊控盤:IF(控盤<0,控盤,0),COLORWHITE,NODRAW;
開始控盤:IF(A10,5,0),LINETHICK1,COLORYELLOW;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLORRED;
有莊控盤:IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85) 控盤>0,控盤,0,1,0),COLORFF00FF;
高度控盤:IF(VAR2>50 AND COST(85) 控盤>0,控盤,0),COLORFF00FF,NODRAW;
STICKLINE(控盤[0,控盤,0,1,0),COLOR00FF00;
]
主力出貨:IF(控盤[0,控盤,0),COLOR00FF00,NODRAW;
]
波段之星
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=EMA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK: EMA(VAR6,2)*1.22;
AD1: EMA(AK,2);
AJ: 3*AK-2*AD1;
AA:100;
BB:0;
CC:80;
買進: IF(CROSS(AK,AD1),58,20);
賣出: IF(CROSS(AD1,AK),58,20);
獵狐先覺
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
主力棄盤: (-2)*(VAR2-VAR3)*3.8;
主力控盤: 2*(VAR2-VAR3)*3.8;
神雕獵狐
N 1 250 34 M 1 250 3
散戶資金指數:
EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M);
主力資金指數:
EMA(100*(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N)),M);
博弈線: 80;
主力買賣
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
MMM:EMA(MMS,8);
MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
白線為短期趨勢線,黃線為中期趨勢線,紫線為長期趨勢線。
1、主力買賣與主力進出配合使用時準确率極高。
2、當底部構成發出信号,且主力進出線向上時判斷買點,準确率極高。
3、當短線上穿中線及長線時,形成最佳短線買點交叉形态(如底部構成已發出信号或主力進出線也向上且短線乖離率不大時)。
4、當短線、中線均上穿長線,形成中線最佳買點形态(如底部構成已發出信号或主力進出線也向上且三線均向上時)。
5、當短線下穿中線,且短線與長線正乖離率太大時,形成短線最佳賣點交叉形态。
6、當短線、中線下穿長線,且是主力進出已走平或下降時,形成中線最佳賣點交叉形态。
7、在上升途中,短、中線回落受長線支撐再度上行之時,為較佳的買入時機。
8、指标在0以上表明個股處于強勢,指标跌穿0線表明該股步入弱勢。
博弈資金:
它能夠把市場的資金中那些是主力資金,那些是大戶遊資,那些是散戶資金,清楚地分開。在上漲過程中我們隻關注主力資金動向(黃色表示為主力),一旦黃色柱狀線放大,就是我們進場之時。
換手:v*100/capital,LINETHICK0;
主力:ma(換手,4),COLORYELLOW,linethick2;
遊資:ma(換手,9),COLORGREEN,linethick2;
大戶:ma(換手,17),COLORRED,linethick2;
散戶:ma(換手,34),COLORF2E9E7,linethick2;
警戒線:ma(換手,180),COLORFF00FF,linethick2;
STICKLINE(主力>0,0,主力,4,0),COLORYELLOW;
STICKLINE(遊資>0,0,遊資,4,0),COLORGREEN;
STICKLINE(大戶>0,0,大戶,4,0),COLORRED;
STICKLINE(散戶>0,0,散戶,4,0),COLORF2E9E7;
資金趨勢: (主圖)
指标由白色分水嶺、黃色做多趨勢線、粉色支撐線、綠色做空趨勢線及灰色阻力線組成,在平常的使用中我們主要關注綠色做空趨勢線在K線的上下來判斷買賣。
使用方法:當K線位于綠色作空資金趨勢線下方時,表示空方力量較強,股價處于調整階段,可觀望;當K線位于綠色的作空資金趨勢線上方,并且站穩支撐線時,顯示股價處于強勢,具有上漲潛力,可買進。建議周線使用效果教好或結合其他指标使用。當K線位于綠色作空資金趨勢線下方時,表示空方力量較弱,股價處于調整階段。
Var1:=(HIGH+LOW+OPEN+CLOSE)/4;
分水嶺: MA(3*Var1-2*SMA(Var1,2,1),12),colorwhite;
上漲: IF(Var1>分水嶺,Var1,分水嶺),COLORYELLOW;
支撐: REVERSE(上漲)+2*分水嶺;
Var2:=IF(Var1<分水嶺,Var1,分水嶺);
Var3:=2*EMA(LLV(Var1,7),10)-Var1;
做空趨勢: 3*Var3-2*SMA(Var3,10,1),COLORGREEN;
阻力: REVERSE(Var2)+2*分水嶺,ColorFFFFFF;
天堂星雷達
ma5:MA(CLOSE,5),colorf00ff0;
ma13:MA(CLOSE,13),colorwhite;
ma60:MA(CLOSE,60),linethick2,coloryellow;
ma90:ma(c,90),linethick2,colorf0f000;
ma120:MA(CLOSE,120),color00ff00;
aa:=cross(ma(c,5),ma(c,20)) and cross(ma(c,5),ma(c,30)) and
cross(ma(c,5),ma(c,60));
bb:=ma(c,60)>ma(c,10) and cross(ma(c,10),ma(c,30)) and
ma(c,30)>ma(c,20) and abs(ma(c,60)-ma(c,20))/ma(c,20)<0.05;
cc:=ma(c,30)>ma(c,5) and cross(ma(c,5),ma(c,20)) and
ma(c,20)>ma(c,10), coloryellow;
dd:=abs((ma(c,5)-ma(c,10))+(ma(c,10)-ma(c,20))+(ma(c,20)-ma(c,30)))<0.02
and ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1);
ee:=ma(c,20)>ma(c,5) and cross(ma(c,5),ma(c,10)) and
ma(c,10)>ma(c,60) and abs(ma(c,20)-ma(c,60))/ma(c,60)<0.05;
ff:=aa or bb or cc or dd or ee ;
天堂星雷達:=ff and FILTER( ff,8);
drawicon(天堂星雷達,l,1);
drawtext(天堂星雷達,l*0.99,'雷達'),coloryellow;
stickline(天堂星雷達,h,l,0.5,0),coloryellow;
stickline(天堂星雷達,o,c,6,1),linethick2,coloryellow;
aa1:=AMOUNT/vol;
bb1:=l
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l
ee1:=vol
ff1:bb1 and cc1 and dd1 and ee1;
drawtext(ff1,l*0.99,'老鼠倉'),color00ff00;
stickline(ff1,h,l,0.5,0),color00ff00;
stickline(ff1,o,c,6,1),linethick2,color00ff00;
生命之源
Var1:=FORCAST(CLOSE,30);
A:WINNER(Var1), LINETHICK1,COLORYELLOW;
A1:REVERSE(A),LINETHICK1 , COLORWHITE;
A2:(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)),COLOR00FF00;
A3:REVERSE(A2), COLORRED;
STICKLINE(C>0,1,{1}0.96,4,0),colorFF9999;
STICKLINE(C>0,-1,{-1}-0.95,4,0),colorFF9999;
-0.3,colorDDDDDD,POINTDOT,LINETHICK2;
0.3,colorDDDDDD,POINTDOT,LINETHICK2;
用法:該指标引用了相反數、獲利盤比例、線性回歸預測值函數的原理表示股價
運行的趨勢,四條線呈對稱形,當四條線粘合運行在兩條白色線區間時表示盤整,
不宜介入。當紅綠兩條線分離脫離白色線區間時表示開始漲升,分離的幅度越大,
漲升也就越大。當綠線臨近頂線(藍線)或觸及頂線時,預示即将到頂,要擇機賣出。
ZYJ2----抄底指标
Var1:=AMOUNT/VOL/100;
Var2:=(Var1-REF(Var1,1))/REF(Var1,1);
Var3:=100*VOL/CAPITAL;
Var4:=Var2/Var3;
0;
Var5:=SUM(Var4,10);
Var6:=(Var5-REF(Var5,10))/REF(Var5,10);
Var7:=VOL/(HIGH-LOW);
Var8:=Var7>REF(Var7,1);
Var9:=REF(Var7,1)>REF(Var7,2);
ZYJ: IF(WINNER(CLOSE)<5/100 AND Var3>0.1 AND Var8 AND
Var9,Var6,0);
用法說明:
照妖鏡二代(ZYJ2)是在照妖鏡一代(ZYJ1)的基礎上發展而産生的,性質沒有本質的變化---依然是中短線抄底指标。主要包括了下面的内容:
1、 平均移動成本及變化趨勢;(價格)
2、 換手率及變化趨勢;(成交量)
3、 平均移動成本和換手率的綜合變化趨勢;(綜合)
4、 乖離率;(偏離度)
5、 技術分析精論指标TAI及變化趨勢;(區域性的價格強度)
6、 混沌理論中"分型"和"視窗組合"的概念;(價格形态和時間)
7、 籌碼分布情況。(成本分布)
照妖鏡二代(ZYJ2)全面考慮了價格、成交量、價格和成交量的結合、價格偏離度、區域性價格強度、價格形态和時間、成本分布等幾大影響價格發展的因素,并将它們有機地結合在一起,在市場的可能性的底部發出明确的交易信号。
與照妖鏡一代(ZYJ1)相比,照妖鏡二代(ZYJ2)的信号更加簡潔明了,精确度大大提高,在5%範圍内(指信号出現後價格繼續下跌不超過5%),正确率達90%,在10%範圍内,正确率達到97%。
照妖鏡二代(ZYJ2)有下面幾項功能:
A、正确判斷市場的長期底部;在相對漫長的階段,照妖鏡二代(ZYJ2)斷斷續續出現交易信号,但是每次均獲利不多(一般在10%左右),股票價格明顯地在一個箱體中運行,或者形成一個圓形的形态,這表面股票處于"收集"狀态,就是我們常說的"莊家在吸貨"的階段,也就是市場的長期底部。
B、正确判斷市場的階段性(中短期)底部:價格在某一狹窄範圍(一般為5%左右)震蕩,照妖鏡指标連續出現交易信号,是市場的暫時性底部的标志,一般情況下,後面會有大于10%的上漲幅度。階段性(中短期)底部可能是長期底部的一個組成部分。
C、正确判斷主力莊家的意圖:當照妖鏡二代(ZYJ2)的交易信号并非出現在近期的最低點附近,就是說,不久以前,曾經出現過更低的價格而ZYJ2并沒有發出交易信号。這是主力莊家在測試目前這個區域的支持力度,而且感到滿意,價格将被進一步拉升,幅度将大于10%。
D、正确判斷前期主力的出貨程度:當前期的價格曾經發生過強烈的上升行情,并橫盤較長時間,在一個小幅的下跌中,照妖鏡二代(ZYJ2)就發出了交易信号,這是前期主力基本出貨完畢的标志,随之而來的是新主力的進場,也可能是市場的慣性波動。
照妖鏡二代(ZYJ2)是一個中短線的抄底指标。由于有90%的成功率,我們的原則是:要"看見"10%。就是說,除非在買入後價格明顯地拒絕上升,或者觸動止損而使你出場,否則應當繼續持有,直到獲利10%以上出場,并交易其他有信号的股票。放心,幾乎每天照妖鏡二代(ZYJ2)都會有交易信号出現。
雖然照妖鏡二代有90%的抄底成功率,在10%的範圍内甚至到達97%,但是對任何公式或交易,我們都不能抱有100%的把握。對交易或公式有信心是一回事,保障資本和保持獲利又是一回事。無論如何,優秀的資金管理可以在很大程度上保障你的資本不受大的損失,并保證你獲利的一緻性(長期而穩定)。
我們建議做如下的資金管理,比較适合照妖鏡二代(ZYJ2)的特性。
1、将計劃使用在照妖鏡二代(ZYJ2)上面的資金平均分成3-4份,每份使用在一支股票上面。
2、任何時候都不加碼交易。如果開始沒有買夠,那麼隻在有浮動赢利的時候補充籌碼。
3、嚴格使用止損。
C、挑選最好的股票進行交易:照妖鏡二代(ZYJ2)是一個完全可以獨立使用的指标,但是她的信号量龐大(相對于90%的成功率),一般情況下,每天的信号量在2-4個之間,多的時候有20--40個左右,因此我們不主張随便選擇,盡管都可以交易,精選一下不是更好嗎?如果信号股票很多的話,我們提出以下幾個方案供參考:
1、 和MACD指标配合使用:選擇MACD指标出現背離的股票;
2、 選擇前期曾經出現相同底部的股票;
3、 選擇近期下跌幅度最大的股票;
4、 ZYJ2的絕對值比較大的股票;
5、 選擇短期平均線開始擡頭的股票;
6、 成交量相對大的股票;
7、 股評家号召出貨的股票;
照妖鏡二代(ZYJ2)的使用注意事項:
A、 必須使用複權後的價格走勢圖;
B、 當且僅當指标波動後又回0的情況下,才表示買入信号成立。
C、從指标開始波動到回0,時間一般不超過三個交易日,大多數情況是兩個交易日。
D、交易信号出現後,價格不應該出新低點。因此,将近期新低點稍下的價格,作為止損價格非常合适。
E、本文所說的"價格将上升10%",是指從最低點的價格算起,而不是信号出現後的價格,一般情況下,這兩個價格相差不會很大。
如何使用照妖鏡創造最佳收益:如果你閱讀了上面的部分并且能夠完全理解,你會感到使用照妖鏡二代(ZYJ2)進行股票交易是一件簡單而且愉快的事情,快樂不僅僅在于交易給你帶來财富,更重要的是幫助你在交易中獲得自我實現。下面我們将要讨論如何在使用照妖鏡二代(ZYJ2)的基礎上獲得最佳的收益。嚴格來說,世界上根本不存在"最佳"這個東東,因為無論你有多麼好,總是存在缺陷,或者還有比你更好的。因此,我們在這裡所說的,不過是一種局部的完美。
1、正确的交易思想是你獲利的唯一途徑:也許三百年或五百年後,機器的智慧将超過人類,但是現在肯定沒有,現實一點的話,我們認為公式(或機器)隻是一種工具或武器,隻有在正确的思想的正确指導下,武器才能發揮最大的效果。我們認為作為一個投資者或投機者,在交易中必須遵守下面三個原則,它們按重要性排列如下:
A、 保護資本不受大的傷害;
B、 保持長期而穩定的收益;
C、 追求收益的最大化。
舉例說明:0901航天科技的ZYJ2于2000/09/25出現波動并于次日回0,表示有交易機會,在26日的收市價為19.85,
而此前出現的最低價格為19.60,相差非常小,才不到1.3%。假設我們在20元以下介入,并以19.50作為止損價格,
則包括交易費用在内,虧損不會超過4%,如果僅使用總資金的1/4,則計劃虧損不會超過總資金的1%。可能的獲利情況是:10%,也就是總資金的2.5%,但是實際上的收益可能遠遠不止這個數字。
以上面的數字為基礎,假設照妖鏡二代(ZYJ2)的抄底成功僅為70%,那麼在資金周轉一次(大約30-40個交易日)後,将獲利:2.5%*7-1%*3=14.5%
假設照妖鏡二代連續虧損五次,也無非損失總資金的5%左右,并不影響以後交易。這便是保護資本原則。
2、嚴格的止損是你獲利的保障。前面說過,當照妖鏡二代(ZYJ2)出現完整的買入信号後,價格不會再出現新低,這是照妖鏡二代(ZYJ2)的性質所決定的。如果發生價格繼續向下,并且跌破最低價的情況,那麼說明價格出了問題(借口,其實是指标出了問題),必須立刻止損,不能有一絲猶豫。指标失敗的例子:600187黑龍股份。
3、優秀的技巧是你獲利的基礎。作為一個優秀的投機者,交易技巧是必不可少的。在相對安全的基礎上,适當地進行一些激進的交易方式,無可厚非。請看0896豫能控股:實際上在2001/02/22,照妖鏡二代開始波動,我們起碼可以在收市後發現這一點,次日跳空低開,如果你有信心,可以在10.80-10.90附近進入市場,當然,進入的資金會很少,其餘的可能在後幾個交易日補足。這樣也許并不能增加多少利潤,但是我相信,你一定體會到了交易的快樂。
極限副圖
m:=COST(100);
n:=COST(0);
p:=100*(m-n)/n;
走平程度:p,coloryellow;
f:=100*(h-llv(l,0))/llv(l,0); {曆史總漲幅}
曆史總漲幅:f,colorred;
100,colorwhite,pointdot;
50,color00ff00,pointdot;
150,color00ff00,pointdot;
用法說明:
此指标為宏觀判斷用,50和100附近要求較嚴格(P走平的程度,
越平越好;時間越長越好.100較為寬松(一旦遇有走平的
程度越平者為短期暴漲之佳品!
三線開花量能王
線A1:=(ma(VOL,5)+ma(VOL,10)+ma(VOL,25))/3,COLOR00FF00;
線A2:=(ma(VOL,5)+ma(VOL,10)+ma(VOL,20)+ma(VOL,60)+ma(VOL,120))/5,COLOR00ff00;
線A3:=(ma(VOL,20)+ma(VOL,60)+ma(VOL,120))/3,COLOR00FF00,linethick2;
zx:2*(線A1-線A2), COLORSTICK;
Stickline(線A1>線A3,線A1,線A3,0.1,1),ColorFF0080;
Stickline(線A1<=線A3,線A1,線A3,0.1,1),color22CC33;
線1:IF(線A1<線A3,線A1,線A3),COLOR00FF00;
IF(線A1<線A3,線A3,線A1),COLORRED;
線2:IF(線A2<線A3,線A2,線A3),COLOR00FF00;
IF(線A2<線A3,線A3,線A2),COLORRED;
線3:IF(線A3<線A1,線A3,線A3),COLOR00FF00,LINETHICK2;
IF(線A1<線A3,線A3,線A3),COLORRED,linethick2;
DIFF:=EMA(CLOSE,26) - EMA(CLOSE,12);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA), COLORSTICK;
macd金叉:if(CROSS(DIFF,DEA),MACD-0.02,0),colorff00ff,pointdot;
DRAWTEXT(CROSS(DIFF,DEA),MACD-0.03,'●'),COLORFF00FF;
TYP := (HIGH + LOW + CLOSE)/3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
jk金叉:if(CROSS(J,K),macd-0.02,0),coloryellow,pointdot;
DRAWTEXT(CROSS(J,K),MACD-0.03,'●'),COLORYELLOW;
上漲缺口:if(l>REF(H,1),macd-0.01,0),colorred,pointdot;
DRAWTEXT(l>REF(H,1),REF(H,1),''),COLORRED;
下跌缺口:if(h
【DRAWTEXT(h
用法說明:黃色圓點KDJ指标的J與K金叉,粉色圓點MACD指标的DIFF與DEA金叉,
紅色空心五星表示上漲缺口,綠色實體五星表示下跌缺口,三線向上
開花是介入點
九陰真經
Var1:=REF(HIGH,1)*1.1;
Var2:=REF(HIGH,10)*1.1;
Var3:=HIGH*1.1;
Var4:=(Var3*VOL+Var2*(CAPITAL-VOL))/CAPITAL;
Var5:=REF(LOW,1)*0.9;
Var6:=LOW*0.9;
Var7:=(Var6*VOL+Var5*(CAPITAL-VOL))/CAPITAL;
Var8:=EMA(Var7,30);
Var9:=EMA(Var4,30);
VarA:=Var9-2;
VarB:=IF(CLOSE<=Var8,VarA,Var9);
異動: VarB;
預警: VarA,colorred;
DRAWICON(異動=預警,預警,6);
異動*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
極地會員版:預警-2,colorgreen ,linethick2
有話要說...