最近用上广发至强板觉得战略家指标不错就组合了几个指标在其中。
本来广发至强板也组合了战略家、新浪股软,可以同时开。由於机子性能有限战略家只好盘后用。你也可以把现有战略家指标引入到交易版、券商版中,但要注意把指标名改一下,不然启动战略家会打架的。
一,〈大盘顶底〉是用大盘抄底、大盘逃顶、大盘牛熊分界三个指标组合而成。
你可用作主图,也可用作副图。副图随时可有看,但有毛病。一是画面先要调入足够的周期K线然后再放大。二是个股周期与大盘在时间上不一定对应。
{大盘顶底}
DH:=INDEXH;
DO:=INDEXO;
DL:=INDEXL;
DC:=INDEXC,NODRAW;
N:=MA(DC,120);
M:=MA(DC,250);
S1:DC>N AND N>REF(N,1),COLORRED,NODRAW;
S2:DC<N AND DC>M,COLORGREEN,NODRAW;
S3:DC<M,COLORBLUE,NODRAW;
S4:DC>N AND N<M ,COLORYELLOW,NODRAW;
S5:IF((S1+S2+S3+S4)=0,1,0),NODRAW;
STICKLINE(S1,DH,DL,0,0),COLORRED;
STICKLINE(S1 AND DC>=DO,DC,DO,2.8,1),COLORRED;
STICKLINE(S1 AND DC<DO,DC,DO,2.8,0),COLORRED;
STICKLINE(S2,DH,DL,0,0),COLORGREEN;
STICKLINE(S2 AND DC>=DO,DC,DO,2.8,1),COLORGREEN;
STICKLINE(S2 AND DC<DO,DC,DO,2.8,0),COLORGREEN;
STICKLINE(S3,DH,DL,0,0),COLORBLUE;
STICKLINE(S3 AND DC>=DO,DC,DO,2.8,1),COLORBLUE;
STICKLINE(S3 AND DC<DO,DC,DO,2.8,0),COLORBLUE;
STICKLINE(S4,DH,DL,0,0),COLORYELLOW;
STICKLINE(S4 AND DC>=DO,DC,DO,2.8,1),COLORYELLOW;
STICKLINE(S4 AND DC<DO,DC,DO,2.8,0),COLORYELLOW;
STICKLINE(S5,DH,DL,0,0),COLORCYAN;
STICKLINE(S5 AND DC>=DO,DC,DO,2.8,1),COLORCYAN;
STICKLINE(S5 AND DC<DO,DC,DO,2.8,0),COLORCYAN;
Z:=MA(DC,120);
VAR33:=(MA(DH ,5)-Z)/Z;
VAR44:=MA((DC-LLV(DL,10))/(HHV(DH,10)-LLV(DL,10))*100,3);
D11:DRAWTEXT(CROSS(95,VAR44) AND VAR33>0.3,1.01*DH ,'★S'),COLORRED;
D22:DRAWTEXT( CROSS(93,VAR44) AND HHV(DH,30)/LLV(DL,30)>1.1 AND REF(Z,1)/Z>0.997 ,1.01*DH ,'★S'),COLORGREEN;
D33:DRAWTEXT(DC<Z AND Z<REF(Z,1) AND REF(VAR44,1)>90 AND VAR44<REF(VAR44,1) AND REF(VAR44,1)>REF(VAR44,2) ,1.01*DH,'★S'),COLORBLUE;
VAR3:=(MA(DC,5)-Z)/Z;
VAR4:=MA((DC-LLV(DL,20))/(HHV(DH,20)-LLV(DL,20))*100,3);
D1:DRAWTEXT(DC>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) ,0.99*DL ,'★B'),COLORRED;
D2:DRAWTEXT(REF(VAR4,1)<7 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.1,0.99*DL ,'★B'),COLORGREEN;
D3:DRAWTEXT(CROSS(VAR4,5) AND VAR3<-0.3,0.99*DL ,'★B'),COLORBLUE;
=============================================================
二,中短线操盘就是把短线操盘、中线操盘放在一起,效果很不错。
主要用在个股,也可用在大盘。
{中短线操盘 主图}
N1:=IF(BARSCOUNT(C)>=45,45,BARSCOUNT(C));
STICKLINE(C>=MA(C,N1),MA(C,N1),MA(C,N1*0.78),4,0),COLORYELLOW;
STICKLINE(C<MA(C,N1),MA(C,N1),MA(C,N1*0.78),4,0),COLORBLUE;
N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
STICKLINE(C>=MA(C,N),MA(C,N),MA(C,N*0.7),4,0),COLORYELLOW;
STICKLINE(C<MA(C,N),MA(C,N),MA(C,N*0.7),4,0),COLORBLUE;
DRAWKLINE(H,O,L,C);
==============================================================
三,四个选股指标由中短线操盘指标得出。
战略家首有些是股软来、网上给数椐的东西强求也得不来。能有的论坛上都有,就不要再问了。
{短线}
N:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));
D:=IF(C>MA(C,N),2,0);
DL:=IF(C<MA(C,N),1,0);
CROSS(D,DL) AND DYNAINFO(39)>0 AND DYNAINFO(4)>0;
{中线}
N1:=45;
D2:=IF(C>MA(C,N1),2,0);
DL2:=IF(C<MA(C,N1),1,0);
N:=10;
D:=IF(C>MA(C,N),2,0);
DL:=IF(C<MA(C,N),1,0);
CROSS(D2,DL2) AND DYNAINFO(39)>0 AND DYNAINFO(4)>0;
{中短同步}
N1:=45;
D2:=IF(C>MA(C,N1),2,0);
DL2:=IF(C<MA(C,N1),1,0);
F1:=CROSS(D2,DL2);
N:=10;
D:=IF(C>MA(C,N),2,0);
DL:=IF(C<MA(C,N),1,0);
F2:=CROSS(D,DL);
F1 AND F2 AND DYNAINFO(39)>0 AND DYNAINFO(4)>0;
{强势}
N1:=45;
D2:=IF(C>MA(C,N1),2,0);
DL2:=IF(C<MA(C,N1),1,0);
F1:=CROSS(D2,DL2);
N:=10;
D:=IF(C>MA(C,N),2,0);
DL:=IF(C<MA(C,N),1,0);
F2:=CROSS(D,DL);
F2 AND D2 AND DYNAINFO(39)>0 AND DYNAINFO(4)>0;
|