MatriksIQ Destek
Matriks Destek
Matriks Web Destek
Matriks Mobile Destek
0 beğenilme 0 beğenilmeme
133 kez görüntülendi
iyi çalışmalar yanlışlık olmasın diye aşağıda formüllerini paylaştığım alma indikatörü ve pmax indikatörlerinde:   alma indikatörü pmax si yukarı keserse al aşağı keserse sat şeklinde system tester formülü yazarmısınız. teşekkür ederim.

(sigma:=Input("Sigma",0.5,10,6);
offset:=Input("Offset",0,1,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);
alma

 

 

period:=input("ATR periodu",1,500,10);
coeff:=input("coeff",0,20,3);
MovPeriod:=input("Mov Periodu",1,500,10);
K:=MOV((H+L)/2,MovPeriod,E);
OFFSET:=coeff*ATRe(period);
STR:=K+OFFSET;
STS:=K-OFFSET;
FUB:=IF(STR<PREV OR REF(K,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(K,-1)<PREV,STS,PREV);
PMax:=IF(PREV=REF(FUB,-1) AND K<FUB,FUB,IF(PREV=REF(FUB,-1) AND K>FUB,FLB,IF(PREV=REF(FLB,-1) AND K>FLB,FLB,IF(PREV=REF(FLB,-1) AND K<FLB,FUB,FUB))));
PMax;
K
System Tester-Bağlı Emirler kategorisinde (10 puan) tarafından | 133 kez görüntülendi

1 cevap

0 beğenilme 0 beğenilmeme
merhaba,

al

sigma:=6;
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);
period:=10;
coeff:=3;
MovPeriod:=10;
K:=MOV((H+L)/2,MovPeriod,E);
OFFSET1:=coeff*ATRe(period);
STR:=K+OFFSET1;
STS:=K-OFFSET1;
FUB:=IF(STR<PREV OR REF(K,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(K,-1)<PREV,STS,PREV);
PMax:=IF(PREV=REF(FUB,-1) AND K<FUB,FUB,IF(PREV=REF(FUB,-1) AND K>FUB,FLB,IF(PREV=REF(FLB,-1) AND K>FLB,FLB,IF(PREV=REF(FLB,-1) AND K<FLB,FUB,FUB))));

cross(alma,PMax)

 

sat

sigma:=6;
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);
period:=10;
coeff:=3;
MovPeriod:=10;
K:=MOV((H+L)/2,MovPeriod,E);
OFFSET1:=coeff*ATRe(period);
STR:=K+OFFSET1;
STS:=K-OFFSET1;
FUB:=IF(STR<PREV OR REF(K,-1)>PREV,STR,PREV);
FLB:=IF(STS>PREV OR REF(K,-1)<PREV,STS,PREV);
PMax:=IF(PREV=REF(FUB,-1) AND K<FUB,FUB,IF(PREV=REF(FUB,-1) AND K>FUB,FLB,IF(PREV=REF(FLB,-1) AND K>FLB,FLB,IF(PREV=REF(FLB,-1) AND K<FLB,FUB,FUB))));

cross(PMax,alma)

 

şeklinde yazabilirsiniz

bilgilerinize
(2,440 puan) tarafından
Hoş geldiniz, Matriks Destek Platformu sizlere sorularınızın hızlıca cevaplanması için bir ortam sağlar. 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.



2,171 soru
2,028 cevap
1,841 yorum
1,500 kullanıcı