当前位置:首页 > 财经 > 正文

各类选股公式(成交量 均线 主力追踪)

更多选股公式欢迎大家阅读《 》。


  选股方式多种多样,指标公式只是其中一种,所以散户朋友们多多参考多多实践,不要让指标公式迷惑了自己的眼睛。未来还有很多新的指标会出现,而对指标计算方式的理解才是选股的真谛。

自编成交量--------非常好
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:=VarFREF(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:=Var6REF(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(BB55 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



你可能想看:

有话要说...

取消
扫码支持 支付码