很多指标,要么失之过简(简单的简),要么失之过繁 ,一个没有深度,一个眼花缭乱,都不能很好的为操盘服务。我个人觉得,公式的编写应尽量将繁杂的信息简化,这种简化主要体现在优化画面和整合买卖信号上,即使是复合式的指标公式,也尽量以简明的色带、图标呈现出来,尽量减少不必要的杂乱的线条,虽然信息量较大,但是依然清爽。
以上就是我作为一个基本面为前提下的技术分析派的一点心得,希望能引起同道的共鸣。
主图
MA13:MA(CLOSE,13),COLORYELLOW,LINETHICK0;
MA21:MA(CLOSE,21),COLORMAGENTA,LINETHICK0;
MA55:MA(CLOSE,55),COLORGRAY,LINETHICK0;
MA89:MA(CLOSE,89),COLORGRAY,LINETHICK0;
STICKLINE(MA21>=MA89,MA21,MA89,(-1),(-1)),COLORRED;
STICKLINE(MA21<MA89,MA21,MA89,(-1),(-1)),COLORGRAY;
DRAWBAND(MA55,RGB(255,0,255),MA89,RGB(0,0,255));
DRAWBAND(MA13,RGB(255,0,0),MA21,RGB(0,255,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
XA_1:=(HIGH+LOW+CLOSE*2)/4;
XA_2:=EMA(XA_1,10);
XA_3:=STD(XA_1,10);
XA_4:=(XA_1-XA_2)*100/XA_3;
XA_5:=EMA(XA_4,5);
XA_6:=EMA(XA_5+55,9);
牛股基因:XA_6>100 AND CLOSE>MA(CLOSE,21) AND MA(CLOSE,13)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,55) AND MA(CLOSE,55)>MA(CLOSE,144),NODRAW;
超级牛股:牛股基因 AND REF(牛股基因,1)=0,NODRAW,COLORRED;
DRAWICON(牛股基因,MA(CLOSE,34),1);
★主升波段:DRAWNULL,COLOR0066FF;
原创力作★:DRAWNULL,COLOR0066FF;
副图1
NOTEXT极弱:(-100),DOTLINE,COLORFF6666;
NOTEXT弱势:(-50),DOTLINE,COLORCYAN;
NOTEXT平衡:0,NODRAW,COLOR00FFCC;
NOTEXT强势:50,DOTLINE,COLORRED;
NOTEXT极强:100,DOTLINE,COLORMAGENTA;
NOTEXT暴强:150,DOTLINE,COLOR00CCFF;
NOTEXT燃烧:200,DOTLINE,COLOR999999;
XA_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_2:=EMA(XA_1,9);
XA_3:=HHV(MAX(XA_1,XA_2),250);
XA_4:=INTPART(100/XA_3);
XA_5:=2*XA_4*XA_1+0;
XA_6:=2*XA_4*XA_2+0;
XA_7:=XA_5-XA_6;
STICKLINE(XA_7>=0 AND XA_7>=REF(XA_7,1),0,XA_7,2,1),COLORRED;
STICKLINE(XA_7>=0 AND XA_7<REF(XA_7,1),0,XA_7,2,0),COLORRED;
STICKLINE(XA_7<0 AND XA_7>=REF(XA_7,1),0,XA_7,2,1),COLORCYAN;
STICKLINE(XA_7<0 AND XA_7<REF(XA_7,1),0,XA_7,2,0),COLORCYAN;
XA_8:=(HIGH+LOW+CLOSE*2)/4;
XA_9:=EMA(XA_8,10);
XA_10:=STD(XA_8,10);
XA_11:=(XA_8-XA_9)*100/XA_10;
XA_12:=EMA(XA_11,5);
DIF:EMA(XA_12+55,9),COLORRED;
DEA:EMA(DIF,7),COLORGREEN;
MACD:(XA_1-XA_2)*2,NODRAW,COLORYELLOW;
DRAWBAND(DIF,RGB(255,0,0),DEA,RGB(0,255,0));
抄底:CROSS(DIF,DEA) AND DIF<0 AND CROSS(CLOSE,MA(CLOSE,5)),NODRAW,COLORYELLOW;
DRAWICON(抄底,LLV(DIF,10),38);
建仓:CROSS(DIF,0),NODRAW,COLORRED;
DRAWICON(建仓,(-25),34);
减仓:CROSS(DEA,DIF) AND DIF>125,NODRAW,COLORGREEN;
DRAWICON(减仓,DIF*1.2,35);
持股期:BARSLAST(建仓),NODRAW,COLORYELLOW;
盈利:100*(HIGH-REF(HIGH,持股期))/REF(CLOSE,持股期),NODRAW,COLORMAGENTA;
牛股基因:DIF>100 AND CLOSE>MA(CLOSE,21) AND MA(CLOSE,13)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,55) AND MA(CLOSE,55)>MA(CLOSE,144),NODRAW,COLORYELLOW;
超级牛股:牛股基因 AND REF(牛股基因,1)=0,NODRAW,COLORRED;
DRAWICON(牛股基因,0,26);
★主升波段:DRAWNULL,COLOR0066FF;
原创力作★:DRAWNULL,COLOR0066FF;
DRAWTEXT(ISLASTBAR,(-75),2),COLORFF6666;
DRAWTEXT(ISLASTBAR,(-25),3),COLORCYAN;
DRAWTEXT(ISLASTBAR,25,4),COLOR00FFCC;
DRAWTEXT(ISLASTBAR,75,5),COLORRED;
DRAWTEXT(ISLASTBAR,125,6),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,175,7),COLOR00CCFF;
副图2
XA_1:=(HIGH+LOW+CLOSE*2)/4;
XA_2:=EMA(XA_1,10);
XA_3:=STD(XA_1,10);
XA_4:=(XA_1-XA_2)*100/XA_3;
XA_5:=EMA(XA_4,5);
XA_6:=EMA(XA_5+55,9);
XA_7:=XA_6>100 AND CLOSE>MA(CLOSE,21) AND MA(CLOSE,13)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,55) AND MA(CLOSE,55)>MA(CLOSE,144);
黄金牛股:XA_7 AND REF(XA_7,1)=0;