Sayfa 238/272 İlkİlk ... 138188228236237238239240248 ... SonSon
Arama sonucu : 2172 madde; 1,897 - 1,904 arası.

Konu: Tradingview

  1.  Alıntı Originally Posted by @yörük@ Yazıyı Oku
    https://tr.tradingview.com/v/p4B3AMHW/

    değişik bir hesaplama....
    ema yapıp...100 uzunluğu 55 ile sloplayıp...0382 ile kullanınca....
    https://www.tradingview.com/x/a7GSzh9T/

    15 lik periyot daha iyi gibi....

    dediğim gibi...düzenlenmiş hali....

    PHP Code:
     //@version=5
    indicator("Foxy's Acceleration Bands"overlay=true)

    ma(sourcelengthtype) =>
        switch 
    type
            
    "SMA" => ta.sma(sourcelength)
            
    "EMA" => ta.ema(sourcelength)
            
    "SMMA (RMA)" => ta.rma(sourcelength)
            
    "WMA" => ta.wma(sourcelength)
            
    "VWMA" => ta.vwma(sourcelength)

    factorinput(0.001382)
    length input(100)
    mult input.float(0.382title="Mult")
    show_middle_bands input.bool(truetitle="Show Middle Bands")
    show_upper_bands input.bool(truetitle="Show Upper Bands")
    maTypeInput input.string("EMA"title="Band MA Type"options=["SMA""EMA""SMMA (RMA)""WMA""VWMA"], group="MA Settings")
    middleTypeInput input.string("EMA"title="Middle MA Type"options=["SMA""EMA""SMMA (RMA)""WMA""VWMA"], group="MA Settings")

    logHigh math.log10(high)
    logLow math.log10(low)
    logClose math.log10(close)
    logAvg math.log10((high low) / 2)

    logUppestband ma(logHigh * (* (((logHigh logLow) / (logAvg)) * 1000) * factor * (1+mult)), lengthmaTypeInput)
    logUpperband ma(logHigh * (* (((logHigh logLow) / (logAvg)) * 1000) * factor), lengthmaTypeInput)
    logLowerband ma(logLow * (* (((logHigh logLow) / (logAvg)) * 1000) * factor), lengthmaTypeInput)
    logLowestband ma(logLow * (* (((logHigh logLow) / (logAvg)) * 1000) * factor / (1-mult)), lengthmaTypeInput)
    logCentral ma(logCloselengthmiddleTypeInput)

    Uppestband math.pow(10logUppestband)
    Upperband math.pow(10logUpperband)
    Central math.pow(10logCentral)
    Lowerband math.pow(10logLowerband)
    Lowestband math.pow(10logLowestband)

    //plot(Uppestband, color=color.red, linewidth=2, display=show_upper_bands ? display.all : display.none)
    //plot(Upperband, color=color.red, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Central, color=color.orange, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Lowerband, color=color.green, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Lowestband, color=color.green, linewidth=2, display=show_upper_bands ? display.all : display.none)


    draw_prediction input.bool(truetitle="Draw Prediction Lines")
    slope_length_type input.bool(truetitle="Use Fixed Slope Length?")
    fixed_slope_length input(55title "Slope Length"// Useful for Prediction Upto Next (80% * Slope Length) Candles
    slope_length slope_length_type fixed_slope_length last_bar_index length

    customLogarithmicRegression
    (_data_color_width) =>
        
    logData math.log10(_data)
        
    linreg ta.linreg(logDataslope_length0)
        
    linreg_p ta.linreg(logDataslope_length1)
        
    bar_index
        slope 
    linreg linreg_p
        intercept 
    linreg slope
        deviationSum 
    0.0
        
    for 0 to slope_length 1 by 1
            deviationSum 
    += math.pow(logData[i] - (slope * (i) + intercept), 2)
        
    deviation math.sqrt(deviationSum slope_length)
        
    x1 slope_length
        x2 
    x
        y1 
    slope * (slope_length) + intercept
        y2 
    linreg

        
    var line b na

        updating 
    timestamp("20 Jul 2050 00:00 +0300") >= time
        displacement 
    false

        
    if draw_prediction
            
    if updating
                b 
    := line.new(x1math.pow(10y1), x2math.pow(10y2), xloc.bar_indexextend.right_colorstyle=line.style_dottedwidth=_width)
                if 
    not displacement
                    line
    .delete(b[1])

    if 
    show_upper_bands
        customLogarithmicRegression
    (Uppestbandcolor.rgb(1219248), 2)
        
    customLogarithmicRegression(Lowestbandcolor.rgb(2219248), 2)
    if 
    show_middle_bands
        
    //customLogarithmicRegression(Upperband, color.red, 1)
        
    customLogarithmicRegression(Centralcolor.rgb(2221250), 1)
        
    //customLogarithmicRegression(Lowerband, color.green, 1) 
    bunun içine...
    https://tr.tradingview.com/script/HI...ation-Channel/

    devinasyon hesaplamasını...55 uzunlukta atarsak....

    PHP Code:
      //@version=5
    indicator("Foxy's Acceleration Bands"overlay=true)

    ma(sourcelengthtype) =>
        switch 
    type
            
    "SMA" => ta.sma(sourcelength)
            
    "EMA" => ta.ema(sourcelength)
            
    "SMMA (RMA)" => ta.rma(sourcelength)
            
    "WMA" => ta.wma(sourcelength)
            
    "VWMA" => ta.vwma(sourcelength)

    factorinput(0.001382)
    length input(100)
    mult input.float(0.382title="Mult")
    show_middle_bands input.bool(truetitle="Show Middle Bands")
    show_upper_bands input.bool(truetitle="Show Upper Bands")
    maTypeInput input.string("EMA"title="Band MA Type"options=["SMA""EMA""SMMA (RMA)""WMA""VWMA"], group="MA Settings")
    middleTypeInput input.string("EMA"title="Middle MA Type"options=["SMA""EMA""SMMA (RMA)""WMA""VWMA"], group="MA Settings")

    logHigh math.log10(high)
    logLow math.log10(low)
    logClose math.log10(close)
    logAvg math.log10((high low) / 2)

    logUppestband ma(logHigh * (* (((logHigh logLow) / (logAvg)) * 1000) * factor * (1+mult)), lengthmaTypeInput)
    logUpperband ma(logHigh * (* (((logHigh logLow) / (logAvg)) * 1000) * factor), lengthmaTypeInput)
    logLowerband ma(logLow * (* (((logHigh logLow) / (logAvg)) * 1000) * factor), lengthmaTypeInput)
    logLowestband ma(logLow * (* (((logHigh logLow) / (logAvg)) * 1000) * factor / (1-mult)), lengthmaTypeInput)
    logCentral ma(logCloselengthmiddleTypeInput)

    Uppestband math.pow(10logUppestband)
    Upperband math.pow(10logUpperband)
    Central math.pow(10logCentral)
    Lowerband math.pow(10logLowerband)
    Lowestband math.pow(10logLowestband)

    //plot(Uppestband, color=color.red, linewidth=2, display=show_upper_bands ? display.all : display.none)
    //plot(Upperband, color=color.red, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Central, color=color.orange, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Lowerband, color=color.green, linewidth=1, display=show_middle_bands ? display.all : display.none)
    //plot(Lowestband, color=color.green, linewidth=2, display=show_upper_bands ? display.all : display.none)


    draw_prediction input.bool(truetitle="Draw Prediction Lines")
    slope_length_type input.bool(truetitle="Use Fixed Slope Length?")
    fixed_slope_length input(55title "Slope Length"// Useful for Prediction Upto Next (80% * Slope Length) Candles
    slope_length slope_length_type fixed_slope_length last_bar_index length

    customLogarithmicRegression
    (_data_color_width) =>
        
    logData math.log10(_data)
        
    linreg ta.linreg(logDataslope_length0)
        
    linreg_p ta.linreg(logDataslope_length1)
        
    bar_index
        slope 
    linreg linreg_p
        intercept 
    linreg slope
        deviationSum 
    0.0
        
    for 0 to slope_length 1 by 1
            deviationSum 
    += math.pow(logData[i] - (slope * (i) + intercept), 2)
        
    deviation math.sqrt(deviationSum slope_length)
        
    x1 slope_length
        x2 
    x
        y1 
    slope * (slope_length) + intercept
        y2 
    linreg

        
    var line b na

        updating 
    timestamp("20 Jul 2050 00:00 +0300") >= time
        displacement 
    false

        
    if draw_prediction
            
    if updating
                b 
    := line.new(x1math.pow(10y1), x2math.pow(10y2), xloc.bar_indexextend.right_colorstyle=line.style_dottedwidth=_width)
                if 
    not displacement
                    line
    .delete(b[1])

    if 
    show_upper_bands
        customLogarithmicRegression
    (Uppestbandcolor.rgb(1219248), 2)
        
    customLogarithmicRegression(Lowestbandcolor.rgb(2219248), 2)
    if 
    show_middle_bands
        
    //customLogarithmicRegression(Upperband, color.red, 1)
        
    customLogarithmicRegression(Centralcolor.rgb(2221250), 1)
        
    //customLogarithmicRegression(Lowerband, color.green, 1)
    ///////
    //@version=5

    lengthx input.int(55title="Length"minval 1maxval 5000)

    src input.source(closetitle="Source")

    // ----------------------------------------------------------------------
    upper_1_bool_input  input.bool(falsetitle="Upper +1"inline="abc",     group "channel")
    upper_1_float_input input.float(1.0title="",         inline="abc",     group "channel")

    upper_2_bool_input  input.bool(falsetitle="Upper +2"inline="cde",     group "channel")
    upper_2_float_input input.float(2.0title="",         inline="cde",     group "channel")

    upper_3_bool_input  input.bool(falsetitle="Upper +3"inline="ghi",     group "channel")
    upper_3_float_input input.float(3.0title="",         inline="ghi",     group "channel")

    lower_1_bool_input  input.bool(falsetitle="Lower -1"inline="bcd",     group "channel")
    lower_1_float_input input.float(1.0title="",         inline="bcd",     group "channel")

    lower_2_bool_input  input.bool(falsetitle="Lower -2"inline="def",     group "channel")
    lower_2_float_input input.float(2.0title="",         inline="def",     group "channel")

    lower_3_bool_input  input.bool(falsetitle="Lower +3"inline="hij",     group "channel")
    lower_3_float_input input.float(3.0title="",         inline="hij",     group "channel")
    // ----------------------------------------------------------------------
    color_upper_1 input.color(color.new(#2195f3, 90),   "", inline = "colors", group = "colors")
    color_upper_2 input.color(color.new(#4caf4f, 100),  "", inline = "colors", group = "colors")
    color_upper_3 input.color(color.new(#ff5252, 100),    "", inline = "colors", group = "colors")

    color_lower_1 input.color(color.new(#2195f3, 90), "", inline = "colors", group = "colors")
    color_lower_2 input.color(color.new(#4caf4f, 100),  "", inline = "colors", group = "colors")
    color_lower_3 input.color(color.new(#ff5252, 100),    "", inline = "colors", group = "colors")
    // ----------------------------------------------------------------------
    visual_settings_group "Visual Settings"

    prinp input.bool(false"Show Pearson's R",   group visual_settings_group)
    exl   input.bool(false"Extend Lines Left",  group visual_settings_group)
    exr   input.bool(true,  "Extend Lines Right"group visual_settings_group)

    exs = switch
        
    exl and exr => extend.both
        exl         
    => extend.left
        exr         
    => extend.right
        
    => extend.none
    // ----------------------------------------------------------------------
    slpclc(sourcelengthx) =>

        
    max_bars_back(source5000)

        if 
    not barstate.islast or lengthx <= 1
            
    [float(na), float(na), float(na)]

        else
            
    sumX 0.0
            sumY 
    0.0
            sumXSqr 
    0.0
            sumXY 
    0.0

            
    for 0 to lengthx 1 by 1
                val 
    source[i]
                
    per 1.0
                sumX 
    += per
                sumY 
    += val
                sumXSqr 
    += per per
                sumXY 
    += val per

            slope 
    = (lengthx sumXY sumX sumY) / (lengthx sumXSqr sumX sumX)

            
    average sumY lengthx

            intercept 
    average slope sumX lengthx slope

            
    [slopeaverageintercept]
    // ----------------------------------------------------------------------        
    [sai] = slpclc(srclengthx)

    st_price  * (lengthx 1)
    end_price i

    base_line 
    line.new(bar_index lengthx 1st_pricebar_indexend_pricewidth=1extend=exsstyle=line.style_dashedcolor=color.new(color.orange0))
    // ----------------------------------------------------------------------
    devcalc(sourcelengthxslopeaverageintercept) =>
        
    upDev 0.0
        dnDev 
    0.0
        stdDevAcc 
    0.0
        dsxx 
    0.0
        dsyy 
    0.0
        dsxy 
    0.0
        periods 
    lengthx 1
        daY 
    intercept slope periods 2
        val 
    intercept
        
    for 0 to periods by 1
            price 
    high[j] - val
            
    if price upDev
                upDev 
    := price
            price 
    := val low[j]
            if 
    price dnDev
                dnDev 
    := price
            price 
    := source[j]
            
    dxt price average
            dyt 
    val daY
            price 
    -= val
            stdDevAcc 
    += price price
            dsxx 
    += dxt dxt
            dsyy 
    += dyt dyt
            dsxy 
    += dxt dyt
            val 
    += slope
        stdDev 
    math.sqrt(stdDevAcc / (periods == periods))
        
    pearsonR dsxx == or dsyy == dsxy math.sqrt(dsxx dsyy)
        [
    stdDevpearsonRupDevdnDev]
    // ----------------------------------------------------------------------
    [stdDevpearsonRupDevdnDev] = devcalc(srclengthxsai)
    // ----------------------------------------------------------------------
    create_line(bool_inputfloat_inputcolordev) =>
        
    line_start_price st_price  + (bool_input float_input stdDev dev)
        
    line_end_price   end_price + (bool_input float_input stdDev dev)
        
        
    line.new(bar_index lengthx 1line_start_pricebar_indexline_end_pricewidth=1style=line.style_dashedextend=exscolor=color.new(color0))    
    // ----------------------------------------------------------------------
    upper_1_line create_line(upper_1_bool_input,  upper_1_float_inputcolor_upper_1,  upDev)
    //upper_2_line = create_line(upper_2_bool_input,  upper_2_float_input, color_upper_2,  upDev)
    //upper_3_line = create_line(upper_3_bool_input,  upper_3_float_input, color_upper_3,  upDev)

    lower_1_line create_line(lower_1_bool_input, -lower_1_float_inputcolor_lower_1, -dnDev)
    //lower_2_line = create_line(lower_2_bool_input, -lower_2_float_input, color_lower_2, -dnDev)
    //lower_3_line = create_line(lower_3_bool_input, -lower_3_float_input, color_upper_3, -dnDev)
    // ----------------------------------------------------------------------
    linefill.new(upper_1_linebase_linecolor color_upper_1)
    linefill.new(lower_1_linebase_linecolor color_lower_1)
    // ---------------------------------------------------------------------- 
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.






  2. bakalım yarın ne olacaklar.....
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  3. kanser....döngüsü yenilenme üzerine....
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  4. bir kod çalıştım...
    farklı bir mantıkla....

    zaman analizi gibi oldu....

    mantık...su damlası....ve düştüğünde oluşan halkalar...

    damla düştüğü an...
    en küçük periyot tetiklenir....

    1 dakkalık diyelim...sonra...3-5-15-30-45-60-120-180-240-720 diye devam...

    yani bir dakkalık....720 olacak....halkanın en büyük hale gelişi...yok oluşu gibi....

    döngünün sürekliliği...damlanın sürekliliği ile ilişkilendirilince...

    1-3-5-15 periyodu... 15 kıyaslandığında....

    ve geri kalanlar....direnç ve destek olarak tasarlanırsa....

    ortaya çıkan bu....(fractal döngü ile desteklendi )

    https://www.tradingview.com/x/64T1XAhJ/
    https://www.tradingview.com/x/cywsRP5C/
    https://www.tradingview.com/x/06W6O5R9/
    https://www.tradingview.com/x/lm4d3Mae/
    https://www.tradingview.com/x/DHhMPYZp/
    https://www.tradingview.com/x/megInJXt/

    çalıştığım en güzel kod oldu...
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  5. kodun güzel tarafı...herhangi bir periyot için...
    vur kaça da uygunluğu....
    yatırımı da uygunluğu...

    trend yazısı 1-3-5 periyotların 15 e kıyası....
    fast-slow -avarage ise vurkaç...

    barın renklenmesi ise trend ile vurkaçın birleşmesi...
    fuşyalar ise fractallar ile olası hedefler ve yönleri...
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  6.  Alıntı Originally Posted by @yörük@ Yazıyı Oku
    kodun güzel tarafı...herhangi bir periyot için...
    vur kaça da uygunluğu....
    yatırımı da uygunluğu...

    trend yazısı 1-3-5 periyotların 15 e kıyası....
    fast-slow -avarage ise vurkaç...

    barın renklenmesi ise trend ile vurkaçın birleşmesi...
    fuşyalar ise fractallar ile olası hedefler ve yönleri...
    örnek iş...





    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.


  7. https://tr.tradingview.com/script/Oe...y-Price-Range/

    yenilerin içinde bu incelenecek...
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

Sayfa 238/272 İlkİlk ... 138188228236237238239240248 ... 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
  •