黄金分割的选股代码
2016-6-11 21:24:38点击:
高1:=IF(CURRBARSCOUNT<=90,REFDATE(HHV(H,90),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低1:=IF(CURRBARSCOUNT<=90,REFDATE(LLV(L,90),DATE),DRAWNULL)COLORFF00FF;
分割点11:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.382,DRAWNULL)COLORFF00FF,DOTLINE;
分割点21:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.618,DRAWNULL)COLORFF00FF,DOTLINE;
高:=IF(CURRBARSCOUNT<=30,REFDATE(HHV(H,30),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低:=IF(CURRBARSCOUNT<=30,REFDATE(LLV(L,30),DATE),DRAWNULL),COLORWHITE;
分割点1:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.382,DRAWNULL),COLORWHITE,DOTLINE;
分割点2:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.618,DRAWNULL),COLORWHITE,DOTLINE;
选股:BARSLAST(C<分割点2)=1 AND BARSLAST(C<分割点21) ;
低1:=IF(CURRBARSCOUNT<=90,REFDATE(LLV(L,90),DATE),DRAWNULL)COLORFF00FF;
分割点11:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.382,DRAWNULL)COLORFF00FF,DOTLINE;
分割点21:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.618,DRAWNULL)COLORFF00FF,DOTLINE;
高:=IF(CURRBARSCOUNT<=30,REFDATE(HHV(H,30),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低:=IF(CURRBARSCOUNT<=30,REFDATE(LLV(L,30),DATE),DRAWNULL),COLORWHITE;
分割点1:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.382,DRAWNULL),COLORWHITE,DOTLINE;
分割点2:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.618,DRAWNULL),COLORWHITE,DOTLINE;
选股:BARSLAST(C<分割点2)=1 AND BARSLAST(C<分割点21) ;
- 上一篇:没有啦
- 下一篇:珍藏多年的好指标--涨涨涨(源码 副图 通达信 贴图) 2016/6/11