A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE/HHV(HIGH,120)),3,1)*100);
A05:=IF((A03>20),A04,0);
A06:=IF((LOW>A01),0,IF((HIGH0)AND(A07>REF(A07,1)))AND(A05<=88)),A07,0);
Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((C
LOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
Var2:=EMA(Var1,8);
Var3:=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);
趋势:=EMA(Var3,3)-10;
(趋势>80);
DRAWICON(CROSS(趋势,0),0,1);
((A09>0AND(趋势REF(趋势,1)AND趋势<50))),colorFFFF00;
机构建仓区:0,LINETHICK0,colorFFFF00;
Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
STICKLINE(趋势<=13,0,20,5,0),colorcc9900;
DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),colorcc9900;
STICKLINE(趋势13,0,50,5,0),color0099ff;
Var5:=FILTER((趋势13),10);
DRAWTEXT(Var5,60,'买入'),color0099ff;
STICKLINE(趋势>=90ANDVar4,0,30,5,0),colorgray;
Var6:=FILTER((趋势>=90ANDVar4),10);
DRAWTEXT(Var6,40,'清仓'),colorgray;
Var7:=LLV(LOW,30);
Var8:=HHV(HIGH,30);
Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;
STICKLINE(Var9>90,100,105,10,2),COLORRED;
Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;
DRAWTEXT(IF(CROSS(Var9,Var10)ANDVar9>87,95,0),88,'险'),Color00FF00,;
DRAWICON(CROSS(90,Var9),95,9);
Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
Var12:=HHV(Var11,30)*8;
火焰山:EMA(IF(LOW<=Var7AND趋势<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;
STICKLINE(火焰山>0,0,火焰山*1.2,8,0),COLORRED;
Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
趋势线:趋势,colorff0000;
Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;
Var17:=EMA(Var16,5);
波浪峰:Var17,stick,colorff00ff;
STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;
Var18:=MA(趋势线,8);
if(CROSS(Var2,Var18)ANDVar2<15,50,0),COLORRED;
DRAWTEXT(CROSS(趋势线,Var2)AND趋势线>REF(趋势线,1)AND趋势线<50,50,'追涨
'),COLORFF0000;
1.一个较好的短线指标:macd短线
这是从网上得到的一个很好的短线指标,感觉好用!
MACD短线大智慧分析家大智慧
==============================
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
D1:=EMA(C,3)-EMA(C,8);
D2:=EMA(O,3)-EMA(O,8);
D3:=EMA(H,3)-EMA(H,8);
D4:=EMA(L,3)-EMA(L,8);
DRAWICON(cross(d1,diff)anddiff<-0.05,d4-0.1,1);
DRAWICON(cross(diff,d1)anddiff>0.1,d3+0.1,2);
STICKLINE(D1>=D2,D1,D2,8,0),COLOR0055AA;
STICKLINE(D1<=D2,D1,D2,8,0),COLOR006600;
STICKLINE(D1>=D2,D1,D2,5,0),COLOR0077CC;
STICKLINE(D1>=D2,D1,D2,3,0),COLOR0099DD;
STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;
STICKLINE(D1<=D2,D1,D2,5,0),COLOR009900;
STICKLINE(D1<=D2,D1,D2,3,0),COLOR00BB00;
STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;
———————————————
2.『最实用的公式』
VAR1:=(EMA(C,12)-EMA(C,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5:=SMA(VAR4,13,8);
VAR6:=SMA(VAR3,21,8);
VAR7:=MA(C,80)-MA(C,10)/7;
VAR8:=EMA(C,5);
VAR9:=MA((LLV(C,9))*1.1,14);
VAR10:=2*VAR9-VAR8-C*0.1;
VAR11:=IF(((VAR8-VAR10)*5>0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR8-VAR10)*(5
),2)))/(10));
VAR12:=IF((VAR11>0),VAR11-0,12);
VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趋势:CEILING(SMA(VAR5,13,8)),LINETHICK2,COLOR0000FF;
看底:IF((趋势-VAR6<(-65)),1,6),COLOR00FF00;
顶峰:IF((趋势-VAR6>85),95,100),COLORF0F000;
黄金区:DRAWICON(IF(VAR13<15,15,0),13,12),COLORYELLOW;
操盘线:
MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(H
HV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE;
STICKLINE(FILTER(趋势>75ANDCROSS(操盘线,趋势),5),100,60,8,1),COLORFFFF00;
STICKLINE(FILTER(CROSS(趋势,VAR12)AND趋势>REF(C,1)OR趋势>REF(趋势,1)AND趋势
REF(C,1),5),5,50,9,2),COLOR00FF00;
—————————–
3.选股公式
Var1:=(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
Var2:=EMA(Var1,P2);
Var6:=EMA(Var2,P1);
Var7:=3*Var2-2*Var6;
Var8:=EMA(Var7,5);
MJ:=EMA(Var8,2);
zMJ:=ref(mj,1);
qMJ:=ref(mj,2);
mj>zmjandmj<qmj;
(p1=8,p2=5)
————————————–
4.直观筹码(副图有说明)
1—红色区域不管在牛市还是熊市都可操作,绿色区域相反;
2—动态地部要看在什么区域,可少量建仓;
获利筹码:EMA(WINNER(C)*70,5),Colorred;
亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00;
STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.85,5,0),COLOR66DD00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.8,5,0),COLOR66CC00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.75,5,0),COLOR66BB00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.7,5,0),COLOR66AA00;
STICKLINE(亏损筹码>0,0,亏损筹码*0.65,5,0),COLOR669900;
STICKLINE(亏损筹码>0,0,亏损筹码*0.6,5,0),COLOR668800;
STICKLINE(亏损筹码>0,0,亏损筹码*0.55,5,0),COLOR667700;
STICKLINE(亏损筹码>0,0,亏损筹码*0.5,5,0),COLOR666600;
STICKLINE(亏损筹码>0,0,亏损筹码*0.45,5,0),COLOR665500;
STICKLINE(亏损筹码>0,0,亏损筹码*0.4,5,0),COLOR664400;
STICKLINE(亏损筹码>0,0,亏损筹码*0.35,5,0),COLOR663300;
STICKLINE(亏损筹码>0,0,亏损筹码*0.3,5,0),COLOR662200;
STICKLINE(亏损筹码>0,0,亏损筹码*0.25,5,0),COLOR661100;
STICKLINE(亏损筹码>0,0,亏损筹码*0.2,5,0),COLOR660000;
主力控筹:If(获利筹码>亏损筹码,获利筹码*2,获利筹码),,colorred;
STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;
STICKLINE(主力控筹>0,0,主力控筹*0.9,5,0),COLOREEEEEE;
STICKLINE(主力控筹>0,0,主力控筹*0.85,5,0),COLORDDDDDD;
STICKLINE(主力控筹>0,0,主力控筹*0.8,5,0),COLORCCCCCC;
STICKLINE(主力控筹>0,0,主力控筹*0.75,5,0),COLORBBBBBB;
STICKLINE(主力控筹>0,0,主力控筹*0.7,5,0),COLORAAAAAA;
STICKLINE(主力控筹>0,0,主力控筹*0.65,5,0),COLOR999999;
STICKLINE(主力控筹>0,0,主力控筹*0.6,5,0),COLOR888888;
STICKLINE(主力控筹>0,0,主力控筹*0.55,5,0),COLOR777777;
STICKLINE(主力控筹>0,0,主力控筹*0.5,5,0),COLOR666666;
STICKLINE(主力控筹>0,0,主力控筹*0.45,5,0),COLOR555555;
STICKLINE(主力控筹>0,0,主力控筹*0.4,5,0),COLOR444444;
STICKLINE(主力控筹>0,0,主力控筹*0.35,5,0),COLOR333333;
STICKLINE(主力控筹>0,0,主力控筹*0.3,5,0),COLOR222222;
STICKLINE(主力控筹>0,0,主力控筹*0.25,5,0),COLOR111111;
STICKLINE(主力控筹>0,0,主力控筹*0.2,5,0),COLOR000000;
STICKLINE(获利筹码>0,0,获利筹码,5,0),COLORFFFFFF;
STICKLINE(获利筹码>0,0,获利筹码*0.9,5,0),COLOREEEEFF;
STICKLINE(获利筹码>0,0,获利筹码*0.85,5,0),COLORDDDDFF;
STICKLINE(获利筹码>0,0,获利筹码*0.8,5,0),COLORCCCCFF;
STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF;
STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF;
STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF;
STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF;
STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;
STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF;
STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF;
STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF;
STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF;
STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;
STICKLINE(获利筹码>0,0,获利筹码*0.25,5,0),COLOR1111FF;
STICKLINE(获利筹码>0,0,获利筹码*0.2,5,0),COLOR0000FF;
AI:=AMOUNT/vol/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*vol/CApitAl;
抄底:If((C-MIN(C0,C1))/C<0.1ANDSUM(DSY,5)/5<1.8,100,0),Color00FF00;
stickline(抄底,0,30,4,0),ColorFFFFFF;
动态底部:EMA(IF(L<=
LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,C
OLORYELLOW,LINETHICK2;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT
,20)/HHV(C,20))*100);
STICKLINE(((CLOSE>0)ANDday=2),20,121,40,1),colorFFFFFF;
STICKLINE(((SAT<=5)ANDday=2),21,(20+SAT),35,0),colorFFFFFF;
STICKLINE((((SAT>5)AND(SAT<=20))ANDday=2),21,(20+SAT),35,0),colorCCFF88;
STICKLINE((((SAT>20)AND(SAT<=40))ANDday=2),21,(20+SAT),35,0),colorFF00FF;
STICKLINE(((SAT>40)ANDday=2),21,(20+SAT),35,0),color0000FF;
主力筹码:EMA(WINNER(CLOSE)*70,10),colorwhite;
散户筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),color00ff00;
stickline(主力筹码>散户筹码,主力筹码,散户筹码,6,0),colorred;
stickline(主力筹码<散户筹码,主力筹码,散户筹码,6,0),color00ff00;
—————————————————————————-
5.绝密操盘手
用法:红买,蓝观望,绿卖
A:MA(CLOSE,3),ColorFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
DRAWTEXT((B>B2),ma20,'*'),Colorffff00;
DRAWTEXT((B<B2),ma20,'*'),Coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),Coloryellow;
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1<MA21,h,l,0,0),Colorgreen;
STICKLINE(VAR1<MA21,c,o,8,0),Color007700;
STICKLINE(VAR1<MA21,c,o,7,0),Color008E00;
STICKLINE(VAR1<MA21,c,o,6,0),Color009900;
STICKLINE(VAR1<MA21,c,o,5,0),Color00A600;
STICKLINE(VAR1<MA21,c,o,4,0),Color00B500;
STICKLINE(VAR1<MA21,c,o,3,0),Color00C600;
STICKLINE(VAR1<MA21,c,o,2,0),Color00D500;
STICKLINE(VAR1<MA21,c,o,1,0),Color00E600;
STICKLINE(VAR1>MA21,h,l,0,0),Color106fff;
STICKLINE(VAR1>MA21,c,o,8,0),Color000084;
STICKLINE(VAR1>MA21,c,o,7,0),Color000095;
STICKLINE(VAR1>MA21,c,o,6,0),Color0000A2;
STICKLINE(VAR1>MA21,c,o,5,0),Color0000B3;
STICKLINE(VAR1>MA21,c,o,4,0),Color0000C8;
STICKLINE(VAR1>MA21,c,o,3,0),Color0000D7;
STICKLINE(VAR1>MA21,c,o,2,0),Color0000EA;
STICKLINE(VAR1>MA21,c,o,1,0),Color0000FF;
STICKLINE(VAR1MA21,h,l,0,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,8,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,5,0),Colorff7710;
STICKLINE(VAR1MA21,c,o,2,0),Colorff9910;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,h,l,0,0),Colorff00ff;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,8,0),Color8E008E;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,7,0),Color9D009D;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,6,0),ColorB000B0;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,5,0),ColorC600C6;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,4,0),ColorD000D0;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,3,0),ColorE600E6;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,2,0),ColorF900F9;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,1,0),ColorFF09FF;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
顶:=(REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE)AND(K>79);
DRAWTEXT((REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE)AND(K>79),h*1.02,'风险
'),Coloryellow;
——————————————————————————–
—————
6.价值连城
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(会员专用79,会员专用,0);
DRAWTEXT(极品逃亡,70,'★<-极品逃亡'),coloryellow,linethick1;
DRAWTEXT(88>0andref(o,1)/ref(c,1)>1.04andref(l,1)ref(c,1)and
c=1.01,l-l*0.02,'★<–极品绝底初现'),linethick1;
DRAWTEXT(c-o>=0ando/l>1.05andl<=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)ANDq10<-13,20,'*大底来'),coloryellow,linethick5;
DRAWTEXT(CROSS(特殊会员专用,93)ANDq10<-13,40,'*大底'),linethick5;
DRAWTEXT(CROSS(跨越,特殊会员专用)ANDref(特殊会员专用,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;
——————————————————-
7.操盘线————十拿九稳
A:MA(CLOSE,3),ColorFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
DRAWTEXT((B>B2),ma20,'※'),Colorffff00;
DRAWTEXT((B<B2),ma20,'※'),Coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),Color332900;
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1<MA21,h,l,0,0),Colorgreen;
STICKLINE(VAR1<MA21,c,o,8,0),Color10b210;
STICKLINE(VAR1<MA21,c,o,5,0),Color10c110;
STICKLINE(VAR1<MA21,c,o,2,0),Color10dd10;
STICKLINE(VAR1>MA21,h,l,0,0),Color106fff;
STICKLINE(VAR1>MA21,c,o,8,0),Color1047FF;
STICKLINE(VAR1>MA21,c,o,5,0),Color1055ff;
STICKLINE(VAR1>MA21,c,o,2,0),Color106fff;
STICKLINE(VAR1MA21,h,l,0,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,8,0),Colorff5d10;
STICKLINE(VAR1MA21,c,o,5,0),Colorff7710;
STICKLINE(VAR1MA21,c,o,2,0),Colorff9910;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,h,l,0,0),Colorff00ff;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,8,0),ColorFF43FF;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,5,0),Colorff63ff;
—————————–
8.筹码动态
筹码动态帮您看清楚价格的走向
ZCM:=EMA(WINNER(CLOSE)*70,3);
SCM:=EMA((WINNER(CLOSE*1.11)-WINNER(CLOSE*0.89))*80,3);
ZLM:=MA(ZCM+SCM,13),COLORWHITE;
ZKP:=ZCM/(ZCM+SCM)*100;
SHL:=SCM/(ZCM+SCM)*100;
ZLJ:EMA(ZKP,80),COLORFF0000;
SHJ:EMA(SHL,80),COLORYELLOW;
ZJL:=(ZKP-ZLJ);
散户:EMA(SHL,6),LINETHICK2,COLORGREEN;
力度:(ZJL>0),linethick3,COLOREEEEEE;
量度:(ZLM),COLOREEFF00,linethick2;
Z系数:(ZKP),LINETHICK2,COLORFF00FF;
S系数:(SHL),LINETHICK2,COLORYELLOW;
STICKLINE(SHJ>REF(SHJ,1),SHL,SHJ,2,0),COLORGREEN;
STICKLINE(CLOSE>0,ZKP,0,3,0),COLORBLUE;
STICKLINE(CLOSE>0,SHL,ZKP,2,0),COLOREEEEEE;
JGM:IF(ZKP-REF(ZKP,1)>SHL-REF(SHL,1),1,0),COLOR0066FF;
STICKLINE(ZLM<EMA(ZLM,2),ZLM,ZLM,4,0),COLORBLUE,LINETHICK2;
STICKLINE(REF(SHL,1)>90ANDSHL<90,SHL,0,7,0),COLOR6699FF,LINETHICK3;
STICKLINE(CLOSE>0,SHL,ZKP,2,0),COLOREEEEEE;
STICKLINE(CLOSE>0,ZKP,0,3,0),COLORBLUE;
STICKLINE(SHJ>REF(SHJ,1),SHL,SHJ,2,0),COLORGREEN;
STICKLINE(ZLJ>REF(ZLJ,1),ZKP,ZLJ,3,0),COLORRED;
STICKLINE(SHL>=90,ZKP,0,4,0),LINETHICK1,COLORFFFFFF;
STICKLINE(ZKP>75,ZKP,0,1,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(ZLM>REF(ZLM,1)ANDSCM<REF(SCM,1)ANDZLM,100,'Z'),COLORWHITE;
STICKLINE(VAR1>VAR2ANDVAR1<MA21,c,o,2,0),Colorff83ff;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
顶:=(REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE)AND(K>79);
DRAWTEXT((REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE)AND(K>79),h*1.02,'风险
'),Coloryellow;
————————–
9.选股公式
应用:依次点"功能","向导选股","我要选股",在"上证A股"深证A股"左边的小框内点一下,
出现小勾就行了,再点"下一步",点"技术选股",
"下一步",再找到"选股公式",点一下.接下来就照提示操作,直到选出股票,OK?
Var1:=(LOW+HIGH+CLOSE)/3;
操作:=MA(Var1,5);
拉升:=HHV(操作,13);
QSXS:=操作>REF(操作,1)ANDREF(操作,1)<REF(操作,2);
GJSC:=L拉升ANDC>REF(C,1)ANDC>O;
LSMR:=GJSCANDCOUNT(QSXS,2);
买1:LSMRANDNOT(REF(LSMR,1));
10.最牛的大智慧指标–闪电之王
VAR1:="DMI.PDI"(12,6);
VAR2:="DMI.MDI"(12,6);
VAR3:=VAR1>65ANDVAR1>REF(VAR1,1);
VAR4:=LLV(VAR1,0);
VAR5:=BARSLAST(VAR4=VAR1);
VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;
VAR7:=VAR1>REF(VAR1,1);
VAR8:=VOL>2*MA(VOL,30);
VAR9:="DMI.ADX"(12,6);
VARA:="DMI.ADXR"(12,6);
VARB:=CLOSE>MA(CLOSE,30)ANDCLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(C
LOSE,5)));
VARE:=0-"MACD.DIFF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
VAR12:=CROSS(VAR2,VAR1)ANDCROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1)ANDCROSS(VAR9,VARA);
VAR14:=VARBANDVARCANDVARDANDVAR10ANDVAR6ANDVAR7ANDVAR8*50;
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
VAR17:=HHV(VAR1,VAR16);
VAR18:=BARSLAST(VAR1=VAR17);
多
空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),CO
LORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,5)AND多空<-10,50,0,30,0),COLORRED;
STICKLINE(FILTER(VARF=1,5),50,0,10,0),COLORRED;
VAR19:=VAR3ORVAR12ORVAR13*100;
VAR1A:=VAR13*100;
DRAWICON(FILTER(VARF=1,3),50,1);
DRAWTEXT(FILTER(VARF=1,3),25,'雷电交加'),COLORYELLOW;
STICKLINE(多空<-10,0,多空,1,0),COLORyellow;
STICKLINE(多空>10,0,多空,1,0),COLORyellow;
==============================
11.红三角买绿三角卖
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD)ANDNOT(HD);
T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(LD);
波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK2;
STICKLINE(T1,A,A,9,0),COLORFF00FF;
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK2;
Var3:=LLV(最高价,240);
Var4:=100*(收盘价-Var3)/Var3;
Var5:=(收盘价-LLV(最低价,528))/(HHV(最高价,528)-LLV(最低价,528))*100;
Var6:=(收盘价-LLV(收盘价,530))/(HHV(收盘价,530)-LLV(收盘价,530))*100;
Var7:=0;
Var8:=MA(HHV(收盘价-REF(收盘价,1),0),34)/MA(ABS(收盘价-REF(收盘价,1)),7)*100;
Var9:=MA(HHV(收盘价-REF(收盘价,1),0),13)/MA(ABS(收盘价-REF(收盘价,1)),13)*100;
VarA:=BARSCOUNT(收盘价);
VarB:=Var835;
VarC:=VarBANDCOUNT(VarB,1)=1;
VarD:=EMA(收盘价,21)-EMA(收盘价,8);
VarE:=EMA(VarD,5);
VarF:=TROUGH(3,6,1)<4ANDCROSS(VarD,VarE);
Var10:=IF(TROUGH(3,16,1)=0AND最高价>最低价+0.04,4,0);
Var11:=ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND
REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
Var12:=ZIG(3,6)=REF(ZIG(3,6),2)AND
REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND
REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
Var14:=ZIG(3,22)=REF(ZIG(3,22),2)AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND
REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
Var16:=ZIG(3,51)=REF(ZIG(3,51),2)AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
Var17:=ZIG(3,72)>REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)AND
REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
Var18:=ZIG(3,72)=REF(ZIG(3,72),2)AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
Var19:=EMA(收盘价,2)-EMA(收盘价,150);
Var1A:=EMA(Var19,100);
Var1B:=2*(Var19-Var1A);
Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);
Var1D:=SQRT(SQRT(最低价*最高价*开盘价*收盘价));
Var1E:=EMA(Var1D*0.97,3);
Var1F:=(最高价+最低价+收盘价)/3;
Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));
Var21:=CROSS(Var1E,最低价);
买点1:=Var10;
买点2:=(Var11+Var13+Var15+Var17);
卖点1:=(Var12+Var14+Var16+Var18),linethick2;
Var22:=买点1ANDVarFANDVarCANDVar21ANDVar4<0ANDVar5=0ANDVar6=0AND
Var20<(-110);
VAR1:=MA(收盘价,5);
VAR2:=MA(收盘价,10);
VAR31:=MA(收盘价,30);
VARB1:=SUM(收盘价*成交量*100,28)/SUM(成交量*100,28);
VARC1:=INTPART(VARB1*100)/100;
VARD1:=EMA(收盘价,5)-EMA(收盘价,10);
VARE1:=EMA(VARD1,9);
VAR131:=REF(VARE1,1);
VAR141:=VARE1;
VAR151:=VAR141-VAR131;
VAR161:=REF(VARD1,1);
VAR171:=VARD1;
VAR181:=VAR171-VAR161;
VAR191:=开盘价;
VAR1A1:=收盘价;
DRAWTEXT(买点1>0,L-0.01,'▲'),colorred;
DRAWTEXT(买点2>0,L-0.01,'▲'),COLORFF00FF;
DRAWTEXT(卖点1>0,H+0.1,'▼'),COLOR33FF33;
12.智慧方圆
[url][/url]MA1:MA(CLOSE,6);
MA2:MA(CLOSE,13);
MA3:MA(CLOSE,62);
MA4:MA(CLOSE,120);
MA5:MA(CLOSE,250);
X:=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM:=((SMA(MAX((CLOSE-LL),0),6,1)/SMA(ABS((CLOSE-LL)),6,1))*100);
DB:=IF(((MM79)),MM,0);
DRAWTEXT(CROSS(Y,X),(LOW*0.985),'▲'),LINETHICK2,colorred;
DRAWTEXT(CROSS(X,Y),(HIGH*1.02),'◆'),LINETHICK2,colorFF6699;
DRAWTEXT(DB,(HIGH*1.02),'○'),LINETHICK2,color00ff00;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*100),5);
AK:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*50),13);
DD:=EMA(((0.667*REF(AK1,1))+(0.333*AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE-VAR3)/(VAR4-VAR3))*100),3);
VAR6:=((AK+VAR5)/2);
VAR7:=EMA(((0.667*REF(VAR5,1))+(0.333*AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667*REF(VAR8,1))+(0.333*VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB)AND(BB<30));
CD:=(BB1*0.6);
DRAWTEXT((CD=0.6),(LOW*0.99),'□'),LINETHICK2,color33CC99;
DRAWTEXT((AB=1),(LOW*0.99),'□'),LINETHICK2,colorwhite
13.大智慧精品主图指标(压力支撑一目了然)
var1:=COST(10)*0;
var2:=99990905;
var3:=IF(DATE<=var2,1,0);
var4:=(LOW+HIGH+CLOSE)/3*var3;
操作:MA(var4,5);
拉升:HHV(操作,13);
压力:HHV(操作,60)*var3;
买卖:LLV(操作,13);
底部支撑:LLV(LOW,60)*1.02*var3;
顶部:HHV(HIGH,60)*0.98*var3;
var5:=EMA(WINNER(COST(50)),4);
var6:=EMA(WINNER(CLOSE),4)-var5;
var7:=EMA(var6,8);
var8:=2*(var6-var7);
var9:=3*var6-2*var7*var3;
varA:=LLV(LOW,36);
varB:=HHV(HIGH,30);
varC:=EMA((CLOSE-varA)/(varB-varA)*4,4)*25*var3;
varD:=varC;
varE:=(varC-LLV(varC,4))/(HHV(varC,4)-LLV(varC,4))*4*25*var3;
varF:=CROSS(varE,87.5)ANDvarD<40;
==============================
14.跟庄到顶
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:MA(VAR4,5),LINETHICK2,colorwhite;
拉升:HHV(操作,13),colorred,LINETHICK1;
压力:HHV(操作,60),colorred;
买卖:LLV(操作,13),LINETHICK1,COLOR00FF00;
底部支撑:LLV(LOW,60)*1.02,color00CCFF;
顶部:HHV(HIGH,60)*0.98,colorFFFFCC;
STICKLINE(操作>REF(操作,1),操作,操作+0.018,5,0),coloryellow,LINETHICK4;
STICKLINE(拉升>REF(拉升,1),拉升,拉升+0.018,5,0),coloryellow,LINETHICK2;
STICKLINE(拉升=REF(拉升,1),拉升,拉升,1,1),colorred;
STICKLINE(买卖=REF(买卖,1),买卖,买卖,1,1),colorred;
STICKLINE(买卖>REF(买卖,1),买卖,买卖+0.028,4,1),COLORF00FF0,LINETHICK2;
STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;
STICKLINE(压力=REF(压力,1),压力,压力,7,1),colorred;
STICKLINE(底部支撑=REF(底部支撑,1),底部支撑,底部支撑,1,1),colorred;
15.超级波段王
趋势线:MA(CLOSE,21),ColorFFFfff,linethicK2;
生命线:MA(CLOSE,43),Color00Ffff,linethicK2;
牛熊分界线:MA(CLOSE,250),Color0000ff,linethicK3;
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD)ANDNOT(HD);
T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(LD);
波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;
STICKLINE(T1,A,A,9,0),COLORFF00FF;
波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;
Var3:=LLV(最高价,240);
Var4:=100*(收盘价-Var3)/Var3;
Var5:=(收盘价-LLV(最低价,528))/(HHV(最高价,528)-LLV(最低价,528))*100;
Var6:=(收盘价-LLV(收盘价,530))/(HHV(收盘价,530)-LLV(收盘价,530))*100;
Var7:=0;
Var8:=MA(HHV(收盘价-REF(收盘价,1),0),34)/MA(ABS(收盘价-REF(收盘价,1)),7)*100;
Var9:=MA(HHV(收盘价-REF(收盘价,1),0),13)/MA(ABS(收盘价-REF(收盘价,1)),13)*100;
VarA:=BARSCOUNT(收盘价);
VarB:=Var835;
VarC:=VarBANDCOUNT(VarB,1)=1;
VarD:=EMA(收盘价,21)-EMA(收盘价,8);
VarE:=EMA(VarD,5);
VarF:=TROUGH(3,6,1)<4ANDCROSS(VarD,VarE);
Var10:=IF(TROUGH(3,16,1)=0AND最高价>最低价+0.04,4,0);
Var11:=ZIG(3,6)>REF(ZIG(3,6),1)
ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)
ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
Var12:=ZIG(3,6)<REF(ZIG(3,6),1)
ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2)
ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
Var13:=ZIG(3,22)>REF(ZIG(3,22),1)
ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)
ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
Var14:=ZIG(3,22)<REF(ZIG(3,22),1)
ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)
ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
Var15:=ZIG(3,51)>REF(ZIG(3,51),1)
ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)
ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
Var16:=ZIG(3,51)<REF(ZIG(3,51),1)
ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)
ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
Var17:=ZIG(3,72)>REF(ZIG(3,72),1)
ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)
ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
Var18:=ZIG(3,72)<REF(ZIG(3,72),1)
ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)
ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
Var19:=EMA(收盘价,2)-EMA(收盘价,150);
Var1A:=EMA(Var19,100);
Var1B:=2*(Var19-Var1A);
Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);
Var1D:=SQRT(SQRT(最低价*最高价*开盘价*收盘价));
Var1E:=EMA(Var1D*0.97,3);
Var1F:=(最高价+最低价+收盘价)/3;
Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));
Var21:=CROSS(Var1E,最低价);
买点1:=Var10;
买点2:=(Var11+Var13+Var15+Var17);
卖点1:=(Var12+Var14+Var16+Var18),linethick2;
Var22:=买点1ANDVarFANDVarCANDVar21ANDVar4<0
ANDVar5=0ANDVar6=0ANDVar20<(-110);
VAR1:=MA(收盘价,5);
VAR2:=MA(收盘价,10);
VAR31:=MA(收盘价,30);
VARB1:=SUM(收盘价*成交量*100,28)/SUM(成交量*100,28);
VARC1:=INTPART(VARB1*100)/100;
VARD1:=EMA(收盘价,5)-EMA(收盘价,10);
VARE1:=EMA(VARD1,9);
VAR131:=REF(VARE1,1);
VAR141:=VARE1;
VAR151:=VAR141-VAR131;
VAR161:=REF(VARD1,1);
VAR171:=VARD1;
VAR181:=VAR171-VAR161;
VAR191:=开盘价;
VAR1A1:=收盘价;
DRAWTEXT(买点1>0,L-0.01,'▲'),colorred;
DRAWTEXT(买点2>0,L-0.01,'▲'),COLORFF00FF;
DRAWTEXT(卖点1>0,H+0.1,'▼'),COLOR33FF33;
{务必向前复权使用股价必须在站三条均线之上操作}
———————————————————
16.短线套利
m1:(h+l+2*o+4*c)/8;
m2:ema(m1,10);
n:=v>ema(v,5)andc>ma(c,3)andma(c,3)>ma(c,5);
t:cross(m1,m2)andn;
drawtext(t,low,'短线买'),colorred;
{最适用于上升趋势中的股票}
================================================
17.战必胜
买入信号较准反应较快但卖出信号较迟、较慢.无未来函数
==============================
强弱分界线:50,,pointdot,LINETHICK2,COLORFFFF00;
Var2:=IF(MONTH<12,1,1);
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
主力:EMA((Var3-Var4)/(Var5-Var4)*100,13)*Var2,linethick4,colorred;
散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,colorff9933;
DRAWTEXT(CROSS(主力,散户)AND主力<22,20,'起动'),LINETHICK2,COLOR0099ff;
DRAWICON(CROSS(主力,散户)AND主力<22,25,1);
DRAWTEXT(CROSS(主力,30)AND散户<主力,40,'上扬'),LINETHICK2,color00ccff;
DRAWICON(CROSS(主力,30)AND散户<主力,35,1);
DRAWTEXT(CROSS(主力,65)AND散户<主力,55,'冲顶'),LINETHICK2,COLOR9933ff;
DRAWICON(CROSS(主力,65)AND散户<主力,70,2);
DRAWTEXT(CROSS(主力,75)AND散户<主力,67,'小心被套'),LINETHICK2,color009900;
DRAWICON(CROSS(主力,75)AND散户<主力,80,2);
DRAWTEXT(CROSS(散户,主力)AND散户>75,80,'头部'),,COLORYELLOW;
DRAWICON(CROSS(散户,主力)AND散户>75,85,2);
买入脉冲:IF(CROSS(主力,散户)AND主力<35,55,5),LINETHICK4,COLORGREEN;
卖出脉冲:IF(CROSS(散户,主力)AND散户>75,75,90),LINETHICK4,COLORRED;
bb1:=WINNER(CLOSE)*100;
bb2:=100-bb1;
bb3:=ABS(bb1-bb2);
==============================
18.抄底
Var1k:=EMA(C,12)-EMA(C,20);
Var2k:=EMA(Var1k,9);
AA:=(OPEN<=MA(CLOSE,5)ANDOPEN<=MA(CLOSE,10)ANDOPEN<=MA(CLOSE,30)AND
CLOSE>=MA(CLOSE,5)ANDCLOSE>=((SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28))*100)/100
AND(Var2k-REF(Var2k,1))>0AND(Var1k-REF(Var1k,1))>0);
IF(AA,70,1);
BB:=(Var1k>Var2kANDREF(Var1k,1)<=REF(Var2k,1)ANDVar1k<0ANDVar2k<-0.2AND
(-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100)>45AND
(Var2k-REF(Var2k,1))>0);
IF(BB,60,1);
CC:=MA(WINNER(c),1)*100;
底1:=cross(CC,2.5)*55;
IF(底1,50,1);
Rsv:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(SMA(Rsv,3,1),3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D);
底2:=if(k<20andd<20andCROSS(j,k)andCROSS(k,d),60,0);
IF(底2,40,1);
趋
势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLO
SE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=10;
警戒1:IF(趋势<=10,15,0),COLORblue,Linethick0;
底3:=IF(CROSS(趋势,底部),40,0);
IF(底3,30,1);
Var1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
Var2:=SMA(Var1,7,1);
Var3:=SMA(Var2,5,1);
底4:IF(CROSS(Var2,Var3)ANDVar2<20,50,0),LINETHICK1,colorred;
Var8:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var9:=SMA(Var8,5,1);
VarA:=SMA(Var9,5,1);
底5:IF(CROSS(Var9,VarA)ANDVar9<20,60,0),coloryellow,STICK,LINETHICK1;
Var11:=1/WINNER(CLOSE);
Var21:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var31:=100-ABS(Var21);
VVV:=IF(Var11>5,IF(Var11<100,Var11,Var31-10),0);
VarB:=HHV(HIGH,25);
VarC:=LLV(LOW,25);
EE:=EMA((CLOSE-VarC)/(VarB-VarC)*100,5);
警戒2:IF(EE<7,30,0),colorwhite,Linethick0;
底6:=IF(CROSS(CC,VVV),70,0);
IF(底6,20,1);
底7:=(close-ma(close,58))/ma(close,58)<-0.2245;
IF(底7,10,1);
================================================================================
===
19.牛熊分界线
用法下绿上白表示底部上白信号比下绿少。
黄色表示顶顶部在熊市较准牛市要看均线的支撑
LC:=EMA(CLOSE,3);
ASMA(MAX((CLOSE-LC),0),6,1)/SMA(ABS((CLOSE-LC)),6,1))*100);
B:=MA(A,10);
QVAR1A:=((((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*100)-10);
QVAR1B:=(((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
dd:=SMA(QVAR1C,21,8);
ddd(dd-QVAR1D)<(0-65))),COLORBLUE;
m2:(IF((ddd>0),-20,0)),STICK,LINETHICK3;
m3:(IF((ddd>0)AND(A<15),40,0)),STICK,LINETHICK3;
STICKLINE(A>50ANDAREF(A,2),A,40,2,0),COLORYELLOW;
==============================================================
20.超准监示主力动向副图===金牌狙击手
Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
STICKLINE(Var1>20ANDVar1<80,Var1,Var1,10,1),colorred;
STICKLINE(Var1<ref(var1,1),Var1,Var1,10,1),colorffcc66;
STICKLINE(Var1>80,Var1,Var1,8,1),color00ff00;
STICKLINE(Var1<20,Var1,Var1,8,1),coloryellow;
ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2)
;
M1:=EMA(ABV,12);
M2:=EMA(ABV,26);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
mtgj:=c-ref(c,1);
ZLGJ:=100*ema(ema(mtgj,9),9)/ema(ema(abs(mtgj),9),9);
MAZL:=MA(ZLGJ,5);
A:=((VOL)/(CAPITAL))*(100);
S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));
Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));
X:=1;
V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6)<0.2),5);
V9:=COUNT((LLV(V1,10)=V1),10);
主力进出:IF((MMS>REF(MMS,1)ANDZLGJ>REF(ZLGJ,1)ANDCROSS(ABV,M2)AND
ABV>REF(ABV,1)ANDM1>REF(M1,1)ANDM2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;
主进主轨:=ABV>M2ANDCROSS(ABV,M1)ANDCROSS(ZLGJ,MAZL);
STICKLINE(主力进出OR主进主轨,65,0,4,1),COLORWHITE;
精准买卖:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND
(VOL>REF(VOL,1))ANDMMS>MMLANDCROSS(ABV,M2);
短线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND
(VOL>REF(VOL,1))ANDCROSS(MMS,MML)ANDABV>REF(ABV,1);
中线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND
(VOL>REF(VOL,1))ANDABV>REF(ABV,1)ANDMMS>MMLANDCROSS(MMM,MML)ANDMMS>REF(MMS,1)
ANDMMM>REF(MMM,1)ANDMML>REF(MML,1);
主进主买:=ABV>M2ANDZLGJ>MAZLANDCROSS(MMS,MML)ANDMMS>REF(MMS,1)AND
MMM>REF(MMM,1)ANDMML>REF(MML,1);
短中精:=精准买卖OR短线买点OR中线买点OR主进主买;
主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT;
STICKLINE(主力买卖,60,0,4,1),COLORFF00FF;
主力轨迹:IF(ABV>M2ANDMMS>MMLANDCROSS(ZLGJ,MAZL)ANDZLGJ>REF(ZLGJ,1)AND
MAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT;
STICKLINE(主力轨迹,55,0,4,1),COLORFFCC66;
拉升在即:IF(SMMLANDABV>M1AND
CROSS(S,Y),50,0),COLORYELLOW,POINTDOT;
STICKLINE(拉升在即,50,0,4,1),COLORYELLOW;
底部构成:IF(V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND
VOL>REF(VOL,1)ANDABV>M2ANDZLGJ>MAZL,45,0),COLOR00FF00,POINTDOT;
STICKLINE(底部构成,45,0,4,1),COLOR00FF00;
ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
HSL:=100*VOL/CAPITAL;
冲击波:IF(CROSS(ROC,16)ANDHSL>3.5,40,0),COLOR0099FF,POINTDOT;
STICKLINE(冲击波,40,0,4,1),COLOR0099FF;
{该指标可以有效的洞察主力资金动向指标最具特色的是将主力进出、主力买卖、
主力轨迹、即将拉升、底部构成的大智慧特色指标有效的加以组合提高了指标之间的配合
度在实际操盘中更具参考价值。
用法
1、当出现主力进出、主力买卖信号时可参考大盘趋势择机介入
2、拉升在即的原理是用成交量的变化来判断主力拉升的开始。
(1)当出现即将拉升的潜力股信号时该股可择机介入。
(2)出现信号后约两周的时间更应密切关注股价变化出现拉升概率极大。
(3)在盘整市和强市中效果极佳一旦发出信号就预示着主升浪的临近。
但在熊市中实战效果较为一般因为在弱市即使信号发出也仅是短期操作
若非短线高手建议谨慎使用以免陷入困境。
(4)为了更好的把握买入时机建议参考主力进出、主力买卖等信号配合使用。
3、当主力轨迹发出信号后股价如突破前期下降压力线或跌破上升支撑线
可买入或卖出。(若与主力买卖配合使用效果更佳。)
4、底部构成在指数连续深幅回调后起稳即发出信号。
当指标出现柱形信号时为阶段性底部即将形成的信号。
当出现双柱信号或连续的多柱信号时通常表明底部已经确立上涨即将展开。
当底部信号已发出但受突发因素的影响导致股价下跌(通常跌幅10%左右)
在数周后底部信号再度出现时表明底部已经确立。股价处于上升途中
(此时建议与主力轨迹配合使用)该指标准确率极高但需要注意以下几点
(1)对前期涨幅巨大的庄股(从周线上来看)出现回调时使用该指标时需慎重。
虽然该股已大幅下挫但是其股价与主力成本相距较远底部信号的发出仅能
表明有小幅反弹或平台整理无法改变股票下跌趋势。此时介入有着巨大的风险。
(2)由于个股在除权后股价往往出现较大价差极易造成底部信号的出现
形成指标失真所以要先复权后再使用。
5、当出现冲击波信号时该股有可能连续拉升既所谓“不停涨、涨不停”
这只是对强势股有效。对一般或弱势股票盲目跟进会在高位被套一旦跟错
要在次日果断退出。
特别提醒
1、股价处在箱体整理区内发出信号要短线操作快进快出。
2、正在横盘整理的股票信号比较多先不要急于介入可关注
一旦形成向上突破形态主图上的均线开始向上发散这是介入的良机。
3、该指标不是告诉你买进位置与卖出位置而是告诉你大盘或个股处于什么样的趋势、主力
运作的轨迹。}
21.老杨追涨
AA:=(C*2+H+L+O)/5;
A0:=MA(C,5);
A1:(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3,colorwhite;
A2:(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3,colorff00ff;
a3:(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3,color00ff00;
A4:(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3,color0000ff;
A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);
A6:=A5/4;
A7:=MAX(MAX(A1,A2),MAX(A3,A4));
A8:=MIN(MIN(A1,A2),MIN(A3,A4));
A9:=MIN(MIN(A1,A2),A3);
A10:=MAX(MAX(A1,A2),A3);
DRAWICON(A6>22.5ANDREF(A0,1)>REF(A0,2)ANDA0<REF(A0,1),H+0.2,2);
DRAWICON(CROSS(A2,A4)ANDA3>REF(A3,1)ANDA0>REF(A0,2)AND(A1-A4)/A4<0.02,A2,1);
DRAWICON(CROSS(A1,A4)ANDCROSS(A2,A3),A1,10);
DRAWTEXT(FILTER(H>A7ANDLREF(A1,1)ANDA2>REF(A2,1)ANDA4>REF(A4,2)AND
(A7-A8)/A8OAND(H-C)/(C-O)<0.4,3),A4-0.1,'穿四线');
DRAWTEXT(LONGCROSS(A1,A3,30)AND(A4-A3)/A3A3ANDL>A1ANDO>CANDO=H,H+0.1,'顶');
DRAWTEXT(FILTER(A4>REF(A4,2)ANDREF(A1,3)O
AND(A10-A9)/A9<0.005,5),A8-0.05,'三线粘合'),COLORRED
22.天堂星MACD
发个比较实用的MACDD指标供大家使用
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>ma5andma5>ma7;
中均线多头:=ma15>ma30andma30>ma60;
aa:=双线合一and短均线多头andfilter(双线合一and短均线多头,2);
stickline(diff>=dea,h,l,0.5,0),colorred;
stickline(diff>=dea,o,c,5,0),colorred;
stickline(diff<dea,h,l,0.5,0),colorf0f000;
stickline(diff<dea,o,c,5,0),colorf0f000;
短线介入:drawicon(aaanddiff<0.15,l*0.99,1);
大胆介入:drawicon(aaanddiff>macdanddiff<0.15,l*0.95,1);
评论(0)