同花顺奇门强势CHL公式 波段神器,根据指标在时间点买入卖出。参考执行
源码
WY1001:=(2*CLOSE+HIGH+LOW)/3;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
零上:=STICKLINE(XYS0>=0,XYS0,0,3,0),colorred;
零下:=STICKLINE(XYS0<0,XYS0,0,3,0),colorgreen;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:0,colorwhite,LINETHICK9,colorgreen;
STICKLINE(XYSHSL>6.1 AND CYS13>5,2,0,3,0),colorgreen;
STICKLINE(XYSHSL>3.8 AND CYS13>5,1.5,0,3,0),coloryellow;
STICKLINE(XYSHSL>2.1 AND CYS13>5,1,0,3,0),colorcyan;
STICKLINE(XYSHSL>1.8 AND CYS13>5,0.5,0,3,0),colorblue;
XYS1:MA(XYS0,1),LINETHICK2;///www.gszb.com
XYS2:MA(XYS0,2),coloryellow,LINETHICK2;
DRAWICON(LONGCROSS(XYS1,XYS2,2),XYS1,1);
DRAWICON(LONGCROSS(XYS2,XYS1,2),XYS1,2);
NOTEXT五日:ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,NODRAW,colorwhite;
超强势:IF(NOTEXT五日>30,0,DRAWNULL),LINETHICK9,colorred;
短线强势:=STICKLINE(NOTEXT五日>30,0.2,-0.2,10,0),colorred;