主题459
精华0
阅读权限30
注册时间2015-4-1
在线时间0 小时
最后登录2017-1-4
美元0
爱心果6319
贡献0
- 积分
- 7959
刺使
- 听众
- 3
|
30爱心果
{N 1 100 9
M 1 100 3}
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:=EMA(RSV,M);
D:MA(K,M);
STICKLINE(K<D,(K-D)*0.85+D,(K-D)+D,0.5,0),COLOR00F000;
STICKLINE(K<D,(K-D)*0.65+D,(K-D)*0.8+D,1,0),COLOR00E000;
STICKLINE(K<D,(K-D)*0.45+D,(K-D)*0.6+D,1.5,0),COLOR008000;
STICKLINE(K<D,(K-D)*0.25+D,(K-D)*0.4+D,2,0),COLOR006000;
STICKLINE(K<D,D,(K-D)*0.2+D,2.5,0),COLOR004000;
STICKLINE(K>D,(K-D)*0.85+D,(K-D)+D,0.5,0),COLOR0080FF;
STICKLINE(K>D,(K-D)*0.65+D,(K-D)*0.8+D,1,0),COLOR0060FF;
STICKLINE(K>D,(K-D)*0.45+D,(K-D)*0.6+D,1.5,0),COLOR0040FF;
STICKLINE(K>D,(K-D)*0.25+D,(K-D)*0.4+D,2,0),COLOR0020FF;
STICKLINE(K>D,D,(K-D)*0.2+D,2.5,0),COLOR0000FF;
要求由绿变为红为选股 |
最佳答案
查看完整内容
N:=9;
M:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:=EMA(RSV,M);
D:=MA(K,M);
BBY:CROSS(K,D);
|