通达信强势N型指标公式

YM1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);
YM2:=REF(C,1)<REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)<1.05 AND REF(C,1)<REF(C,3);
YM3:=L/REF(O,3)<1.03 AND C>REF(C,3);
YM4:=MA((2*CLOSE+HIGH+LOW)/4,5);
YM5:=YM4*(200-102)/100;
YM6:=REF(CLOSE,2)/REF(CLOSE,1)>=1.04 AND CLOSE>REF(HIGH,1) AND OPEN>REF(LOW,1);
YM7:=YM5>REF(YM5,1);
YM8:=IF(CODELIKE('300'),0,1);
YM9:=IF(NAMELIKE('S'),0,1);
YM10:=IF(NAMELIKE('*'),0,1);
YM11:=DYNAINFO(17)>0;
YM12:=YM8 AND YM9 AND YM10 AND YM11;
N型:YM1 AND YM2 AND YM3,COLORRED,NODRAW;
STICKLINE(N型,0,1,2,0),COLORRED;
N型转向:YM6 AND YM7 AND YM12,COLORYELLOW,NODRAW;
STICKLINE(N型转向,0,1,2,0),COLORYELLOW;
YM13:=HIGH=HHV(HIGH,20);
YM14:=REF(HIGH,BARSLAST(YM13));
YM15:=IF(HIGH<=REF(HIGH,1) AND REF(HIGH,1)>=REF(HIGH,2),REF(HIGH,1),REF(REF(HIGH,1),BARSLAST(HIGH<=REF(HIGH,1) AND REF(HIGH,1)>=REF(HIGH,2))));
YM16:=(C>=ZTPRICE(REF(CLOSE,1),0.1)) OR (C/REF(C,1)>1.095 && C=H);
YM17:=BARSLAST(YM16=1);
YM18:=L-REF(H,1)>=0.01;
YM19:=BARSLAST(crOSS(COUNT(YM18,30),0.5));
YM20:=EVERY(L-REF(H,YM19+1)>=0.01,YM19) AND L<REF(L,YM19) AND C>O;
YM21:=BARSLAST(CROSS(COUNT(YM18,30),1.5));
YM22:=EVERY(L-REF(H,YM21+1)>=0.01,YM21) AND L<REF(L,YM21) AND C>O;
YM23:=BARSLAST(CROSS(COUNT(YM18,30),2.5));
YM24:=EVERY(L-REF(H,YM23+1)>=0.01,YM23) AND L<REF(L,YM23) AND C>O;
YM25:=BARSLAST(CROSS(COUNT(YM18,30),3.5));
YM26:=EVERY(L-REF(H,YM25+1)>=0.01,YM25) AND L<REF(L,YM25) AND C>O;
YM27:=BARSLAST(CROSS(COUNT(YM18,30),4.5));
YM28:=EVERY(L-REF(H,YM27+1)>=0.01,YM27) AND L<REF(L,YM27)AND C>O;
YM29:=BARSLAST(CROSS(COUNT(YM18,30),5.5));
YM30:=EVERY(L-REF(H,YM29+1)>=0.01,YM29) AND L<REF(L,YM29)AND C>O;
YM31:=BARSLAST(CROSS(COUNT(YM18,30),6.5));
YM32:=EVERY(L-REF(H,YM31+1)>=0.01,YM31) AND L<REF(L,YM31)AND C>O;
YM33:=BARSLAST(CROSS(COUNT(YM18,30),7.5));
YM34:=EVERY(L-REF(H,YM33+1)>=0.01,YM33) AND L<REF(L,YM31)AND C>O AND REF(YM17,1)>=2;
N型回踩:(YM20 OR YM22 OR YM24 OR YM26 OR YM28 OR YM30 OR YM32 OR YM34) AND REF(YM17,1)<=20,COLOR00FF00,NODRAW;
STICKLINE(N型回踩,0,1,2,0),COLOR00FF00;
YM35:=IF(DYNAINFO(17)>0 AND DYNAINFO(4)>0,1,0);
YM36:=IF(NAMELIKE(1),0,1);
YM37:=IF(NAMELIKE(2),0,1);
YM38:=IF(INBLOCK(3) OR INBLOCK(4),0,1);
YM39:=BARSCOUNT(CLOSE)>28;
YM40:=IF(CODELIKE(5),0,1);
YM41:=FINANCE(33)>0;
YM42:=YM35 AND YM36 AND YM37 AND YM38 AND YM41 AND YM39 AND YM40;
YM43:=MA(CLOSE,20);
YM44:=YM43+2*STD(CLOSE,20);
YM45:=CROSS(CLOSE,YM44);
GS:=CROSS(YM44,CLOSE);
YMKM:=REF(COUNT(CLOSE<YM44,3)=3,1);
N型突破:COUNT(YM45,20)=2 AND COUNT(GS,20)=1 AND YMKM AND YM45 AND YM42,COLOR808080,NODRAW;
STICKLINE(N型突破,0,1,2,0),COLOR808080;
N型强势突破:REF(HIGH,1)<YM15 AND HIGH>YM15 AND vol>1000 AND REF(CLOSE,1)<REF(YM14,2) AND CLOSE>REF(YM14,1),COLORMAGENTA,NODRAW;
STICKLINE(N型强势突破,0,1,2,0),COLORMAGENTA;



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

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

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