飞狐周k线买入信号主图源码公式:
MA1:CLOSE;
MA2:MA(CLOSE,30);
周K:=MA("K.K"(n,m1,m2)WEEKDAY,5);
周D:=MA("K.D"(n,m1,m2)WEEKDAY,5);
周J:=MA("K.J"(n,m1,m2)WEEKDAY,5);
低开大阳线:=OPEN<CLOSE AND OPEN/REF(C,1) <= 1-4/100 AND CLOSE/OPEN>=1+7/100;
ma5:=ma(c,5);
ma10:=ma(c,10);
ma30:=ma(c,30);
p1:=abs(ma5-ma10)+abs(ma10-ma30);
p2:=p1/c<2/100 and ma5>ref(ma5,1) and ma10>ref(ma10,1) and cross(ma5,ma30) ;
线粘合:=if(p2,70,0);
建仓1:STICKLINE(c/ref(c,1)>1.06 and 线粘合,o,c,8,0),coloryellow;
STICKLINE(c/ref(c,1)>1.06 and 线粘合,h,l,1,0),coloryellow;
建仓:0,coloryellow;
盘底完成1:STICKLINE((V/REF(V,5)>2) and 低开大阳线,o,c,5,0),colorwhite;
STICKLINE((V/REF(V,5)>2) and 低开大阳线,h,l,1,0),colorwhite;
盘底完成:0 ,colorwhite;
坚决买进1:STICKLINE(CROSS(周K,周D) and 周K<20 ,o,c,5,0),colorcceedd;
STICKLINE(CROSS(周K,周D) and CROSS(周J,周K) and 周J<20 ,h,l,1,0),colorcceedd;
坚决买进:0,colorcceedd; |