黄金超短副图通达信公式 副图 源码附图

VAR1:=115123099;
VAR2:=1;
VAR3:=1;
VAR4:=MA((2*CLOSE+HIGH+LOW)/4,5);
VAR5:=VAR4*1.02;
VAR6:=VAR4*0.98;
VAR7:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
VAR8:=DMA(CLOSE,VAR7);
VAR9:=1.07*VAR8;
VAR10:=0.93*VAR8;
VAR11:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1000;
VAR12:=(VAR9-REF(VAR9,5))/REF(VAR9,5)*1000;
VAR13:=MA(CLOSE,9);
VAR14:=VAR5>VAR9;
VAR15:=COUNT(VAR12>=REF(VAR12,1),2)>=2;
VAR16:=MA(VOL,10)>=MA(VOL,55);
VAR17:=COUNT(CLOSE>OPEN,7)>=4;
VAR18:=VAR14 AND VAR15 AND VAR16 AND VAR17;
VAR19:=LLV(LOW,10);
VAR20:=HHV(HIGH,25);
VAR21:=EMA((CLOSE-VAR19)/(VAR20-VAR19)*4,4);
VAR22:=(LOW+HIGH+CLOSE*2)/4;
VAR23:=EMA(VAR22,14);
VAR24:=(VAR6-VAR13)/VAR13*100;
VAR25:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR26:=REF((VAR6-VAR25)/VAR25*100,1);
VAR27:=REF(VAR18,1) OR REF(VAR18,2);
VAR28:=REF(COUNT(VOL>MA(VOL,5) OR VOL>MA(VOL,20) OR VOL>MA(VOL,135) AND CLOSE>OPEN,10),1)>=6;
VAR29:=REF(VAR5>REF(VAR5,1) AND VAR9>REF(VAR9,1) AND VAR5>VAR9 AND COUNT(CLOSE>OPEN,7)>=4,1);
VAR30:=VAR5>VAR9 AND VAR9>=REF(VAR9,1);
VAR31:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND MA(CLOSE,55)>=REF(MA(CLOSE,55),1);
VAR32:=LOW<VAR6*1 AND LOW<VAR13*1.006;
VAR33:=VAR24<=1.5 OR (VAR24>1.5 AND LOW<VAR23);
VAR34:=VAR26<=1 OR (VAR26>1 AND LOW<VAR23);
VAR35:=CLOSE>DTPRICE(REF(CLOSE,1),0.09);
VAR36:=VAR27 AND VAR30 AND VAR28 AND VAR31 AND VAR32 AND VAR29 AND VAR33 AND VAR34 AND VAR35;
VAR37:=IF(REF(EXIST(REF(VAR36,1) AND HIGH>ZTPRICE(REF(LOW,1),0.04),4),1),0,1);
VAR38:=IF(NAMELIKE(55) OR NAMELIKE(56) OR NAMELIKE(10),0,1);
VAR39:=IF(CODELIKE(57),0,1);
阶段卖出:3.2,COLORCYAN;
顶部清仓:3.5,COLORGREEN;
强弱分界:1.85,DOTLINE,COLORYELLOW;
重点关注:0.5,COLORRED;
底部介入:0.2,COLORGREEN;
乖离1:VAR24,NODRAW,COLORYELLOW;
乖离2:VAR26,NODRAW,COLORYELLOW;
STICKLINE(VAR21>REF(VAR21,1),VAR21,REF(VAR21,1),3,1),COLORRED;
STICKLINE(VAR21<=REF(VAR21,1),VAR21,REF(VAR21,1),3,1),COLORGREEN;
DRAWICON(FILTER(CROSS(VAR21,重点关注),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(顶部清仓,VAR21),20),VAR21+0.02,2);
DRAWICON(FILTER(CROSS(VAR21,底部介入),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(阶段卖出,VAR21),20),VAR21+0.02,2);
DRAWNUMBER(ISLASTBAR,2.5,VAR21),COLORGREEN;
DRAWICON(FILTER(CROSS(VAR21,重点关注),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(0.5,VAR21),20),0.6,2);
STICKLINE(VAR21>REF(VAR21,1),VAR21,REF(VAR21,1),3,1),COLORRED;
STICKLINE(VAR21<=REF(VAR21,1),VAR21,REF(VAR21,1),3,1),COLORGREEN;
DRAWICON(FILTER(CROSS(VAR21,重点关注),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(顶部清仓,VAR21),20),VAR21+0.02,2);
DRAWICON(FILTER(CROSS(VAR21,底部介入),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(阶段卖出,VAR21),20),VAR21+0.02,2);
DRAWNUMBER(ISLASTBAR,2.5,VAR21),COLORGREEN;
DRAWICON(FILTER(CROSS(VAR21,重点关注),20),VAR21+0.02,1);
DRAWICON(FILTER(CROSS(0.5,VAR21),20),0.6,2);
VAR40:=VAR36 AND VAR37 AND VAR3;
超短:IF(VAR40,2.5,0),STICK,COLORMAGENTA,LINETHICK4;
VAR41:=EXIST(VAR40,5) AND EXIST(CROSS(MA(CLOSE,9),VAR6),2) AND (CLOSE>REF(CLOSE,1) AND CLOSE>OPEN) AND CLOSE>VAR6 AND LOW<MA(CLOSE,9) AND CLOSE/OPEN>1.009;
持股:FILTER(VAR41,2),NODRAW,COLORYELLOW;
DRAWICON(持股,1,23);
 
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图