請教stochslowd
請教一下e-leader中stochslowd(18,6,6),要轉成TS的話,應該是轉成那個函數?TS中有SlowDClassic,但是參數如何對應? {:4_121:}大大對不起,我不懂,如果我懂我一定第一個告訴您。看就知我坐沙發 {:4_162:} 這是從ELEADER中看到的:
Name : Stochastic Slow %D
Syntax : stochslowd(k_period, slowk_period, slowd_period)
Example : stochslowd(5,3,3)
Overview : The Slow Stochastic charts the daily stochastic as well as a five-day moving average of a 12-day interval. This smoothing of the Stochastic Oscillator is an attempt to reduce volatility and improve signal accuracy. 所以在TS中是SlowDClassic(18,6)嗎?或是SlowDClassic(6,18)?
還是不太了解如何對應參數,因為eleader有3個參數,但是TS只有2個參數。
我看TS中KD指標的寫法是
Input: Length(5), KAdjust(3),DAdjust(3), OverBought(80), OverSold(20);
Variables: KAdjusted(0), DAdjusted(0);
KAdjusted = SlowKClassic(KAdjust, Length);
DAdjusted = SlowDClassic(DAdjust, Length);
IF CurrentBar > Length Then Begin
Plot1(KAdjusted, "%K");
Plot2(DAdjusted, "%D");
End; 太難了也看不懂我看算了
告退了 回復 4# comewish
Length(18), KAdjust(6),DAdjust(6) 本帖最後由 samchen80 於 11-5-16 12:23 AM 編輯
ELEADER內建SLOW KD可以輸入三個參數,TS就看你的KD指標程式碼怎麼定義,可以 INPUT幾個參數囉!
我看TS中KD指標的寫法是
Input: Length(5), KAdjust(3),DAdjust(3), OverBought(80), OverSold(20);
Variables: KAdjusted(0), DAdjusted(0);
KAdjusted = SlowKClassic(KAdjust, Length);
DAdjusted = SlowDClassic(DAdjust, Length);
IF CurrentBar > Length Then Begin
Plot1(KAdjusted, "%K");
Plot2(DAdjusted, "%D");
End;
這個可以輸入五個參數:5(RSV),3(K),3(D) (快速指標)80,20只是上下界線給你參考而已啦!
參數改成 Length(18), KAdjust(6),DAdjust(6) 就好了!
stochslowd(18,6,6),ELEADER指的是D線>>18(RSV),6(K),6(D)
頁:
[1]