彬牛王B2季节
2016-8-4 13:44:01点击:
RUNO:=0;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
TJ:=REFX(&CLOSE,5)>0;
XYS0:IF(tj+RUNO,(WY1004-REF(WY1004,1))/REF(WY1004,1)*100,0);
STICKLINE(XYS0>=0 AND (tj+RUNO),XYS0,0,8,0),colorred;
STICKLINE(XYS0<0 AND (tj+RUNO),XYS0,0,8,0),colorgreen;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*40,13);
ZZX:0,colorwhite;
STICKLINE(XYSHSL>6.1 AND CYS13>5 AND (tj+RUNO),1.2 ,0 ,4 ,0 ),colorgreen;
STICKLINE(XYSHSL>3.8 AND CYS13>5 AND (tj+RUNO),0.9 ,0 ,4 ,0 ),coloryellow;
STICKLINE(XYSHSL>2.1 AND CYS13>5 AND (tj+RUNO) ,0.6 ,0 ,4,0 ),colorcyan;
STICKLINE(XYSHSL>1.8 AND CYS13>5 AND (tj+RUNO),0.3 ,0 ,4 ,0 ),colorblue;
XYS1:IF(tj+RUNO,MA(XYS0,2),0),coloryellow;
XYS2:IF(tj+RUNO,MA(XYS0,1),0),colorcyan;
//DRAWICON(CROSS(XYS1,XYS2),XYS1,2);
//DRAWICON(CROSS(XYS2,XYS1),XYS2,1);