期货交易公式 指标 源码[其他软件公式]
相关标签:
期货交易
原理解析:
源码:
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或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容