通达信黄金分割双基点主图指标公式
2020/5/7 19:22:26
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;
投 股票网 www.t ou18.cn
股市公式下载推荐