Originally Posted by
JordanBelfort
Merhaba
Matriks kodu aşağıdaki gibi olan, Anıl Özekşi'nin Stochastic OTT (TTI) indikatörünü ideale çevirmeye çalışıyorum. Aşağıdaki gibi yazdım fakat yapamadım. İdeale yeni alışıyorum, nerede hata yaptığımı da bulamadım. Yardımcı olabilir misiniz? Teşekkürler
X1:=500;
X2:=300;
X3:=0.3;
STOSK(X1,X2,111,VAR)+1000;
OTT(STOSK(X1,X2,111,VAR)+1000,2,X3)
-----
int PD1 = 500;
int PD2 = 300;
float PD3 = 0.3f;
var STOSK = Sistem.StochasticSlow(PD1, PD2);
var SOTT = Sistem.TTI(STOSK, 2, PD3, "Variable");
Sistem.Cizgiler[0].Deger = STOSK;
Sistem.Cizgiler[1].Deger = SOTT;