買賣公式源碼 主圖買賣指標[同花順公式]
相關標簽: 趨勢買賣主圖指標 、 準確買賣主圖指標 、 區域拐點買賣主圖指標 、 買賣副圖指標公式 、 主力買賣指標 、 精準買賣點指標公式 、 趨勢買賣指標 源碼 、 頂底買賣點指標公式 、 房子買賣指標合同 、
主圖指標買賣公式源碼 主圖買賣指標
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-ref(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-ref(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-ref(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-ref(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=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);
VAR12:=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);
VAR13:=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);
VAR14:=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);
VAR15:=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);
VAR16:=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);
VAR17:=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);
VAR18:=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);
//本文來至程序化交易網 cxh99.com//
m1 1 100 5
m2 1 100 10
m3 1 100 30
m4 1 100 60
主圖買賣指標
//內容來至程序化交易網 CXH99.COM//
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
買1:=VAR10;
買2:=(VAR11+VAR13+VAR15+VAR17);
賣1:=(VAR12+VAR14+VAR16+VAR18);
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;
DRAWTEXT(賣1>0,HIGH*1.02,'賣出'),COLORGREEN;
//股靈吧決策//
VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;
年:MA(CLOSE,22),LINETHICK2,COLORWHITE;
//文章來至程序化交易網 cxh99.com//
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容