cgjj
總版主

註冊日期: Oct 2003
來 自:
文章數量: 18162 |
原碼: BKN:=barslast(IsRegularFBar or Tradedate<>ref(Tradedate,1))+1;
UN:=if(BKN<N,BKN,N);
RSV:=(C-LLV(L,UN))/(HHV(H,UN)-LLV(L,UN))*100;
K:RSV*0;
D:K;
for i=lbound(RSV) to datacount do begin
if UN[i]=1 then K[i]:=RSV[i] else K[i]:=(RSV[i]+(M1-1)*K[i-1])/M1;
if UN[i]<=2 then D[i]:=K[i] else D[i]:=(K[i]+(M2-1)*D[i-1])/M2;
end;
J:3*K-2*D;
VERTLINE(UN=1) linedot;
K實際有效值,是該盤第2根起
D實際有效值,是該盤第3根起
應用時,請要有清楚的認知~~
若看不懂,請勿應用此公式!
|
|
向版主報告此篇 |  |
|