指标源码:【由彩虹桥投资充电站(www.xuexi199.com)整理】
B05:MA(C,5),COLORFF00FF,LINETHICK2;
B10:=MA(C,10);
B30:MA(C,30),COLORRED;
KS:IF(B10>B30,B10,B30),COLORBLUE;
B3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1);
B6:=3*B4-2*B5;
B7:=C-REF(C,1);
B8:=100*EMA(EMA(B7,6),6)/EMA(EMA(ABS(B7),6),6);
买:=LLV(B8,2)=LLV(B8,7) AND COUNT(B8<0,2) AND CROSS(B8,MA(B8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'跟庄买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
选股源码:(选股出票较多,可用其他指标二次筛选)
B05:=MA(C,5),COLORFF00FF,LINETHICK2;
B10:=MA(C,10);
B30:=MA(C,30),COLORRED;
KS:=IF(B10>B30,B10,B30),COLORBLUE;
B3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1);
B6:=3*B4-2*B5;
B7:=C-REF(C,1);
B8:=100*EMA(EMA(B7,6),6)/EMA(EMA(ABS(B7),6),6);
买:=LLV(B8,2)=LLV(B8,7) AND COUNT(B8<0,2) AND CROSS(B8,MA(B8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'跟庄买进'),COLORYELLOW; |