短线逃顶原则:
1、行情大幅上扬后,成交量创下天量
2、行情大幅上扬后,成交量却出现背离现象,呈价升量缩的特点
3、上证指数日K线图上出现三个以上跳空缺口,几乎90%以上易形成头部区,见三个以上跳空缺口坚决卖出,几乎每次可以顺利逃离头部区。
4、上证指数日K线图上出现6天相对强弱指标RSI出现顶背离现象,行情易出现急跌形成头部。
涨停均线(主图,通用源码)
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,3,0),COLOR00B9FF;
STICKLINE(AA,LOW,HIGH,0 ,0 ),COLOR00FFFF;
日7:EMA(CLOSE,7);
工作线:EMA(CLOSE,18),LINETHICK2;
幼马线:EMA(CLOSE,26);
生命线:EMA(CLOSE,55),COLOR4bffff;
老庄线:EMA(CLOSE,140),COLORRED,LINETHICK2;
年线:EMA(CLOSE,240),COLORGREEN;
MA7:=MA(C,7),COLORWHITE;
MA21:=MA(C,21),COLORYELLOW;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS ("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS ("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
B4:=CROSS(DIFF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
DRAWTEXT(B1,L-0.20,'▲'),COLORWHITE;
DRAWTEXT(B1,L-0.30,'MACD底背'),COLORWHITE;
DRAWTEXT(B2,L-0.20,'●'),COLORFF00FF;
DRAWTEXT(B2,L-0.30,'KDJ底背'),COLORFF00FF;
DRAWTEXT(B3,L-0.20,'◆'),COLORYELLOW;
DRAWTEXT(B3,L-0.30,'RSI底背'),COLORYELLOW;
DRAWTEXT(B4,L-0.20,'★'),COLOR0099FF;
DRAWTEXT(B4,L-0.30,'金叉共振'),COLOR0099FF;
1、顾比线 (主图)2---5为副图(作者肖南定)
MB1:EMA(CLOSE,13),COLORBLUE;
MB2:EMA(MB1,3),COLORBLUE;
MB3:EMA(MB2,3),COLORBLUE;
MB4:EMA(MB3,3),COLORBLUE;
MB5:EMA(MB4,3),COLORBLUE
2、超级底部指标:(32超级底部)
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<=1341231,VarA,VarA*DAY);
VarC:=LOW;
VarD:=REF(LOW,1);
VarE:=SMA(ABS(VarC-VarD),3,1)/SMA(MAX(VarC-VarD,0),3,1)*100;
VarF:=MA(IF(CLOSE*1.35<=VarB,VarE*10,VarE/10),3);
Var10:=LLV(LOW,30);
Var11:=HHV(VarF,30);
Var12:=1341231;
IF(DATE<=Var12,MA(IF(LOW<=Var10,(VarF+Var11*2)/2,0),3),100000000);
3、买在最底部指标:(33买在最底部)
var1:=if(year>=2993 and month>=1,0,1);
var2:=ref(low,1)*var1;
var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100*var1;
var4:=ema(if(close*1.3,var3*10,var3/10),3)*var1;
var5:=llv(low,30)*var1;
var6:=hhv(var4,30)*var1;
var7:=if(ma(close,58),1,0)*var1;
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7*var1;
var9:=if(var8>100,100,var8)*var1;
stickline(var9>-150,0,var9,6,1), , colormagenta;
底部吸筹指标: (close-ma(close,40))/ma(close,40)*100*var1, , colorgreen;
抄底: if(cross(底部吸筹指标,-24),1,0), , colorred;
stickline(cross(底部吸筹指标,-24),100,0,6,0), , colorgreen;
先知: (close-ma(close,5))/ma(close,5)*100*var1, , coloryellow;
可能放量拉升: 0*var1, , colorwhite;
4、超级逃顶指标:(31超级逃顶)
var2:=llv(low,10);
var3:=hhv(high,25);
阶段卖出: 3.2,colorcyan;
3.5,color0088ff;
清仓卖出: 3.5;
动力线:= ema((close-var2)/(var3-var2)*4,4);
stickline(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorred;
stickline(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorgreen;
底部介入:0.2,colorgreen;
重点关注:0.5, coloryellow;
drawicon( filter(cross(动力线,重点关注),20),动力线+0.02 ,1);
drawicon( filter(cross(清仓卖出,动力线),20),动力线+0.02,2);
drawicon( filter(cross(动力线,底部介入),20),动力线+0.02 ,1);
drawicon( filter(cross(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,pointdot,linethick2,colordddddd;
5、超级主力
大主力: 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), ,linethick2, ;
抄底信号: 10, ,linethick2,colorred ;
买入个股: IF(CROSS(大主力,抄底信号),100,10), ,linethick2,coloryellow;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
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;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
庄家撤: IF(V4<=0,V4,0),COLORGREEN;
庄家进: IF(V4>=0,V4,0),colorred;
主力资金进: IF(VB>=0,VB,0),COLORYELLOW;
主力资金撤: IF(VB<=0,VB,0),COLORBLUE;