通达信黄金分割-单基点主图指标,贡献自编指标
参数设置{N:0 9999 5; M:1 100 1; 高:-1 0 0}
低:N,COLORYELLOW;
H1:N*M*(高+1.191),DOTLINE,COLORYELLOW;
H2:N*M*(高+1.236),DOTLINE,COLORYELLOW;
H3:N*M*(高+1.382),DOTLINE,COLORYELLOW;
H4:N*M*(高+1.5),DOTLINE,COLORYELLOW;
H5:N*M*(高+1.618),DOTLINE,COLORYELLOW;
H6:N*M*(高+1.809),DOTLINE,COLORYELLOW;
H7:N*M*(高+2),DOTLINE,COLORYELLOW;
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;