【资料名称】:参数还是参数,对前期副图指标的参数优化,贴图说明介绍【资料描述】:
参数还是参数,对前期副图指标的参数优化,贴图说明
参数不同效果就是不一样,下面贴图中的灰色线是优化前的源码,黄色线是优化参数后的源码,在下载时请把后面带1的部分删除。用法说明,当黄色线下穿了哪一条线在它上穿这条线时卖出,反之就是买入的技巧。
此源码为通用源码。
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;
gd35086
【下载地址隐藏】: 点:回复可见地址