Artan

Artan Hisseler

Azalan

Azalan Hisseler

İşlem

0,00 18:10
0,00 18:10
0,00 18:10
0,00 18:10
0,00 18:10
Tüm Hisseler
Arama sonucu : 2019 madde; 1 - 8 arası.

Konu: Matriks Formülleri

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. { User input }
    pds:=Input("Use Highest/Lowest of past x days",1,260,1);
    { Message }
    message:=Input("(Plot on intraday charts)",0,0,0);
    { Day's start }
    dStart:=DayOfMonth()<>Ref(DayOfMonth(),-1) OR Cum(1)=2;
    { Previous x Days' High }
    Hd:=HighestSince(pds,dStart,H);
    Hd:=ValueWhen(1,dStart,ValueWhen(2,1,Hd));
    Hd:=ValueWhen(1,Hd>0,Hd);
    { Previous x Days' Low }
    Ld:=LowestSince(pds,dStart,L);
    Ld:=ValueWhen(1,dStart,ValueWhen(2,1,Ld));
    Ld:=ValueWhen(1,Ld>0,Ld);
    { Previous Day's Close }
    Cd:=ValueWhen(1,dStart,ValueWhen(2,1,C));
    Cd:=ValueWhen(1,Cd>0,Cd);
    { Pivot }
    Pivot:=(Hd+Ld+Cd)/3; {Plot in Green bold}
    { Support }
    S1:=2*Pivot-Hd; {Blue}
    S2:=Pivot-(Hd-Ld); {Red}
    S3:=2*Pivot-(2*Hd-Ld); {dark Green}
    { Resistance }
    R1:=2*Pivot-Ld; {Blue}
    R2:=Pivot+(Hd-Ld); {Red}
    R3:=2*Pivot+(Hd-2*Ld); {dark Green}
    Q1:=(HD+LD)/2;
    Q2:=2*Pivot-Q1;


    Int(Q1/0.025+0.50)*0.025;Int(Pivot/0.025+0.50)*0.025;Int(Q2/0.025+0.50)*0.025


    Adsız.jpg

  2.  Alıntı Originally Posted by forman83 Yazıyı Oku
    { User input }
    pds:=Input("Use Highest/Lowest of past x days",1,260,1);
    { Message }
    message:=Input("(Plot on intraday charts)",0,0,0);
    { Day's start }
    dStart:=DayOfMonth()<>Ref(DayOfMonth(),-1) OR Cum(1)=2;
    { Previous x Days' High }
    Hd:=HighestSince(pds,dStart,H);
    Hd:=ValueWhen(1,dStart,ValueWhen(2,1,Hd));
    Hd:=ValueWhen(1,Hd>0,Hd);
    { Previous x Days' Low }
    Ld:=LowestSince(pds,dStart,L);
    Ld:=ValueWhen(1,dStart,ValueWhen(2,1,Ld));
    Ld:=ValueWhen(1,Ld>0,Ld);
    { Previous Day's Close }
    Cd:=ValueWhen(1,dStart,ValueWhen(2,1,C));
    Cd:=ValueWhen(1,Cd>0,Cd);
    { Pivot }
    Pivot:=(Hd+Ld+Cd)/3; {Plot in Green bold}
    { Support }
    S1:=2*Pivot-Hd; {Blue}
    S2:=Pivot-(Hd-Ld); {Red}
    S3:=2*Pivot-(2*Hd-Ld); {dark Green}
    { Resistance }
    R1:=2*Pivot-Ld; {Blue}
    R2:=Pivot+(Hd-Ld); {Red}
    R3:=2*Pivot+(Hd-2*Ld); {dark Green}
    Q1:=(HD+LD)/2;
    Q2:=2*Pivot-Q1;


    Int(Q1/0.025+0.50)*0.025;Int(Pivot/0.025+0.50)*0.025;Int(Q2/0.025+0.50)*0.025


    Adsız.jpg
    İyi Akşamlar, bu indikatorü denemek istiyorum ancak değişken tanımlama hatası mesajı alıyorum....yardımcı olabilecek arkadaş var mı ?

  3.  Alıntı Originally Posted by Floris Yazıyı Oku
    İyi Akşamlar, bu indikatorü denemek istiyorum ancak değişken tanımlama hatası mesajı alıyorum....yardımcı olabilecek arkadaş var mı ?
    pds:=1;
    message:=0;
    dStart:=DayOfMonth()<>Ref(DayOfMonth(),-1) OR Cum(1)=2;
    Hd:=HighestSince(pds,dStart,H);
    Hd1:=ValueWhen(1,dStart,ValueWhen(2,1,Hd));
    Hd2:=ValueWhen(1,Hd1>0,Hd1);
    Ld:=LowestSince(pds,dStart,L);
    Ld1:=ValueWhen(1,dStart,ValueWhen(2,1,Ld));
    Ld2:=ValueWhen(1,Ld1>0,Ld1);
    Cd:=ValueWhen(1,dStart,ValueWhen(2,1,C));
    Cd1:=ValueWhen(1,Cd>0,Cd);
    Pivot:=(Hd2+Ld2+Cd)/3;
    S1:=2*Pivot-Hd2;
    S2:=Pivot-(Hd2-Ld2);
    S3:=2*Pivot-(2*Hd2-Ld2);
    R1:=2*Pivot-Ld2;
    R2:=Pivot+(Hd2-Ld2);
    R3:=2*Pivot+(Hd2-2*Ld2);
    Q1:=(HD2+LD2)/2;
    Q2:=2*Pivot-Q1;


    Int(Q1/0.025+0.50)*0.025;Int(Pivot/0.025+0.50)*0.025;Int(Q2/0.025+0.50)*0.025
    algoritma
    Sessiz olursan daha çok şey Duyarsın.

Yer İmleri

Yer İmleri

Gönderi Kuralları

  • Yeni konu açamazsınız
  • Konulara cevap yazamazsınız
  • Yazılara ek gönderemezsiniz
  • Yazılarınızı değiştiremezsiniz
  •