首页 > > 详细

通达信强势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;
联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。