黄金分割双基点主图指标 (源码)

2012-12-09 10:05:00来源:本站整理浏览:377

N1:=5;N2:=10;M:=1;
低:N1,COLORYELLOW;
H1:N1+(N2-N1)*(M-1+0.191),DOTLINE,COLORYELLOW;
H2:N1+(N2-N1)*(M-1+0.236),DOTLINE,COLORYELLOW;
H3:N1+(N2-N1)*(M-1+0.382),DOTLINE,COLORYELLOW;
H4:N1+(N2-N1)*(M-1+0.5),DOTLINE,COLORYELLOW;
H5:N1+(N2-N1)*(M-1+0.618),DOTLINE,COLORYELLOW;
H6:N1+(N2-N1)*(M-1+0.809),DOTLINE,COLORYELLOW;
H7:N1+(N2-N1)*(M-1+1),DOTLINE,COLORYELLOW;
高:N2,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,高,'高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,'0.191'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,'0.236'),COLORBROWN;
DRAWTEXT(CURRBARSCOUNT=1,H3,'0.382'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=1,H4,'0.5'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H5,'0.618'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H6,'0.809'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,H7,'1'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,低,'低'),COLORRED;

通达信黄金分割双基点主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式