买入公式原码,选股,无未来

[复制链接]
查看54 | 回复0 | 2022-7-24 07:43:36 | 显示全部楼层 |阅读模式

买入公式原码,选股,无未来

WY1001:=(2*CLOSE+HIGH+LOW)/4;

WY1002:=EMA(WY1001,2);

WY1003:=EMA(WY1002,2);

WY1004:=EMA(WY1003,2);

XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;

STICKLINE(XYS0>=0,XYS0,0,0,0),COLORRED;

STICKLINE(XYS0<0,XYS0,0,0,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;

STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,0,0 ),COLORGREEN;
STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,0 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,0,0 ),COLORCYAN;
STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,0,0 ),COLORBLUE;

XYS1:EMA(XYS0,1);
XYS2:EMA(XYS0,2);
DRAWTEXT(FILTER(XYS1<-1.2 AND CROSS(XYS1,XYS2),3),-2.5,'B'),COLORCYAN;

 


                                                                                

{选股}
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,2);
WY1003:=EMA(WY1002,2);
WY1004:=EMA(WY1003,2);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS1:=EMA(XYS0,1);
XYS2:=EMA(XYS0,2);
买入:FILTER(XYS1<-1.2 AND CROSS(XYS1,XYS2),3);

939177625.jpg

939177625.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则