Artan
Azalan
Ýþlem
BIST 30
BIST 50
BIST 100
NASDAQ 100
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
27,50 10% 100,59 Mn 23,70 / 27,50
67,65 10% 515,04 Mn 61,70 / 67,65
11,00 10% 3,88 Mn 9,80 / 11,00
1,65 10% 54,88 Mn 1,52 / 1,65
14,75 9.99% 88,63 Mn 13,54 / 14,75
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
10,53 -10% 2,12 Mr 10,53 / 11,55
20,40 -9.97% 202,36 Mn 20,40 / 23,86
402,25 -9.96% 524,05 Mn 402,25 / 448,00
260,25 -9.95% 1,61 Mr 260,25 / 283,50
4,58 -9.84% 46,70 Mn 4,58 / 4,58
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
325,00 0.46% 12,23 Mr 319,00 / 326,25
3,16 6.4% 11,83 Mr 2,98 / 3,20
135,00 8.09% 10,01 Mr 118,60 / 135,00
221,50 6.54% 9,91 Mr 209,00 / 225,00
269,00 2.28% 7,40 Mr 266,00 / 272,50
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
19,11 -0.47% 829,86 Mn 18,66 / 19,26
77,90 -1.7% 7,25 Mr 77,60 / 79,15
392,00 -1.13% 7,21 Mr 390,25 / 404,50
221,50 6.54% 9,91 Mr 209,00 / 225,00
760,00 -0.39% 2,81 Mr 747,00 / 761,50
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
19,11 -0.47% 829,86 Mn 18,66 / 19,26
77,90 -1.7% 7,25 Mr 77,60 / 79,15
93,00 0.65% 539,82 Mn 91,90 / 93,65
117,20 1.74% 879,06 Mn 112,40 / 119,90
392,00 -1.13% 7,21 Mr 390,25 / 404,50
Hisse Fiyat Fark% Hacim (TL) Düþük / Yüksek
19,11 -0.47% 829,86 Mn 18,66 / 19,26
31,04 -0.83% 136,84 Mn 30,50 / 31,30
77,90 -1.7% 7,25 Mr 77,60 / 79,15
10,67 2.69% 200,26 Mn 10,40 / 10,71
81,25 2.85% 499,08 Mn 79,05 / 81,60

Masrafsýz Bankacýlýk + 1.000 TL Nakit! Enpara’dan Çifte Avantaj

Masrafsýz Bankacýlýk + 1.000 TL Nakit! Enpara’dan Çifte Avantaj
Sayfa 78/626 ÝlkÝlk ... 2868767778798088128178578 ... SonSon
Arama sonucu : 5007 madde; 617 - 624 arasý.

