期貨交易公式 指標 源碼[其他軟件公式]
相關標簽:
?
期貨交易
?
?
原理解析:
源碼:
?
?
n=26
趨勢線:=3*SMA((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=LLV(CLOSE,30);
MA3:=MA(底部,2);
X:=MA(CLOSE,26);
壓力:=HHV(HIGH,30);
STICKLINE(CLOSE>=X,CLOSE,HIGH,1,0),colorFF;
STICKLINE(CLOSE>=X,OPEN,CLOSE,8,0),colorFF;
STICKLINE(CLOSE>=X,OPEN,LOW,1,0),colorFF;
STICKLINE(CLOSE<=X,OPEN,CLOSE,8,0),colorFF0000;
STICKLINE(CLOSE<=X,OPEN,HIGH,1,0),colorFF0000;
STICKLINE(CLOSE<=X,CLOSE,LOW,1,0),colorFF0000;
PARTLINE(MA3>=REF(MA3,1) AND CLOSE>=X AND CLOSE>MA3,MA3),colorFFFFFF;
PARTLINE(壓力<=REF(壓力,1) AND CLOSE<=X,壓力),colorFFFFFF;
DRAWICON(FILTER(LOW<=X AND CLOSE>=X AND MA3>=REF(MA3,1) AND CLOSE/OPEN>1.02 AND WINNER(CLOSE)<0.4,20),LOW,1),colorFFFF;
DRAWICON(FILTER(HIGH>=壓力 AND CLOSE<HIGH AND CLOSE<OPEN AND OPEN/CLOSE>1.03 AND WINNER(CLOSE)>0.6,5),HIGH,2),colorFF00;
趨勢線:=3*SMA((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
短期乖離率:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
DRAWTEXT(FILTER(IF(CROSS(趨勢線,10) AND CLOSE/LOW>1.04 AND 短期乖離率<0.35,1,0) AND CLOSE>OPEN,5),LOW-0.07,''),ALIGN2,colorFFFF;
VARA:=AMOUNT/VOL/100;
VARB:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARC:=SUM(AMOUNT,7)/VARA/100;
VARD:=DMA(VARB,VOL/VARC);
VARE:=(CLOSE-VARD)/VARD*100;
VARF:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
K:=SMA(VARF,3,1);
頂:=REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND K>79;
DRAWTEXT(FILTER(REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND K>79,5),HIGH*1.02,''),colorFFFF;
?
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
?
有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友
可聯系技術人員 QQ: 262069696 或微信:cxhjy888 進行 有償收費 編寫!(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關文章
-
沒有相關內容