- UID
- 2
- 积分
- 2874674
- 威望
- 1387366 布
- 龙e币
- 1487308 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
既单基点黄静分割后,模拟通达信画线工具自编了双基点的黄金分割,神奇还是巧合,找股票试一试就知道,均以前一波的高低点为双基点,参数N为低点,参数M为高点。欢迎讨论!
参数设置{N1:0 9999 5;N2:0 9999 10;M:0 100 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;
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|