
MA13:=MA(C,13);
MA34:=MA(C,34);
MA55:=MA(C,55);
YY1:=O<MA13 AND C>MA13;
YY2:=O<MA34 AND C>MA34;
YY3:=O<MA55 AND C>MA55;
YY4:=C/O>=1.04;
YY5:=V>HHV(H,10);
YY6:=MA13>=REF(MA13,1);
CSXG:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;
STICKLINE(CSXG,58,55,14,0),COLOR00CCCC;
STICKLINE(CSXG,57,56,12,0),COLOR009999;
STICKLINE(CSXG,45,48,4,0),COLOR0077AA;
STICKLINE(CSXG,54,50,10,0),COLOR0088DD;
STICKLINE(CSXG,55,48,6,0),COLOR00AAFF;
STICKLINE(CSXG,53,52,4,0),COLOR000000;
STICKLINE(CSXG,53,50,1,0),COLOR0077EE;
STICKLINE(CSXG,60,55,7,0),COLOR8800CC;
STICKLINE(CSXG,60,63,4,0),COLOR7700AA;
IF(CSXG,57,DRAWNULL),LINETHICK4,POINTDOT,COLOR00FF00;
DRAWTEXT_FIX(C>O,0.01,0.41,0,'免费指标搜索微信公众号:指标源码公式'),COLORYELLOW;
STICKLINE(CSXG,26,20,12,0),COLORFFFFFF;
STICKLINE(CSXG,33,25,14,0),COLOR8800CC;
STICKLINE(CSXG,46,32,16,0),COLORRED;
STICKLINE(CSXG,37,34,8,0),COLOR00AAFF;
STICKLINE(CSXG,50,44,2,0),COLOR000000;
STICKLINE(CSXG,49,49,1,0),COLOR0000EE;
DRAWICON(CSXG,39,9);
DRAWBMP(CSXG,60,'01');
STICKLINE(CSXG,0,80,1,0),COLORRED;
DRAWICON(CSXG,85,9);
DRAWTEXT(CSXG,45,' 财神来到'),COLORYELLOW;
DRAWTEXT(CSXG,40,' 买点出现'),COLORYELLOW;
DRAWTEXT(CSXG,35,' 波段操作'),COLORYELLOW;
N:=3;
M:=500;
P:=1.02;
一年内选股:SUM(CSXG,M)NODRAW,COLORWHITE;
DRAWTEXT_FIX(1,0.980,0,1,'免费指标搜索微信公众号:指标源码公式'),COLOR666666;
三日2%:=(HHV(H,N)>REF(C,N)*P AND REF(CROSS(CSXG,0.8),N));
一年成功数:SUM(三日2%,M),NODRAW;
成功率:(一年成功数/一年内选股)*100,NODRAW;