简单明了实用,收益稳定。当黄线呈下降趋势时的小反弹不必参与,真正的趋势起来是不会三二天结束的,所以再好的指标也是要择时运用。因趋势指标都会有未来函数不必在意,凡出现过的信号都不会飘移或消失,放心使用。
DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;
X2:(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLORF0F000,NODRAW;
X3:MA(X2,5),COLORYELLOW,LINETHICK2;
X1:=(C+L+H)/3;
买:=CROSS(X2,X3);
卖:=CROSS(X3,X2);
DRAWICON(CROSS(X2,X3),L*0.97,1);
DRAWICON(CROSS(X3,X2),H*1.05,2);
STICKLINE(X2 =X3,LOW,HIGH,0,1),COLORRED;
STICKLINE(X2 =X3,CLOSE,OPEN,3.2,2),COLORRED;
STICKLINE(X2 X3,LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(X2 X3,CLOSE,OPEN,3.2,2),COLORLIBLUE;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3.2,0),COLORLIBLUE;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE((CLOSE OPEN) AND (X2 X3),CLOSE,OPEN,3.2,2)COLORLIBLUE;
STICKLINE((CLOSE OPEN) AND (X2 =X3),CLOSE,OPEN,3.2,2)COLORRED;
STICKLINE((CLOSE OPEN) AND (X2 X3),CLOSE,OPEN,3.2,0)COLORLIBLUE;
STICKLINE((CLOSE OPEN) AND (X2 =X3),CLOSE,OPEN,3.2,0)COLORRED;
DRAWTEXT_FIX(1,0.980,0,1,'GOODGUPIAO'),COLORYELLOW;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3 =(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.3,1),COLORYELLOW;
跌停:=IF((C3-C)*100/C3 =(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.3,1),COLORGREEN;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
{九毛八公式指标网www.9m8.cn}
DF:=(C-REF(C,1))/REF(C,1)*100
EE:=BARSLAST(DF);
突破箱体:=CROSS(C,REF(C,EE));
顶:DRAWLINE(DF,O,REF(DF,1),REF(O,1),1),COLORMAGENTA DOTLINE;
箱底:=LLV(MIN(L,REF(L,EE)),EE),COLORCYAN,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶,'');
DD1:=1;
DRAWTEXT_FIX(DD1=1,0,0.95,0,' '),COLORYELLOW;
AA100:=AMOUNT/V;
BB100:=L AA100*0.9;
CC100:=(C-REF(C,1))/REF(C,1)*100
DD100:=L MA(C,5)*0.921;
UPPER:BOLL+2*STD(CLOSE,20),NODRAW;
LOWER:BOLL-2*STD(CLOSE,20),NODRAW;
轨距:=UPPER-LOWER;
牛股起动:=FILTER(轨距 REF(轨距,1) AND (轨距-REF(轨距,1))/REF(轨距,1) =0.18 AND BOLL REF(BOLL,1),11),COLOR0000FF;
DRAWTEXT(FILTER(牛股起动=1,11),BOLL, ' 起爆'),COLORYELLOW;