Sayfa 181/293 İlkİlk ... 81131171179180181182183191231281 ... SonSon
Arama sonucu : 2344 madde; 1,441 - 1,448 arası.

Konu: Tradingview

  1. bir kodun açıklamasında...
    eğer yanlış hatırlamyorsam... ema 27 değerinin...
    14 rsi 50 değerine işaret ettiğini okumuştum....

    bu yüzden sma yı emaya çevirip.... 200 değeri 27 inince...
    görüntü....https://www.tradingview.com/x/jFN5i1pR/

    etiketsiz hali....
    https://www.tradingview.com/x/YLlhRYRk/


    PHP Code:
     //@version=5
    indicator("deneme"overlay truemax_lines_count 500max_labels_count 500format=format.price)
    ////////////////////////////////////////
    // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
    // © peacefulLizard50262

    //@version=5

    // Custom cosh function
    cosh(float x) =>
        (
    math.exp(x) + math.exp(-x)) / 2

    // Custom acosh function
    acosh(float x) =>
        
    na math.log(math.sqrt(1))

    // Custom sinh function
    sinh(float x) =>
        (
    math.exp(x) - math.exp(-x)) / 2

    // Custom asinh function
    asinh(float x) =>
        
    math.log(math.sqrt(1))

    // Custom inverse tangent function
    atan(float x) =>
        
    math.pi math.atan(x)

    // Chebyshev Type I Moving Average
    chebyshevI(float srcfloat lenfloat ripple) =>
        
    0.
        b 
    0.
        g 
    0.
        chebyshev 
    0.
        
        a 
    := cosh(len acosh(/ (ripple)))
        
    := sinh(len asinh(ripple))
        
    := (b) / (b)
        
    chebyshev := (g) * src nz(chebyshev[1])
        
    chebyshev

    // Chebyshev Type II Moving Average
    chebyshevII(float srcfloat lenfloat ripple) =>
        
    0.
        b 
    0.
        g 
    0.
        chebyshev 
    0.
        
        a 
    := cosh(len acosh(ripple))
        
    := sinh(len asinh(ripple))
        
    := (b) / (b)
        
    chebyshev := (g) * src nz(chebyshev[1], src)
        
    chebyshev

    chebyshev
    (float srcfloat lengthfloat ripplebool style) =>
        
    style ?
         
    chebyshevI(srclengthripple) :
         
    chebyshevII(srclengthripple)

    source44 input.source(hl2"Source")
    up_color input.color(color.new(color.green20), "Up Color")
    down_color input.color(color.new(color.red20), "Down Color")
    text_color input.color(color.black"Text Color")
    mean_length input.float(24"Mean Length"510000.5)
    mean_ripple input.float(0.5"Mean Ripple"0.010.990.01)
    style44 input.bool(false"True Chebyshev I | False : Chebyshev II")
    atr_style input.bool(true"True: |Open-Close|  False: High-Low")
    atr_length input.float(64"ATR Length"610000.5)
    atr_ripple input.float(0.05"Mean Ripple"0.010.990.01)
    multiplier input.float(1.5"Multiplier"0.125100.125)
    alerts input.bool(false"Alerts")
    labels input.bool(true"Labels")

    atr chebyshev(atr_style high low math.abs(open close), atr_lengthatr_ripplestyle44)
    mean chebyshevI(source44mean_lengthmean_ripple)

    var 
    float offset 0.0
    var bool state na
    var float newOffset 0.0

    crossover 
    ta.crossover(source44offset)
    position source44 offset
    crossunder 
    ta.crossunder(source44offset)

    prevOffset nz(offset[1])

    if 
    crossover[2] and position[1] and position or (position and position[1] and position[2]) 
        
    newOffset := mean atr multiplier
        offset 
    := newOffset nz(prevOffset) or close[1] > nz(prevOffset) ? newOffset nz(prevOffset)
        
    state := true

    if crossunder[2] and not position[1] and not position or (not position and not position[1] and not position[2]) 
        
    newOffset := mean atr multiplier
        offset 
    := newOffset nz(prevOffset) or close[1] < nz(prevOffset) ? newOffset nz(prevOffset)
        
    state := false

    cross 
    ta.cross(closeoffset)

    down_trend not state and not state[1]
    up_trend state and state[1]

    colour up_trend up_color down_trend down_color color.new(color.white100

    if 
    up_trend and not up_trend[1] and labels
        label
    .new(bar_indexoffset"Up Trend \n" str.tostring(close), color up_colorstyle label.style_label_uptextcolor text_color)
        
    alert("Up Trend at " str.tostring(close))
    else
        
    alert("Up Trend at " str.tostring(close))

    if 
    down_trend and not down_trend[1] and labels
        label
    .new(bar_indexoffset"Down Trend \n" str.tostring(close), color down_colorstyle label.style_label_downtextcolor text_color)
        
    alert("Down Trend at " str.tostring(close))
    else
        
    alert("Down Trend at " str.tostring(close))
        
    plot(offset"Trend"colourstyle plot.style_stepline_diamond)

    //plotshape(cross, "Trend Is Getting Ready To Change", shape.xcross, location.belowbar, color = close > offset ? up_color : down_color)
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
    // © Gudanin

    //@version=5

    //line variables

    line1 ta.ema(close14)
    line2 ta.ema(close27)
    highrsi ta.rsi(close,14) > 50
    lowrsi 
    ta.rsi(close,14) < 50


    line11 
    ta.sma(close19)
    line22 ta.sma(close21)

    highrsi1 ta.rsi(close,14) >= 65
    lowrsi1 
    ta.rsi(close,14) <= 35


    //Reversal logic

    BuyPline11 line22 and highrsi1 and line1 line2 and highrsi

    var label up na
    var label down na
    var line l na
    var float first_close na
    var bool can_draw false

    var line l1 na
    var float first_close1 na
    var bool can_draw1 false

    //support and resistance line colors
    color supportlinecolor input.color(color.green"Support line color")
    color resistancelinecolor input.color(color.red"Resistance line color")

    //label colors
    color buylabelcolor input.color(color.green"Buy label color")
    color selllabelcolor input.color(color.red"Sell label color")

    //text colors
    color buylabeltextcolor input.color(color.white"Buy label text color")
    color selllabeltextcolor input.color(color.white"Sell label text color")



    if(
    line11 line22 and highrsi1 and line1 line2 and highrsi)
        
    first_close := close  // Reset session high
        
    can_draw := true    // We are allowed to draw a line
        
    := line.new(bar_index-1first_closebar_indexfirst_closecolor=resistancelinecolorxloc xloc.bar_indexextend extend.both,width=2
        
    line.delete(l[1])
       
        if(
    na(up)) //Does not exist, create one
            
    up := label.new(bar_indexclose"fiyat dönüş \n direnç"color=selllabelcoloryloc=yloc.abovebartextcolor selllabeltextcolor)
            
                    
                
                
           
        else
            
    label.set_x(upbar_index)


    if(
    line11 line22 and lowrsi and line1 line2 and lowrsi )
        
    first_close1 := open  // Reset session high
        
    can_draw1 := true    // We are allowed to draw a line
        
    l1 := line.new(bar_index-1first_close1bar_indexfirst_close1color=supportlinecolorxloc xloc.bar_indexextend extend.both,width=2
        
    line.delete(l1[1])
        if(
    na(down)) //Does not exist, create one
            
    down := label.new(bar_indexclose"fiyat dönüş \n destek"color=buylabelcoloryloc=yloc.belowbarstyle label.style_label_uptextcolor buylabeltextcolor)
        else
            
    label.set_x(downbar_index)  

        


    ////////////////////////////////////////////////// 
    kodun sadeleşmiş hali...
    16.07.2024 - 10.12.2024

  2. 16.07.2024 - 10.12.2024

  3. Sosyal medyada ozgurhan demiş ki;

    İndikatör satan hanzolara para kaptırmayın. 1 saatlik grafikte indikatörü de verdim 3 commas bota bağlayın.




    Super Secret 200 EMA — Indicator by larsealaxander
    The indicator is called "Super Secret 200 EMA." It combines two technical indicators, the Supertrend and the 200 Exponential Moving


    //@version=5
    indicator("Super Secret 200 EMA", overlay=true)

    length = input(10, "Supertrend Length")
    multiplier = input.float(3.0, "Supertrend Multiplier")
    emaPeriod = input(200, "EMA Period")

    // Calculate Supertrend
    var float supertrend = na
    var float highestHigh = na
    var float lowestLow = na

    for i = length to 1
    if ta.change(close[i]) > 0
    highestHigh := math.max(highestHigh, high[i])
    else
    lowestLow := math.min(lowestLow, low[i])

    supertrend := ta.change(close) > 0 ? lowestLow + multiplier * ta.atr(length) : highestHigh - multiplier * ta.atr(length)

    supertrendColor = supertrend > ta.ema(close, emaPeriod) ? color.green : color.red

    // Calculate 200 EMA
    ema200 = ta.ema(close, emaPeriod)
    emaColor = close > ema200 ? color.green : color.red

    // Plot Supertrend and EMA
    plot(supertrend, color=supertrendColor, title="Supertrend")
    plot(ema200, color=emaColor, title="200 EMA")

    // Determine Buy and Sell Conditions
    buyCondition = ta.crossover(close, ema200) and close > supertrend
    sellCondition = ta.crossunder(close, ema200) and close < supertrend

    // Plot Buy and Sell Signals
    plotshape(buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="Buy")
    plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="Sell")

  4.  Alıntı Originally Posted by rosense Yazıyı Oku
    Sosyal medyada ozgurhan demiş ki;

    İndikatör satan hanzolara para kaptırmayın. 1 saatlik grafikte indikatörü de verdim 3 commas bota bağlayın.




    Super Secret 200 EMA â۠Indicator by larsealaxander
    The indicator is called "Super Secret 200 EMA." It combines two technical indicators, the Supertrend and the 200 Exponential Moving


    //@version=5
    indicator("Super Secret 200 EMA", overlay=true)

    length = input(10, "Supertrend Length")
    multiplier = input.float(3.0, "Supertrend Multiplier")
    emaPeriod = input(200, "EMA Period")

    // Calculate Supertrend
    var float supertrend = na
    var float highestHigh = na
    var float lowestLow = na

    for i = length to 1
    if ta.change(close[i]) > 0
    highestHigh := math.max(highestHigh, high[i])
    else
    lowestLow := math.min(lowestLow, low[i])

    supertrend := ta.change(close) > 0 ? lowestLow + multiplier * ta.atr(length) : highestHigh - multiplier * ta.atr(length)

    supertrendColor = supertrend > ta.ema(close, emaPeriod) ? color.green : color.red

    // Calculate 200 EMA
    ema200 = ta.ema(close, emaPeriod)
    emaColor = close > ema200 ? color.green : color.red

    // Plot Supertrend and EMA
    plot(supertrend, color=supertrendColor, title="Supertrend")
    plot(ema200, color=emaColor, title="200 EMA")

    // Determine Buy and Sell Conditions
    buyCondition = ta.crossover(close, ema200) and close > supertrend
    sellCondition = ta.crossunder(close, ema200) and close < supertrend

    // Plot Buy and Sell Signals
    plotshape(buyCondition, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="Buy")
    plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="Sell")
    Hocam 14. satır - Hata: 14:1*Mismatched input 'if' expecting 'end of line without line continuation böyle bir uyarı veriyor bilginiz olsun

  5.  Alıntı Originally Posted by Corbaciyan Yazıyı Oku
    Hocam 14. satır - Hata: 14:1*Mismatched input 'if' expecting 'end of line without line continuation böyle bir uyarı veriyor bilginiz olsun
    Bu konuda yörük hocam daha uzman nereden kaynaklandığını bulur yardımcıolur bize inşaallah ben sade alıntıladımbelki benden kaynaklanan bir eksiklikte olabilir düzeltiriz inşaallah

    şayet sizin bir düzeltme imknınız varsa teşekkür ederiz ...


    https://www.tradingview.com/script/I...ecret-200-EMA/

  6.  Alıntı Originally Posted by rosense Yazıyı Oku
    Bu konuda yörük hocam daha uzman nereden kaynaklandığını bulur yardımcıolur bize inşaallah ben sade alıntıladımbelki benden kaynaklanan bir eksiklikte olabilir düzeltiriz inşaallah

    şayet sizin bir düzeltme imknınız varsa teşekkür ederiz ...


    https://www.tradingview.com/script/I...ecret-200-EMA/
    problem yok.....
    verdiğin link çalışıyor....

    https://www.tradingview.com/x/Mmd8EyRX/
    https://www.tradingview.com/x/HTRPhsZc/
    16.07.2024 - 10.12.2024

  7. bu da en son yayınlanan kodla beraber görüntüsü....
    https://www.tradingview.com/x/ccfi0YoH/
    16.07.2024 - 10.12.2024

  8.  Alıntı Originally Posted by @yörük@ Yazıyı Oku
    problem yok.....
    verdiğin link çalışıyor....
    BENDE DE çalışıyor arkadaşımız neden bir sorun la karşılaştı anlamadım



Sayfa 181/293 İlkİlk ... 81131171179180181182183191231281 ... 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
  •