相關標簽:
?
源碼為網友仿勝龍快槍手的操盤要點和主力入貨,我將二者結合在一起,自用副圖,效果還行。
源碼:
{操盤要點}
cxhQS19:=(2*CLOSE+HIGH+LOW)/4;
cxhQS21:=LLV(LOW,34);
cxhQS24:=HHV(HIGH,34);
cxh17:EMA((cxhQS19-cxhQS21)/(cxhQS24-cxhQS21)*100,8);
cxhQS25:=EMA(cxh17,5);
STICKLINE(cxh17>0 AND cxh17-cxhQS25>=0,79,80,6,0),colorred;
STICKLINE(cxh17>0 AND cxh17-cxhQS25<0,79,80,6,1),COLORGREEN;{http://www.kzuj.com.cn}
STICKLINE(cxh17>0 AND cxh17-cxhQS25>=0,-5,-4,6,0),colorred;
STICKLINE(cxh17>0 AND cxh17-cxhQS25<0,-5,-4,6,1),COLORGREEN;{http://www.kzuj.com.cn}
STICKLINE(cxh17-cxhQS25>0,cxh17,cxhQS25,8,1),colorred;
STICKLINE(cxh17-cxhQS25<0,cxh17,cxhQS25,8,1),colorcyan;
cxhQS26:=REF(LOW,1);
cxhQS27:=(SMA(ABS(LOW-cxhQS26),3,1))/(SMA(MAX(LOW-cxhQS26,0),3,1))*100;
cxhQS28:=EMA(IF(CLOSE*1.3,cxhQS27*10,cxhQS27/10),3);
cxhQS29:=LLV(LOW,30);
cxhQS30:=HHV(cxhQS28,30);
cxhQS31:=IF(MA(CLOSE,58),1,0);
cxhQS32:=(EMA(IF(LOW<=cxhQS29,(cxhQS28+cxhQS30*2)/2,0),3))/(618)*cxhQS31;
cxhQS33:=IF(cxhQS32>100,100,cxhQS32);
吸籌:STICKLINE(cxhQS33>-150,0,cxhQS33,12,1),coloryellow;
操盤線:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORGREEN;{http://www.kzuj.com.cn}
用法:紅燈亮持股,綠燈亮持幣;
看看效果:
{程序化交易 www.kzuj.com.cn }

?
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
?