通达信至间捕牛副图指标源码分享




FL:=MA(CLOSE,17)+Abs(MA(CLOSE,17)-REF(MA(CLOSE,17),1));

FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);

趋势:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORWHITE;

年线:=EMA(C,250);

A:=趋势-(EMA(C,3)-趋势);

反线:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2;

IF(趋势=FS,趋势,趋势),COLORWHITE,LINETHICK3;

追涨:EMA(COST(81),10),COLORRED,LINETHICK2;

牛熊线:EMA(COST(27),120),CIRCLEDOT;

IF( 趋势<REF(趋势,1),趋势,DRAWNULL),LINETHICK3,COLORGREEN;

IF( 趋势=REF(趋势,1),趋势,DRAWNULL),LINETHICK3,COLORRED;

IF(反线>=REF(反线,1),反线,DRAWNULL ),LINETHICK2,COLORGREEN;

上升线:=EMA(C,3);

下降线:=EMA(C,5);

中间线:=EMA(下降线,5);

VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;

VAR2:=REF(VAR1,1);{,公式源码 }

VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;

VAR4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;

VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,5);

VAR6:=IF(vol>=1.3*MA(VOL,5) AND COUNT(VAR4>=VAR5 AND VAR4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);

VAR7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;

VAR8:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;

VAR9:=IF(COUNT(VAR8<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);

DRAWICON(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR crOSS(82,VAR7),5),HIGH*1.018,2);

DRAWTEXT(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(82,VAR7),5),HIGH,'快卖'),COLORYELLOW;

DRAWTEXT(FILTER(VAR9 OR VAR6,5),LOW,'注意买入'),COLORRED;

DRAWICON(FILTER(CROSS(上升线,下降线)AND 中间线>=REF(中间线,1) AND VAR3<50,5),L*0.992,1);

TJ1:=FILTER(VAR9 OR VAR6,5);

TJ2:=FILTER(CROSS(上升线,下降线) AND 中间线>=REF(中间线,1) AND VAR3<50,5);

准确率:=TJ1 OR TJ2;

DRAWTEXT(准确率,(LOW)*(0.96),'①准');




未来函数检测结果如下:
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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