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);
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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。