通达信精准逃顶主图指标 暂避锋芒 不再担心被套牢 源码附图

VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR3:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;
VAR4:=CROSS(80,VAR3);
VAR5:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR5-MA(VAR5,14))*1000/(15*AVEDEV(VAR5,14));
VAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=3*VAR8-2*VAR9;
VAR11:=REF(VAR6,1)>90 AND VAR6<REF(VAR6,1);
VAR12:=REF(VAR10,1)>90 AND VAR10<REF(VAR10,1);
VAR13:=REF(VAR2,1)>70 AND VAR2<REF(VAR2,1);
VAR14:=COUNT(VAR11,5) AND COUNT(VAR12,5) AND COUNT(VAR13,5);
VAR15:=CROSS(VAR14,0.5);
VAR16:=REF(VAR6,1)<-100 AND VAR6>REF(VAR6,1);
VAR17:=REF(VAR10,1)<20 AND VAR10>REF(VAR10,1);
VAR18:=REF(VAR2,1)<20 AND VAR2>REF(VAR2,1);
VAR25:=COUNT(VAR16,5) AND COUNT(VAR17,5) AND COUNT(VAR18,5);
VAR26:=CROSS(VAR25,0.5);
DRAWICON(VAR4,H*1.005,15);
DRAWICON(VAR15,H*1.005,2);
DRAWICON(VAR26,L*0.991,9);
中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF951F,DOTLINE,LINETHICK2;
DRAWTEXT_FIX(C>O,0,0.07,0,'VAR25:VAR26'),COLORMAGENTA;
IF(中>REF(中,1),中,DRAWNULL),COLORRED,DOTLINE,LINETHICK2;
DRAWNUMBER(ISLASTBAR,HHV(C,5)*0.95*1.015,HHV(C,5)*0.95),COLORWHITE;
STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,50,0),COLORWHITE;
DRAWTEXT(ISLASTBAR,HHV(C,5)*0.95,'止损价位'),COLORWHITE;


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

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

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

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