通达信机构探测指标公式

VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),2,1)/SMA(Abs(CLOSE-VAR1),2,1)*100;
VAR3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
生命线:1.56,COLORYELLOW;
强势线:3,COLORRED;
大牛线:6,DOTLINE,COLORMAGENTA;
VAR4:=IF(CLOSE<=OPEN,CLOSE,OPEN);
VAR5:=(VAR4-LOW)/LOW*100;
VAR6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR8:=(CLOSE-OPEN)/OPEN*100;
VAR9:=IF(CLOSE>=OPEN,CLOSE,OPEN);
VAR10:=(HIGH-VAR9)/VAR9*100;
VAR11:=VAR10;
VAR12:=VAR5;
VAR13:=VAR8+VAR10;
VAR14:=VAR8+VAR5;
VAR15:=VAR10+VAR5;
VAR16:=VAR6;
VAR17:=VAR7;
VAR18:=MAX(MAX(MAX(MAX(MAX(MAX(VAR15,VAR16),VAR14),VAR13),VAR12),VAR11),VAR17)*1.2;
STICKLINE(VAR18>=3,VAR18,3,1.5,0),COLORMAGENTA;
STICKLINE(VAR18>=3,3,0,1.5,0),COLORRED;
STICKLINE(VAR18>=1.56 AND VAR18<3 AND VAR8>=0,VAR18,0,1.5,1),COLORRED;
STICKLINE(VAR18>=1.56 AND VAR18<3 AND VAR8<0,VAR18,0,1.5,1),COLORGREEN;
STICKLINE(VAR18<1.56 AND VAR8>=0,0,VAR18,1.5,1),COLORWHITE;
STICKLINE(VAR18<1.56 AND VAR8<0,0,VAR18,1.5,0),COLORGREEN;
VAR19:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
VAR20:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
VAR21:=(HIGH-REF(CLOSE,4))/REF(CLOSE,4)*100;
VAR22:=(HIGH-REF(CLOSE,3))/REF(CLOSE,3)*100;
VAR23:=VAR19>=25 OR VAR20>=23 OR VAR22>=23 AND COUNT(CLOSE=HIGH AND VAR6>=9.9 AND HIGH>LOW*1.03,3)>=2 AND COUNT(VAR18>=5,4)>=4;
VAR24:=COUNT(VAR23>0,10)=1 AND VAR23>0;
DRAWTEXT(VAR24,5,7),COLORYELLOW;




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

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

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

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