参数还是参数,对前期副图指标的参数优化
STICKLINE(C>0,0,0,10,0),COLORWHITE;
STICKLINE(C>0,20,20,5,0),COLORCYAN;
STICKLINE(C>0,40,40,10,0),COLORBLUE;
STICKLINE(C>0,-20,-20,5,0),COLOR00CCCC;
STICKLINE(C>0,-40,-40,10,0),COLORRED;
WR1:=100*(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21));
WR2:=100*(HHV(H,41)-C)/(HHV(H,41)-LLV(L,41));
WR3:=100*(HHV(H,62)-C)/(HHV(H,62)-LLV(L,62));
WR4:=100*(HHV(H,81)-C)/(HHV(H,81)-LLV(L,81));
WR5:=100*(HHV(H,102)-C)/(HHV(H,102)-LLV(L,102));
WR6:=100*(HHV(H,123)-C)/(HHV(H,123)-LLV(L,123));
WR0:=(WR1+WR2+WR3+WR4+WR5+WR6)/6-50;
K:=sMA(WR0,21,1);
D:=sma(sMA(WR0,21,1),15,1);
知萌:3*K-2*D,COLORYELLOW;
K1:=sMA(WR0,3,1);
D1:=sma(sMA(WR0,3,1),3,1);
知萌1:3*K1-2*D1,COLORGRAY;
- 上一篇:走强金牛(通达信 指标 源码) 2015/11/22
- 下一篇:老鸭头主图副图 选股 源码 2015/11/22