Matriks Destek ve Yardım Platformu

Matriks Ürünleri ile ilgili tüm sorularınız için bizlere buradan ulaşabilirsiniz. Daha önce sorulan soruları ve verilen cevapları ilgili sekmelerden ve arama üzerinden inceleyebilirsiniz. Sağ taraftaki kategoriler üzerinden İlgilendiğiniz özelliklerle ilgili soruları filtreleyebilirsiniz. Soru ve cevapları sosyal medyada paylaşabilirsiniz. Sorduğunuz ve cevapladığınız soruların ve yorumlarınızın aldığı oylar üzerinden puan kazanırsınız. Puan sistemine bağlı kampanyamızla ücretsiz kullanım avantajlarından faydalanabilirsiniz.

1

Arnaud Legoux Moving Average (ALMA) İndikatörü 7 ve 9 günlük periyot

Soruldu
Görüntülenme
2.271 görüntülenme
Durum
Çözüldü

Merhabalar;

1)alma indikatörünün formülünü matrikse kaydettim fakat bana sadece 7 ve 9 günlük periyot lazım. periyotunu 7 ve 9 olarak değiştiremedim.

2) Bunu yapmakta ki maksadım son barda alma 7 nin alma9 u yukarı kestiği hisseleri bulabileceğim bir tarama oluşturmak!! bu taramanın formülünü yazabilmek benim için daha önemli

yardımcı olarabilirseniz gerçekten çok sevinirim

Paylaş

1 Cevap

1

Kabul edilen cevap

Merhabalar,

indikatör hali

sigma:=7;
offset:=0.85;
w0:= Exp(-Power(0-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w1:= Exp(-Power(1-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w2:= Exp(-Power(2-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w3:= Exp(-Power(3-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w4:= Exp(-Power(4-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w5:= Exp(-Power(5-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w6:= Exp(-Power(6-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w7:= Exp(-Power(7-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w8:= Exp(-Power(8-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
s0:= w0*Ref(C,-8);
s1:= w1*Ref(C,-7);
s2:= w2*Ref(C,-6);
s3:= w3*Ref(C,-5);
s4:= w4*Ref(C,-4);
s5:= w5*Ref(C,-3);
s6:= w6*Ref(C,-2);
s7:= w7*Ref(C,-1);
alma:=If((w0+w1+w2+w3+w4+w5+w6+w7+w8)>0,(s0+s1+s2+s3+s4+s5+s6+s7+w8*C)/(w0+w1+w2+w3+w4+w5+w6+w7+w8),C);
sigmax:=9;
offsetx:=0.85;
w0x:= Exp(-Power(0-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w1x:= Exp(-Power(1-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w2x:= Exp(-Power(2-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w3x:= Exp(-Power(3-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w4x:= Exp(-Power(4-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w5x:= Exp(-Power(5-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w6x:= Exp(-Power(6-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w7x:= Exp(-Power(7-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w8x:= Exp(-Power(8-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
s0x:= w0x*Ref(C,-8);
s1x:= w1x*Ref(C,-7);
s2x:= w2x*Ref(C,-6);
s3x:= w3x*Ref(C,-5);
s4x:= w4x*Ref(C,-4);
s5x:= w5x*Ref(C,-3);
s6x:= w6x*Ref(C,-2);
s7x:= w7x*Ref(C,-1);
almax:=If((w0x+w1x+w2x+w3x+w4x+w5x+w6x+w7x+w8x)>0,(s0x+s1x+s2x+s3x+s4x+s5x+s6x+s7x+w8x*C)/(w0x+w1x+w2x+w3x+w4x+w5x+w6x+w7x+w8x),C);
alma;almax

 

alma7 nin alma 9 u kesmesi

sigma:=7;
offset:=0.85;
w0:= Exp(-Power(0-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w1:= Exp(-Power(1-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w2:= Exp(-Power(2-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w3:= Exp(-Power(3-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w4:= Exp(-Power(4-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w5:= Exp(-Power(5-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w6:= Exp(-Power(6-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w7:= Exp(-Power(7-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
w8:= Exp(-Power(8-ROUND(offset*8-0.5),2)/(2*Power(9/sigma,2)));
s0:= w0*Ref(C,-8);
s1:= w1*Ref(C,-7);
s2:= w2*Ref(C,-6);
s3:= w3*Ref(C,-5);
s4:= w4*Ref(C,-4);
s5:= w5*Ref(C,-3);
s6:= w6*Ref(C,-2);
s7:= w7*Ref(C,-1);
alma:=If((w0+w1+w2+w3+w4+w5+w6+w7+w8)>0,(s0+s1+s2+s3+s4+s5+s6+s7+w8*C)/(w0+w1+w2+w3+w4+w5+w6+w7+w8),C);
sigmax:=9;
offsetx:=0.85;
w0x:= Exp(-Power(0-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w1x:= Exp(-Power(1-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w2x:= Exp(-Power(2-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w3x:= Exp(-Power(3-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w4x:= Exp(-Power(4-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w5x:= Exp(-Power(5-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w6x:= Exp(-Power(6-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w7x:= Exp(-Power(7-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
w8x:= Exp(-Power(8-ROUND(offsetx*8-0.5),2)/(2*Power(9/sigmax,2)));
s0x:= w0x*Ref(C,-8);
s1x:= w1x*Ref(C,-7);
s2x:= w2x*Ref(C,-6);
s3x:= w3x*Ref(C,-5);
s4x:= w4x*Ref(C,-4);
s5x:= w5x*Ref(C,-3);
s6x:= w6x*Ref(C,-2);
s7x:= w7x*Ref(C,-1);
almax:=If((w0x+w1x+w2x+w3x+w4x+w5x+w6x+w7x+w8x)>0,(s0x+s1x+s2x+s3x+s4x+s5x+s6x+s7x+w8x*C)/(w0x+w1x+w2x+w3x+w4x+w5x+w6x+w7x+w8x),C);
cross(alma,almax)

 

 

iyi çalışmalar
BağlantıBayrakladüzenlendi · serkanceSibelyMatriks Destek42.148

Yorumlar (1)

Cevabınız

Cevap yazmak için giriş yapın.Giriş yapKayıt ol