源码如下:
{LTCDh龙头超跌好}
WR5:=100*(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5));
WR6:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6));
WR:=80-(WR5*3+WR6*2)/5;
坑:IF(WR<0,WR,0),COLOR00ff00,LINESTICK;
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*50;
中趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,
COLORYELLOW;
MA中趋势线5:EMA(中趋势线,5),COLORRED,LINETHICK2;
A5:=((C-LLV(L,89))/(HHV(H,89)-LLV(L,89)))*50;
长趋势线:(MA(3*SMA(A5,6,1)-2*SMA(SMA(A5,5,1),5,1),2)),LINETHICK2,
COLORffffff;
MA长趋势线5:EMA(长趋势线,5),COLORff9900,LINETHICK2;
v50:50,COLORRED;
v40:40,COLORFF99FF;
v25:25,COLOR4050AA;
v10:10,COLORGREEN;
v0:0,COLORFFA2AF;
|
|
|
|
|