公式源码:
{N 1 100 9
M 1 100 3}
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;
|