黄金分割单基点主图指标 (源码)
2012-12-09 10:05:00来源:本站整理浏览:311
N:=5;M:=1;高:=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;
- 上一篇公式:黄金分割双基点主图指标 (源码)
- 下一篇公式:十战七胜主图指标 (源码)