智能操盘主图
2015-4-2 14:31:41点击:
加微信:zb-mart免费验证!
参数:SHORT(2,200,26) LONG(2,200,90) M(2,200,28)
DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;
SJTJ:=DATE<1590301;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
{DRAWICON(CROSS(X2,X3),L-1,7);
DRAWICON(CROSS(X3,X2),H+1,8);}
STICKLINE(X2>=X3 AND SJTJ,LOW,HIGH,0,1),COLORRED;
STICKLINE(X2>=X3 AND SJTJ,CLOSE,OPEN,2.2,2),COLORRED;
STICKLINE(X2<X3 AND SJTJ,LOW,HIGH,0,1),COLORGREEN;
STICKLINE(X2<X3 AND SJTJ,CLOSE,OPEN,2.2,2),COLORGREEN;
STICKLINE(CROSS(X3,X2) AND SJTJ,OPEN,CLOSE,2.2,0),COLORGREEN;
STICKLINE(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,2.2,0),COLORRED;
STICKLINE((CLOSE>OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,2.2,2)COLORGREEN;
STICKLINE((CLOSE>OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,2.2,2)COLORRED;
STICKLINE((CLOSE<OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,2.2,0)COLORGREEN;
STICKLINE((CLOSE<OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,2.2,0)COLORRED;
做空:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORBLUE;
做多:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
操盘线:=EMA(EMA(EMA(CLOSE,2),2),2);
趋势线:(MA(操盘线,3)),COLORCYAN,LINETHICK2;
AA:IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2;
BB:=IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK2;
最新价:IF(SJTJ, C,DRAWNULL),LINETHICK0,COLORYELLOW;
P1:=BARSLAST(HHV(REF(H,2),6)=REF(H,6-1+5))+6-1+5;
GX:=HHV(H,6)=H AND C>REF(H,P1) AND REF(H,1)<REF(H,P1),COLORRED,LINETHICK3;
DRAWTEXT(GX,L-L*0.0018,'↖ 波段买点'),COLORYELLOW;
STICKLINE(GX,CLOSE,OPEN,3,0),COLORYELLOW,LINETHICK2;
STICKLINE(GX,H,L,0,0),COLOR44FFFF;
STICKLINE(GX,C,O,6.1,0),COLOR003333;
STICKLINE(GX,C,O,5,0),COLOR003333;
STICKLINE(GX,C,O,4,0),COLOR116666;
STICKLINE(GX,C,O,3,0),COLOR116666;
STICKLINE(GX,C,O,2,0),COLOR229999;
STICKLINE(GX,C,O,1,0),COLOR229999;
STICKLINE(GX,C,O,0.5,0),COLOR33CCCC;
STICKLINE(GX,C,O,0.2,0),COLOR33CCCC;
STICKLINE(GX,C,O,0,0),COLOR44FFFF;
STICKLINE(GX,H,L,0,0),COLOR44FFFF;