通达信立桩狙击指标公式

VAR1:=EMA(COST(99),10);
VAR2:=LLVBARS(LOW,60);
VAR3:=FINDHIGHBARS(HIGH,VAR2+1,60,1);
VAR4:=CURRBARSCOUNT=CONST(VAR3)+1;
VAR5:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR6:=(8*VAR5+7*REF(VAR5,1)+6*REF(VAR5,2)+5*REF(VAR5,3)+4*REF(VAR5,4)+3*REF(VAR5,5)+2*REF(VAR5,6)+REF(VAR5,8))/36;
VAR7:=vol=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR6;
VAR8:=FILTER(VAR7,5);
VAR9:=IF(BARSLAST(VAR8)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(VAR8)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(VAR8)=3 AND CLOSE>REF(HIGH,3),1,0)));
VAR10:=VAR9=1;
VAR11:=IF(BARSLAST(VAR8)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(VAR8)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(VAR8)=3 AND CLOSE>REF(LOW,3),1,0)));
VAR12:=VAR11=1 AND VAR10;
立桩:VAR8,NODRAW;
狙击:FILTER(VAR12,3) AND CLOSE>VAR1 AND CLOSE>VAR4,NODRAW,COLORMAGENTA;
STICKLINE(CLOSE>VAR1,0,0.18,5,0),COLORRED;
STICKLINE(狙击,0,1,2,0),COLORMAGENTA;
STICKLINE(立桩,0,0.5,2,0),COLORLIRED;




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

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

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