Your Welcome to Borsa Okulu
Nick:  
Pass:     
Kayıt Ol Yardım Üye Listesi Yeni Mesajlara Bak Bugünkü Mesajlara Bak

Yeni Cevap 
Matriks İndikatör formülleri - Reversal Engineering RSI
Yazar Mesaj
BorsaOkulu Çevrimdışı
Administrator
*******

Mesajlar: 1.172
Katılım: Nov 2012
Mesaj: #1
Matriks İndikatör formülleri - Reversal Engineering RSI
{Reverse Engineered RSI - High}
valuehigh:=Input("RSI Value High",1,100,70);
wildperhigh:=Input("Wilder Time Periods High",1,100,14);
expperhigh:=2*wildperhigh-1;

{Average Up Close-High}
auchigh:=Mov(If(C>Ref(C,-1),C-Ref(C,-1),0),expperhigh,E);

{Average Down Close-High}
adchigh:=Mov(If(Ref(C,-1)>C,Ref(C,-1)-C,0),expperhigh,E);

xhigh:=(wildperhigh-1)*(adchigh*valuehigh/(100-valuehigh)-auchigh);
revengrsihigh:=If(xhigh>=0,C+xhigh,C+xhigh*(100-valuehigh)/valuehigh);

{Reverse Engineered RSI-Mid}
valuemid:=Input("RSI Value Mid",1,100,50);
wildpermid:=Input("Wilder Time Periods Mid",1,100,14);
exppermid:=2*wildpermid-1;

{Average Up Close-Mid}
aucmid:=Mov(If(C>Ref(C,-1),C-Ref(C,-1),0),exppermid,E);

{Average Down Close-Mid}
adcmid:=Mov(If(Ref(C,-1)>C,Ref(C,-1)-C,0),exppermid,E);

xmid:=(wildpermid-1)*(adcmid*valuemid/(100-valuemid)-aucmid);
revengrsimid:=If(xmid>=0,C+xmid,C+xmid*(100-valuemid)/valuemid);

{Reverse Engineered RSI-Low}
valuelow:=Input("RSI Value Low",1,100,30);
wildperlow:=Input("Wilder Time Periods Low",1,100,14);
expperlow:=2*wildperlow-1;

{Average Up Close-Low}
auclow:=Mov(If(C>Ref(C,-1),C-Ref(C,-1),0),expperlow,E);

{Average Down Close-Low}
adclow:=Mov(If(Ref(C,-1)>C,Ref(C,-1)-C,0),expperlow,E);

xlow:=(wildperlow-1)*(adclow*valuelow/(100-valuelow)-auclow);
If(xlow>=0,C+xlow,C+xlow*(100-valuelow)/valuelow);
revengrsihigh;
revengrsimid


[Resim: 12.30.2012-16.29.png]
12-30-2012 05:30 PM
Bu kullanıcının gönderdiği tüm mesajları bul Bu mesaji bir cevapta alıntı yap
Yeni Cevap 




Bu konuyu görüntüleyen kullanıcı(lar): 1 Ziyaretçi



Borsa Okulu © 2018.