Konu: ÝDEAL veri terminalinde /Sistem/Ýndikatör/Robot

  1. #617
     Alýntý Originally Posted by Keçi Yazýyý Oku
    Selam, Sistem.Periyot yazabilirsiniz.
    Ýlgine teþekkür ederim Sayýn Keçi...

  2.  Alýntý Originally Posted by Keçi Yazýyý Oku
    kodu kalabalýk görünce bakmýyordum ,
    forumda ctrl+F yapýp x2 yi arattým.
    Kodun özeti aþaðýdaki gibi;


    //Veri adedi kadar, deðerleri 0 olan liste oluþtur.
    var x3 = Sistem.Liste(V.Count, 0);


    //Tüm deðerleri sýfýrdan oluþan x3 listesinin 10 barlýk simple ortalamasýný al (aldýk sýfýr)
    var x2 = Sistem.MA(x3, "Simple", 10);


    //sýfýrý göster
    Sistem.Cizgiler[1].Deger = x2;


    çözüm, x3 listesini bir þekilde deðerlerle doldurmak.
    x3 listesi 0 deðil iþte. sorunda orda

    sýralamadan dolayýmý 0 görüyor acaba

    bak kodun kýsasý þu

    var V = Sistem.GrafikVerileri ;
    // hesapla
    var PD = Sistem.BilancoPD();
    var NK = Sistem.BilancoNetKar();
    var x3 = Sistem.Liste(V.Count, 0);
    var x2 = Sistem.MA(x3, "Simple", 10);

    for (int i = 1; i < V.Count; i++)
    x3[i] = (NK[i]/PD[i]);


    resmide bu þu alttaký x3 bir tane ma giydirecem.

    Senin almaya cesaret edemediðin riskleri alanlar, senin yaþamak istediðin hayatý yaþarlar..
    Sokrates twit @erhanacikgoz1

  3.  Alýntý Originally Posted by Keçi Yazýyý Oku
    Rica ederim, doðru formülle de tutmayacak çünkü ideal HeikinAshi de Open deðerini hatalý hesaplýyorAþaðýda investing-ULUSE-HeikinAshi grafiði ile ideal-ULUSE-HeikinAshi grafiði farký net görülüyor.
    Sn Keçi konusu açýldý ve kimseyi yanlýþ yönlendirmeyelim diye birkaç siteye bakýp doðrusunu bulmaya çalýþtým. Daha önceden formulünü okuduðum Investopedia hatalý görünüyor. Diðerlerinin hepsinde formul aþaðýdaki gibi:

    HTML Kod:
    1. The Heikin-Ashi Close is simply an average of the open, 
    high, low and close for the current period. 
    
    HA-Close = (Open(0) + High(0) + Low(0) + Close(0)) / 4
    
    2. The Heikin-Ashi Open is the average of the prior Heikin-Ashi 
    candlestick open plus the close of the prior Heikin-Ashi candlestick. 
    
    HA-Open = (HA-Open(-1) + HA-Close(-1)) / 2 
    
    3. The Heikin-Ashi High is the maximum of three data points: 
    the current period's high, the current Heikin-Ashi 
    candlestick open or the current Heikin-Ashi candlestick close. 
    
    HA-High = Maximum of the High(0), HA-Open(0) or HA-Close(0) 
    
    4. The Heikin-Ashi low is the minimum of three data points: 
    the current period's low, the current Heikin-Ashi 
    candlestick open or the current Heikin-Ashi candlestick close.
    
    HA-Low = Minimum of the Low(0), HA-Open(0) or HA-Close(0)
    Kaynaklar:
    http://stockcharts.com/school/doku.p...is:heikin_ashi
    https://www.mql5.com/en/forum/175407
    http://forexop.com/candlesticks/heikin-ashi-system/

    Bu arada kendi kodumu da güncelledim.

    Kod:
    public List<cxBar> HeikinAshi(List<cxBar> bars)
    {
        var ha = bars.Select(b => b.Clone()).ToList();
    
        try
        {
            for (int i = 1; i < bars.Count; i++)
            {
                ha[i].Close = (bars[i].Open + bars[i].High + bars[i].Low + bars[i].Close) / 4;
                ha[i].Open = (ha[i - 1].Open + ha[i - 1].Close) / 2;
                ha[i].High = Max(bars[i].High, ha[i].Open, ha[i].Close);
                ha[i].Low = Min(bars[i].Low, ha[i].Open, ha[i].Close);
            }
        }
        catch (Exception ex)
        {
            //Log(string.Format("ToHeikinAshi failed. Ex: {0}", ex));
        }
    
        return ha;
    }
    Bu kodu derleyebilmek için User.dll'e Max ve Min metodlarýnýn da eklenmesi gerektiðini farketttim:

    Kod:
    public T Max<T>(params T[] args)
    {
        return args.Max();
    }
    
    public T Min<T>(params T[] args)
    {
        return args.Min();
    }
    Ýhtyacý olan arkadaþlar faydalanabilirler diye düþünüyorum.

  4. ÝDEAL veri terminalinde /Sistem/Ýndikatör/Robot

     Alýntý Originally Posted by erhanacikgoz1 Yazýyý Oku
    bu kodda x2 çizgisi 0 olarak görünmsinin sebebi ney nasýl düzelteceðim.
    X2 yi x3 u hesaplattiktan sonraya alinca duzelmeli. X3 0 iken ortalamasini aliyor.

  5.  Alýntý Originally Posted by erhanacikgoz1 Yazýyý Oku
    bu kodda x2 çizgisi 0 olarak görünmsinin sebebi ney nasýl düzelteceðim.
    Sn Erhan, kodunuzda x3'e atama yaptýðýnýz yer ile ortalama aldýðýnýz yeri deðiþtirmeniz lazým. Siz önce oralama alýyor daha sonra x3'e atama yapýyorsunuz. Þöyle olmalý:

    Kod:
    var V = Sistem.GrafikVerileri;
    var PD = Sistem.BilancoPD();
    var NK = Sistem.BilancoNetKar();
    var x1 = Sistem.Liste(V.Count, 0);
    var x3 = Sistem.Liste(V.Count, 0);
    
    for (int i = 1; i < V.Count; i++)
        x3[i] = (NK[i] / PD[i]);
    
    for (int i = 1; i < V.Count; i++)
        x1[i] = x3[i] > x2[i] ? 1 : x3[i] < x2[i] ? -1 : x1[i - 1];
    
    var x2 = Sistem.MA(x3, "Simple", 10);
    
    // sistem
    var SonYon = "";
    
    for (int i = 1; i < V.Count; i++)
    {
        if (x1[i] == 1 && SonYon != "A") // AL
        {
            Sistem.Yon[i] = "A";
            SonYon = Sistem.Yon[i];
        }
        else if (x1[i] == -1 && SonYon != "S") // SAT
        {
            Sistem.Yon[i] = "S";
            SonYon = Sistem.Yon[i];
        }
        else if (x1[i] == 0 && (SonYon == "A" || SonYon == "S")) // FLAT
        {
            Sistem.Yon[i] = "F";
            SonYon = Sistem.Yon[i];
        }
    }
    Sistem.Cizgiler[0].Deger = x3; // panel2
    Sistem.Cizgiler[1].Deger = x2;

  6.  Alýntý Originally Posted by umit_ykoc Yazýyý Oku
    X2 yi x3 u hesaplattiktan sonraya alinca duzelmeli. X3 0 iken ortalamasini aliyor.
    Sn Umit ile ayný anda yazmýþýz

  7.  Alýntý Originally Posted by Caglar Yazýyý Oku
    Sn Keçi konusu açýldý ve kimseyi yanlýþ yönlendirmeyelim diye birkaç siteye bakýp doðrusunu bulmaya çalýþtým. Daha önceden formulünü okuduðum Investopedia hatalý görünüyor. Diðerlerinin hepsinde formul aþaðýdaki gibi:

    HTML Kod:
    1. The Heikin-Ashi Close is simply an average of the open, 
    high, low and close for the current period. 
    
    HA-Close = (Open(0) + High(0) + Low(0) + Close(0)) / 4
    
    2. The Heikin-Ashi Open is the average of the prior Heikin-Ashi 
    candlestick open plus the close of the prior Heikin-Ashi candlestick. 
    
    HA-Open = (HA-Open(-1) + HA-Close(-1)) / 2 
    
    3. The Heikin-Ashi High is the maximum of three data points: 
    the current period's high, the current Heikin-Ashi 
    candlestick open or the current Heikin-Ashi candlestick close. 
    
    HA-High = Maximum of the High(0), HA-Open(0) or HA-Close(0) 
    
    4. The Heikin-Ashi low is the minimum of three data points: 
    the current period's low, the current Heikin-Ashi 
    candlestick open or the current Heikin-Ashi candlestick close.
    
    HA-Low = Minimum of the Low(0), HA-Open(0) or HA-Close(0)
    Kaynaklar:
    http://stockcharts.com/school/doku.p...is:heikin_ashi
    https://www.mql5.com/en/forum/175407
    http://forexop.com/candlesticks/heikin-ashi-system/

    Bu arada kendi kodumu da güncelledim.

    Kod:
    public List<cxBar> HeikinAshi(List<cxBar> bars)
    {
        var ha = bars.Select(b => b.Clone()).ToList();
    
        try
        {
            for (int i = 1; i < bars.Count; i++)
            {
                ha[i].Close = (bars[i].Open + bars[i].High + bars[i].Low + bars[i].Close) / 4;
                ha[i].Open = (ha[i - 1].Open + ha[i - 1].Close) / 2;
                ha[i].High = Max(bars[i].High, ha[i].Open, ha[i].Close);
                ha[i].Low = Min(bars[i].Low, ha[i].Open, ha[i].Close);
            }
        }
        catch (Exception ex)
        {
            //Log(string.Format("ToHeikinAshi failed. Ex: {0}", ex));
        }
    
        return ha;
    }
    Bu kodu derleyebilmek için User.dll'e Max ve Min metodlarýnýn da eklenmesi gerektiðini farketttim:

    Kod:
    public T Max<T>(params T[] args)
    {
        return args.Max();
    }
    
    public T Min<T>(params T[] args)
    {
        return args.Min();
    }
    Ýhtyacý olan arkadaþlar faydalanabilirler diye düþünüyorum.
    anladým. son durumda ideal hesaplamasý yine hatalý, öyle deðil mi?
    Keçiyi yardan uçuran bir tutam ottur..

  8. ONU DENEMIÞTIM AMA

    'x2' yerel deðiþkeni bildirilmeden önce kullanýlamaz
    Senin almaya cesaret edemediðin riskleri alanlar, senin yaþamak istediðin hayatý yaþarlar..
    Sokrates twit @erhanacikgoz1

Sayfa 78/626 ÝlkÝlk ... 2868767778798088128178578 ... SonSon

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
  •