機構操盤線(同花順公式 公式、同花順源碼 K線圖)[同花順公式]
相關標簽:
?
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);VB1:=(V9-VA)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
當日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);
短線:=EMA(CLOSE,5);
趨勢線:=EMA(CLOSE,10);
生命線:EMA(CLOSE,50),LINETHICK1,colorblue;
警戒線:IF(短線 > 趨勢線,趨勢線,短線),colorred,LINETHICK2;
賣出:IF(短線 < 趨勢線,短線,DRAWNULL),colorgreen,LINETHICK2;CXH3:=LLV(HIGH,240);CXH3:=LLV(HIGH,240);
CXH4:=100*(CLOSE-CXH3)/CXH3;
CXH5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
CXH6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
CXH7:=0;
CXH8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
CXH9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
CXH10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
CXH11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
CXH12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
CXH13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
CXH14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
CXH15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
CXH16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
CXH17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
CXH18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
CXH19:=EMA(CLOSE,2)-EMA(CLOSE,150);
買1:=CXH10;
買2:=(CXH11+CXH13+CXH15+CXH17);
賣1:=(CXH12+CXH14+CXH16+CXH18);
B:IF(買1>0 OR 買2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,coloryellow;
DRAWTEXT(買1>0 OR 買2>0,LOW*0.99,'買入'),colorred;
S:IF(賣1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;//http://www.kzuj.com.cn
DRAWTEXT(賣1>0,HIGH*1.02,'賣出'),COLORGREEN;//http://www.kzuj.com.cn
CXH100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
CXH200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
CXH300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
F:IF(CROSS(CXH200,MA(CXH300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;
V133:=EMA(CLOSE,5);
V233:=EMA(EMA(CLOSE,90)*1.01,10);;
CXH1:=LLV(LOW,21);
CXH2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - CXH1) / (CXH2 - CXH1)) * 100),5);
AK:=EMA((((CLOSE - CXH1) / (CXH2 - CXH1)) * 50),13);
AB:=CROSS(AK1,AK);//www.kzuj.com.cn
DRAWTEXT((AB = 1),(LOW * 0.99),'○牛窩'),coloryellow;
CXH3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
CXH4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (CXH3AA>0),91,0);
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
CXH6:=REF(C,1);
CXH7:=SMA(MAX(C-CXH6,0),6,1)/SMA(ABS(C-CXH6),6,1)*100;買線:=EMA(C,2);
?
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
?
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信:cxhjy888 進行 有償收費 編寫!(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容