Sayfa 27/33 İlkİlk ... 172526272829 ... SonSon
Arama sonucu : 261 madde; 209 - 216 arası.

Konu: BINHO 1000 Yatırımlar Holding

  1. bu şirket hiç spek hisseler gibi toplandıktan sonra tavan üstüne tavan gitmedi, sürekli yeni maliyetler yapılarak ilerledi hisse.
    ancak geçenlerde de dediğim gibi 13 şubatta 62xteki gap kapandığı gün biraz mal ky'ye verilmiş gibi. düşüşün yavaşlayıp en geç 29 şubatta tekrar yükselişe başlayacağını düşünüyorum.

  2. #210
    Hisse kama,dan çıkamadı,indikatör de öptü ama kesemedi,ancak günlerden sonra yeşil mum yakması olumlu.
    Yarın önemli,düşüşün sonlarında gibi görünüyor.

  3.  Alıntı Originally Posted by @yörük@ Yazıyı Oku
    babamın...2.tur....5.kür...kemoterapide bugün bitti....
    house...dizisinin sonundaki replik misali....

    cancer.....is boring...........

    bol nasipleriniz olsun.....selamlar....
    Geçmiş olsun sn. yörük

  4.  Alıntı Originally Posted by Majesty23 Yazıyı Oku
    Geçmiş olsun sn. yörük
    Allah, senden razı olsun. Sayın, Majesty23....

    İyi dileğinize istinaden....Çam sakızı çoban armağanı.....Küçük bir hediyem olsun size....

    Belki denersiniz....Daha da geliştirirsiniz.....Kombine bir kod birleştirme çalışması....
    https://tr.tradingview.com/scripts/?sort=recent buradan...İlk on sayfa içinden...
    Beğendiklerimden sizin için derlendi....

    PHP Code:
    //@version=5

    const bool DEBUG false
    const int maxBoxesCount 500
    const int showLastXLiqs 500
    const int maxDistanceToLastBar 1000 // Affects Running Time

    indicator("Majesty23",overlay=true,  max_boxes_count maxBoxesCountmax_labels_count maxBoxesCountmax_lines_count maxBoxesCountmax_bars_back 1000)


    pivotLenLiq input.int(20"Pivot Length"group "General Configuration"display display.none)
    WBR input.float(0.5"Wick-Body Ratio"step 0.1group "General Configuration"display display.none)

    sellsideColor input(#08998180, 'Bullish', inline = 'bsColor', group = 'General Configuration', display = display.none)
    buysideColor input(#f2364680, 'Bearish', inline = 'bsColor', group = 'General Configuration', display = display.none)
    showInvalidated DEBUG input.bool(true"Show Historic Zones"group "General Configuration"display display.none) : true

    bubbleSize 
    DEBUG input.int(5"[DBG] Base Bubble Size"group "Style"display display.none) : 5
    minDist 
    DEBUG input.int(0"[DBG] Min Distance"group "Style"display display.none) : 0
    grabsPerZone 
    DEBUG input.int(1"[DBG] Max Grabs Per Zone"group "Style"display display.none) : 1
    minATRBetweenPivots 
    DEBUG input.float(1"[DBG] Min ATR Between Pivots"group "Style"display display.none) : 1
    bubbleOffset 
    DEBUG input.float(20"[DBG] Bubble Offset"group "Style"display display.none) : 20
    textColor 
    DEBUG input.color(#ffffff80, "[DBG] Text Color", group = "Style", inline = "BBcolors") : #ffffff80
    renderLiquidityZones DEBUG input.bool(false"[DBG] Render Liquidity Zones"group "Style") : false

    type liqInfo
        int startTime
        int endTime
        float price
        string liqType
        int grabsFound 
    0

    type liq
        liqInfo info
        bool isRendered 
    false
        line liqZone

    type bubble
        int barIndex
        float price
        float bodySize
        float wickSize
        string liqType

    safeDeleteLiq 
    (liq liqF) =>
        
    liqF.isRendered := false
        line
    .delete(liqF.liqZone)

    var 
    liq[] allLiqList = array.new<liq>(0)

    highestTALiq ta.pivothigh(pivotLenLiqpivotLenLiq)
    lowestTALiq ta.pivotlow(pivotLenLiqpivotLenLiq)
    curATR ta.atr(5)

    renderLiq (liq liqF) =>
        if 
    renderLiquidityZones
            liqF
    .isRendered := true
            liqF
    .liqZone := line.new(liqF.info.startTimeliqF.info.pricenz(liqF.info.endTimetime 1), liqF.info.pricexloc xloc.bar_timecolor liqF.info.liqType == "Buyside" buysideColor sellsideColor)

    handleLiqsFinal () =>
        if 
    DEBUG
            log
    .info("Liqudities Count " str.tostring(allLiqList.size()))

        if 
    allLiqList.size() > 0
            
    for 0 to allLiqList.size() - 1
                curLiq 
    allLiqList.get(i)
                
    safeDeleteLiq(curLiq)
                if 
    not curLiq.isRendered and not (not showInvalidated and not na(curLiq.info.endTime))
                    
    renderLiq(curLiq)

    if 
    bar_index last_bar_index maxDistanceToLastBar
        
    if allLiqList.size() > 0
            
    for 0 to allLiqList.size() - 1
                curLiq 
    allLiqList.get(i)
                if 
    na(curLiq.info.endTime) and (curLiq.info.liqType == "Buyside" close curLiq.info.price close curLiq.info.price)
                    
    curLiq.info.endTime := time
        
        
    if not na(highestTALiq)
            
    newLiqInfo liqInfo.new(time[pivotLenLiq], nahighestTALiq"Buyside")
            
    addLiq true
            
    if allLiqList.size() > 0
                
    for 0 to allLiqList.size() - 1
                    liqInfo curInfo 
    allLiqList.get(i).info
                    
    if na(curInfo.endTime) and curInfo.liqType == "Buyside"
                        
    if math.abs(highestTALiq curInfo.price) < curATR minATRBetweenPivots
                            addLiq 
    := false
                            
    break
            if 
    addLiq
                allLiqList
    .unshift(liq.new(newLiqInfo))
                if 
    allLiqList.size () > showLastXLiqs
                    safeDeleteLiq
    (allLiqList.pop())
        
        if 
    not na(lowestTALiq)
            
    newLiqInfo liqInfo.new(time[pivotLenLiq], nalowestTALiq"Sellside")
            
    addLiq true
            
    if allLiqList.size() > 0
                
    for 0 to allLiqList.size() - 1
                    liqInfo curInfo 
    allLiqList.get(i).info
                    
    if na(curInfo.endTime) and curInfo.liqType == "Sellside"
                        
    if math.abs(lowestTALiq curInfo.price) < curATR minATRBetweenPivots
                            addLiq 
    := false
                            
    break
            if 
    addLiq
                allLiqList
    .unshift(liq.new(newLiqInfo))
                if 
    allLiqList.size () > showLastXLiqs
                    safeDeleteLiq
    (allLiqList.pop())

    var 
    lastHigh 0
    var lastLow 0

    renderHighCircle5 
    false
    renderHighCircle10 
    false
    renderHighCircle15 
    false
    float highCirclePrice 
    na

    renderLowCircle5 
    false
    renderLowCircle10 
    false
    renderLowCircle15 
    false
    float lowCirclePrice 
    na



    if allLiqList.size() > 0
        
    for 0 to allLiqList.size() - 1
            curLiq 
    allLiqList.get(i)
            if 
    not na(curLiq.info.endTime)
                continue
            if 
    curLiq.info.grabsFound == grabsPerZone
                
    continue
                
            
    bodySize math.abs(close open)
            
    wickSize curLiq.info.liqType == "Buyside" ? (high math.max(closeopen)) : (math.min(closeopen) - low)

            
    curWBR wickSize bodySize
            
    if curLiq.info.liqType == "Buyside"
                
    if high >= curLiq.info.price and (bar_index lastHigh minDist)
                    
    lastHigh := bar_index
                    
    if curWBR >= WBR 3
                        renderHighCircle15 
    := true
                    
    else if curWBR >= WBR 2
                        renderHighCircle10 
    := true
                    
    else if curWBR >= WBR
                        renderHighCircle5 
    := true
                    highCirclePrice 
    := high curATR bubbleOffset 100.0
                    curLiq
    .info.grabsFound += 1
            
    else
                if 
    low <= curLiq.info.price and (bar_index lastLow minDist)
                    
    lastLow := bar_index
                    
    if curWBR >= WBR 3
                        renderLowCircle15 
    := true
                    
    else if curWBR >= WBR 2
                        renderLowCircle10 
    := true
                    
    else if curWBR >= WBR
                        renderLowCircle5 
    := true
                    lowCirclePrice 
    := low curATR bubbleOffset 100.0
                    curLiq
    .info.grabsFound += 1

    plot
    (renderHighCircle5 and barstate.isconfirmed highCirclePrice na""buysideColorbubbleSizeplot.style_circlesfalse0)
    plot(renderHighCircle10 and barstate.isconfirmed highCirclePrice na""buysideColorint(bubbleSize 1.5), plot.style_circlesfalse0)
    plot(renderHighCircle15 and barstate.isconfirmed highCirclePrice na""buysideColorbubbleSize 2plot.style_circlesfalse0)

    plot(renderLowCircle5 and barstate.isconfirmed lowCirclePrice na""sellsideColorbubbleSizeplot.style_circlesfalse0)
    plot(renderLowCircle10 and barstate.isconfirmed lowCirclePrice na""sellsideColorint(bubbleSize 1.5), plot.style_circlesfalse0)
    plot(renderLowCircle15 and barstate.isconfirmed lowCirclePrice na""sellsideColorbubbleSize 2plot.style_circlesfalse0)

    alertcondition((renderHighCircle5 or renderHighCircle10 or renderHighCircle15) and barstate.isconfirmed"Buyside Liquidity Grab @ {{ticker}}""Buyside Liquidity Grab @ {{ticker}}")
    alertcondition((renderLowCircle5 or renderLowCircle10 or renderLowCircle15) and barstate.isconfirmed"Sellside Liquidity Grab @ {{ticker}}""Sellside Liquidity Grab @ {{ticker}}")

    if 
    barstate.islast
        handleLiqsFinal
    ()


    input.source(close)
    lp math.log(s)
    input.int(20)
    SD1 input.bool(false,"Show 1 SD Bands")
    SD2 input.bool(false,"Show 2 SD Bands")
    SD3 input.bool(true,"Show 3 SD Bands")
    SD4 input.bool(true,"Show 4 SD Bands")

    rollingMean(src,length) =>
        
    mean 0.00
        mean 
    := (nz(mean[1]) * (length-1) + src)/length
    stdev
    (src,length)=>
        
    sd=math.sqrt(rollingMean(src*src,length)-rollingMean(src,length)*rollingMean(src,length))
    bandwidth(sd,length) =>
        
    0.00
        h 
    := 1.06*sd*math.pow(length,-float(1)/5)

    rsd stdev(lp,n)
    rm rollingMean(lp,n)
    bandwidth(rsd,n)
    dev1 b
    upper 
    rm dev1
    lower 
    rm dev1
    dev2 
    b
    upper2 
    rm dev2
    lower2 
    rm dev2
    dev3 
    b
    upper3 
    rm dev3
    lower3 
    rm dev3
    dev4 
    b
    upper4 
    rm dev4
    lower4 
    rm dev4

    plot
    (math.exp(rm),color=color.white)
    plot(SD1?math.exp(upper):na,color=color.rgb(022048,50))
    plot(SD1?math.exp(lower):na,color=color.rgb(2113232,50))
    plot(SD2?math.exp(upper2):na,color=color.rgb(022048,50))
    plot(SD2?math.exp(lower2):na,color=color.rgb(2113232,50))
    plot(SD3?math.exp(upper3):na,color=color.rgb(022048,50))
    plot(SD3?math.exp(lower3):na,color=color.rgb(2113232,50))
    plot(SD4?math.exp(upper4):na,color=color.rgb(022048,50))
    plot(SD4?math.exp(lower4):na,color=color.rgb(2113232,50))


    ///     ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½     ///
    int length            input(20,    group "ï¼³ï½â€¦ï½â€ï½â€ï½â€°ï½ï½â€¡ï½â€œ")
    int offset            input(4,     group "ï¼³ï½â€¦ï½â€ï½â€ï½â€°ï½ï½â€¡ï½â€œ")
    series float src      input(closegroup "ï¼³ï½â€¦ï½â€ï½â€ï½â€°ï½ï½â€¡ï½â€œ")
    bool Use_High_and_Low input(truegroup "ï¼³ï½â€¦ï½â€ï½â€ï½â€°ï½ï½â€¡ï½â€œ")

    // Visual
    bool bar_color        input(true,        group "Vï½â€°ï½â€œï½â€¢ï½ï½Å’")
    color color_up        input(color.bluegroup "Vï½â€°ï½â€œï½â€¢ï½ï½Å’")
    color color_dn        input(color.red,  group "Vï½â€°ï½â€œï½â€¢ï½ï½Å’")

    /// ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ///
    var series float hlt 0.0
    series float   upper33 
    ta.highest(Use_High_and_Low high srclength)[offset]
    series float   lower33 ta.lowestUse_High_and_Low high srclength)[offset]

    hlt :=  src upper33 
             
    lower33 src lower33 
              
    upper33 nz(hlt)

    ///      ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½         ///
    color color src >= hlt 
                 
    color_up 
                 
    color_dn

    p1 
    plot(hlt
             
    color color,
             
    style plot.style_cross
             
    )
             
    p2 plot(srcdisplay display.none)

    //fill(p1, p2, color = color.new(color, 80))

    // Bar color
    barcolor(bar_color color na)

    src44 input(closetitle='Source')
    X1 input.int(5'Faster Period'minval=1)
    X2 input.int(5'Period'minval=1)
    length44 input.int(2,'Bollinger Bands MA Period'minval=1)
    X4 input.int(20'Slower Period'minval=1)
    mult 2
    mav 
    input.string(title='Moving Average Type'defval='TMA'options=['SMA''EMA''WMA''TMA'])

    //showsupport = input(title="Show MOVING AVERAGE?", defval=false)


    ma(sourcelength44_type) =>
        switch 
    _type
            
    "SMA" => ta.sma(sourcelength44)
            
    "EMA" => ta.ema(sourcelength44)
            
    "WMA" => ta.wma(sourcelength44)
            
    "TMA" => ta.sma(ta.sma(sourcemath.ceil(length44 2)), math.floor(length44 2) + 1)
            



    K1 ta.highest(low,X1)
    K2 ta.lowest(K1,X2)
    BBandTop ma(K2length44mav) + mult ta.stdev(K2length44)
    PTTl ta.lowest(BBandTop,X4)

    E1 ta.lowest(high,X1)
    E2 ta.highest(E1,X2)
    BBandBot ma(E2length44mav) - mult ta.stdev(E2length44)
    PTTh ta.highest(BBandBot,X4)

    plot(PTTh"High"color=color.rgb(19956224100), linewidth=2)
    plot(PTTl"Low"color=color.rgb(33170243100), linewidth=2
    örnek görüntüler....







    bu kodda https://tr.tradingview.com/v/tjP35RG5/ rsi için...
    Son düzenleme : @yörük@; 23-02-2024 saat: 17:18.
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  5. #213
     Alıntı Originally Posted by olimpik forum Yazıyı Oku
    Hisse kama,dan çıkamadı,indikatör de öptü ama kesemedi,ancak günlerden sonra yeşil mum yakması olumlu.
    Yarın önemli,düşüşün sonlarında gibi görünüyor.
    Hadi geçmiş olsun,,,düşüş bitti gibi görünüyor.
    YORUMLAR TAVSİYE NİTELİĞİ TAŞIMAYIP YATIRIM DANIŞMANLIĞI KAPSAMINDA DEĞİLDİR. YATIRIMCI PROFİLİNİZE UYMAYABİLİR.

  6.  Alıntı Originally Posted by olimpik forum Yazıyı Oku
    Hadi geçmiş olsun,,,düşüş bitti gibi görünüyor.
    Allah, senden razı olsun. Sayın, olimpik forum....
    (Babama geçmiş olsun dileğiniz için......)

    İyi dileğinize istinaden....Çam sakızı çoban armağanı.....Küçük bir hediyem olsun size....

    Belki denersiniz....Daha da geliştirirsiniz.....Kombine bir kod birleştirme çalışması....
    kısa periyotlar için....1-5-15




    kodu....
    PHP Code:
    //@version=5
    indicator("olimpik forum",overlay=true,max_boxes_count=50,max_labels_count=50,max_lines_count=144,max_bars_back=1000)
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    // ~~ Settings {
    // ~~ Tooltips
    var t1 "Reverses the orientation of labels and calculations in the Gann Box, offering alternative analytical perspectives."
    var t2 "Extend the drawing of Gann lines or boxes into the future beyond the current last bar to anticipate potential support or resistance levels. This setting is crucial for traders looking to forecast future price movements and prepare for potential market reactions at these extended levels."
    var t3 "Enables or disables the display of the Gann Box. When enabled, the Gann Box will be visible on the chart, illustrating key levels based on selected high and low points. The Gann Box is a fundamental tool in Gann analysis, providing insights into potential support and resistance levels, and enabling traders to identify strategic entry and exit points."
    var t4 "Enables or disables the display of Fibonacci labels within the Gann Box and Gann Fan. Useful for identifying specific Fibonacci retracement levels for support or resistance, these labels help traders to quickly recognize significant percentage levels that are often considered in trading strategies for their potential to indicate reversal points."
    var t5 "Enables or disables the display of Gann Curves. When enabled, it draws curves based on Gann percentages to predict potential market movements. These curves offer a dynamic view of potential support and resistance levels as they adjust to changing market conditions, aiding in the analysis of momentum and trend strength."
    var t6 "Enables or disables the display of Gann Angles. These are diagonal lines that extend from significant price points to provide insights into future support and resistance levels. Gann Angles are a cornerstone of Gann theory, offering a unique perspective on price and time dynamics that can signal significant market movements."
    //~~}

    //General{
    reverse   input.bool(false,title="Reverse",group="General Settings",tooltip=t1)
    Future    input.bool(truetitle="Extend",group="General Settings",tooltip=t2)
    //~~}

    //Levels
    perc = array.from(input.float(25.0,title="",step=.1,inline="1"group="Gann Box")/100,
     
    input.float(38.2,title="",step=.1,inline="2"group="Gann Box")/100,
     
    input.float(50.0,title="",step=.1,inline="3"group="Gann Box")/100,
     
    input.float(61.8,title="",step=.1,inline="4"group="Gann Box")/100,
     
    input.float(75.0,title="",step=.1,inline="5"group="Gann Box")/100)
    //Curve{
    showCurve input.bool(truetitle="Show Curves",group="Gann Curves",tooltip=t5)

    cperc = array.from(input.bool(true,"25%",inline="c1",group="Gann Curves"),
     
    input.bool(true,"38.2%",inline="c2",group="Gann Curves"),
     
    input.bool(true,"50%",inline="c3",group="Gann Curves"),
     
    input.bool(true,"61.8%",inline="c4",group="Gann Curves"),
     
    input.bool(true,"75%",inline="c5",group="Gann Curves"),
     
    input.bool(true,"100%",inline="c6",group="Gann Curves"))

    //Coloring
    ccol = array.from(input.color(#ff0000,"",inline="c1",group="Gann Curves"),
     
    input.color(#ff0000,"",inline="c2",group="Gann Curves"),
     
    input.color(#ff0000,"",inline="c3",group="Gann Curves"),
     
    input.color(#ff0000,"",inline="c4",group="Gann Curves"),
     
    input.color(#ff0000,"",inline="c5",group="Gann Curves"),
     
    input.color(#ff0000,"",inline="c6",group="Gann Curves"))
    //~~}

    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    // ~~ Variables {
    bar_index
    var float Hi na
    var float Lo na
    var int hLoc na
    var int lLoc na 
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    // ~~ Storage {
    var polyline [] arr = array.new<polyline>(7)
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    // ~~ Visible Chart Function {
    barIsVisible() => time >= chart.left_visible_bar_time and time <= chart.right_visible_bar_time
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    // ~~ Main {
    //Visible High & Low{
    if barIsVisible() and high >= nz(Hihigh)
        
    Hi := high
        hLoc 
    := bar_index
    if barIsVisible() and low <= nz(Lolow)
        
    Lo := low
        lLoc 
    := bar_index

    x0 
    lLoc<hLoc?lLoc:hLoc
    x6 
    lLoc<hLoc?(Future?math.min(bar_index+500,hLoc+(hLoc-lLoc)):hLoc):(Future?math.min(bar_index+500,lLoc+(lLoc-hLoc)):lLoc)
    y0 lLoc<hLoc?Lo:Hi
    y6 
    lLoc<hLoc?Hi:Lo
    //~~}

    //Fibonacci Levels{
    = array.new<int>(1,x0)
    = array.new<float>(1,y0)

    for 
    i=0 to 4
        x
    .push(math.round(x0+(x6-x0)*array.get(perc,i)))
        
    y.push(y0+(y6-y0)*array.get(perc,i))
        if 
    i==4
            x
    .push(x6)
            
    y.push(y6)
    //~~}

    // ~~ Gann Curve {
    if showCurve and barIsVisible()
        for 
    i=1 to arr.size()-1
            
    if cperc.get(i-1)
                
    points = array.new<chart.point>()
                for 
    0 to 90 by 1
                    xx 
    x0 - (x0-x.get(i))*math.sin(math.toradians(j))
                    
    yy y0 math.cos(math.toradians(j))*(y.get(i)-y0)
                    
    points.push(chart.point.from_index(math.round(xx),yy))
                
    poly polyline.new(points,false,false,line_color=ccol.get(i-1))
                
    arr.unshift(poly)
                
    arr.pop().delete()
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}

    src =  input(hl2title="Source",group "Trend Continuation Signals with TP & SL")
    Multiplier input.float(2,title="Sensitivity (0.5 - 5)"step=0.1defval=2minval=0.5maxval=5,group "Trend Continuation Signals with TP & SL")
    atrPeriods input.int(14,title="ATR Length"defval=10,group "Trend Continuation Signals with TP & SL")
    atrCalcMethodinput.string("Method 1",title "ATR Calculation Methods",options = ["Method 1","Method 2"],group "Trend Continuation Signals with TP & SL")
    cloud_val input.int(10,title "Cloud Moving Average Length"defval 10minval 5maxval 500,group "Trend Continuation Signals with TP & SL")
    stopLossVal  input.float(2.0title="Stop Loss Percent (0 for Disabling)"minval=0,group "Trend Continuation Signals with TP & SL")
    showBuySellSignals input.bool(true,title="Show Buy/Sell Signals"defval=true,group "Trend Continuation Signals with TP & SL")
    showMovingAverageCloud input.bool(falsetitle="Show Cloud MA",group "Trend Continuation Signals with TP & SL")

    percent(nomdiv) =>
        
    100 nom div

    src1 
    ta.hma(open5)[1
    src2 ta.hma(close12)
    momm1 ta.change(src1)
    momm2 ta.change(src2)
    f1(mn) => >= 0.0
    f2
    (mn) => >= 0.0 : -m
    m1 
    f1(momm1momm2)
    m2 f2(momm1momm2)
    sm1 math.sum(m11)
    sm2 math.sum(m21)

    cmoCalc percent(sm1-sm2sm1+sm2)
     
    hh ta.highest(2)
    h1 ta.dev(hh2) ? na hh
    hpivot 
    fixnan(h1)
    ll ta.lowest(2)
    l1 ta.dev(ll2) ? na ll
    lpivot 
    fixnan(l1)
     
    rsiCalc ta.rsi(close,9)
    lowPivot =  lpivot  
    highPivot 
    =  hpivot
     
    sup 
    rsiCalc 25 and cmoCalc 50  and lowPivot
    res 
    rsiCalc 75 and cmoCalc < -50  and highPivot

    atr2 
    ta.sma(ta.tratrPeriods)
    atratrCalcMethod == "Method 1" ta.atr(atrPeriods) : atr2
    up
    =src-(Multiplier*atr)
    up1 nz(up[1],up)
    up := close[1] > up1 math.max(up,up1) : up
    dn
    =src+(Multiplier*atr)
    dn1 nz(dn[1], dn)
    dn := close[1] < dn1 math.min(dndn1) : dn
     
    trend 
    1
    trend 
    := nz(trend[1], trend)
    trend := trend == -and close dn1 trend == and close up1 ? -trend
    buySignal 
    trend == and trend[1] == -1
    sellSignal 
    trend == -and trend[1] == 1
     
    pos 
    0.0
    pos
    := buySignalsellSignal ? -pos[1]
     
    longCond  buySignal and pos[1]!= 1
    shortCond 
    sellSignal and pos[1]!=-1
     
    entryOfLongPosition  
    ta.valuewhen(longCond close0)
    entryOfShortPosition ta.valuewhen(shortCondclose0)
     
    sl  stopLossVal stopLossVal 100 99999
     
    stopLossForLong  
    entryOfLongPosition  * (sl)
    stopLossForShort entryOfShortPosition * (sl)
     
    takeProfitForLong1R  entryOfLongPosition  * (sl)
    takeProfitForShort1R entryOfShortPosition * (sl)
     
    takeProfitForLong2R  entryOfLongPosition  * (sl*2)
    takeProfitForShort2R entryOfShortPosition * (sl*2)
     
    takeProfitForLong3R  entryOfLongPosition  * (sl*3)
    takeProfitForShort3R entryOfShortPosition * (sl*3)
     
    long_sl  low stopLossForLong  and pos[1]==1
    short_sl 
    highstopLossForShort and pos[1]==-1
     
    takeProfitForLongFinal  
    high>takeProfitForLong3R  and pos[1]==1
    takeProfitForShortFinal 
    low <takeProfitForShort3R and pos[1]==-1
     
    if long_sl or short_sl or takeProfitForLongFinal or takeProfitForShortFinal
        pos
    :=0
     
    lindex 
    ta.valuewhen(longCondbar_index0)
    sindexta.valuewhen(shortCondbar_index0)
     
    entryColor pos==1color.blue color.purple
     
    if barstate.islast and pos!=0
        lineEntry  
    line.new(bar_indexpos>0?entryOfLongPosition :entryOfShortPosition pos>0?lindex:sindexpos>0?entryOfLongPosition :entryOfShortPosition color=entryColor  )
        
    line.delete(lineEntry[1])

        
    stopLine  line.new(bar_indexpos>0?stopLossForLong :stopLossForShort pos>0?lindex:sindexpos>0?stopLossForLong :stopLossForShort color=color.red  )
        
    tpLine1 line.new(bar_indexpos>0?takeProfitForLong1R:takeProfitForShort1Rpos>0?lindex:sindexpos>0?takeProfitForLong1R:takeProfitForShort1Rcolor=color.green)
        
    tpLine2 line.new(bar_indexpos>0?takeProfitForLong2R:takeProfitForShort2Rpos>0?lindex:sindexpos>0?takeProfitForLong2R:takeProfitForShort2Rcolor=color.green)
        
    tpLine3 line.new(bar_indexpos>0?takeProfitForLong3R:takeProfitForShort3Rpos>0?lindex:sindexpos>0?takeProfitForLong3R:takeProfitForShort3Rcolor=color.green)
        
    line.delete(stopLine [1])
        
    line.delete(tpLine1[1])
        
    line.delete(tpLine2[1])
        
    line.delete(tpLine3[1])
     
        
    labelEntry  label.new(bar_indexpos>0?entryOfLongPosition :entryOfShortPosition color=entryColor  textcolor=#000000, style=label.style_label_left, text="Giriş: " + str.tostring(pos>0?entryOfLongPosition :entryOfShortPosition ))
        
    label.delete(labelEntry[1])    
     
        
    labelStop  label.new(bar_indexpos>0?stopLossForLong :stopLossForShort color=color.red  textcolor=#000000, style=label.style_label_left, text="Stop: " + str.tostring(math.round((pos>0?stopLossForLong :stopLossForShort) *100)/100))
        
    labelTp1 label.new(bar_indexpos>0?takeProfitForLong1R:takeProfitForShort1Rcolor=color.greentextcolor=#000000, style=label.style_label_left, text="(1-Kar Al: " +str.tostring(math.round((pos>0?takeProfitForLong1R:takeProfitForShort1R) * 100)/100))
        
    labelTp2 label.new(bar_indexpos>0?takeProfitForLong2R:takeProfitForShort2Rcolor=color.greentextcolor=#000000, style=label.style_label_left, text="(2-Kar Al: " + str.tostring(math.round((pos>0?takeProfitForLong2R:takeProfitForShort2R) * 100)/100))
        
    labelTp3 label.new(bar_indexpos>0?takeProfitForLong3R:takeProfitForShort3Rcolor=color.greentextcolor=#000000, style=label.style_label_left, text="(3-Kar Al: " + str.tostring(math.round((pos>0?takeProfitForLong3R:takeProfitForShort3R) * 100)/100))
        
    label.delete(labelStop [1])
        
    label.delete(labelTp1[1])
        
    label.delete(labelTp2[1])
        
    label.delete(labelTp3[1])    
     
    changeCond trend != trend[1]
    smaSrcHigh ta.ema(high,cloud_val)
    smaSrcLow ta.ema(lowcloud_val)
    [
    macdLinesignalLinehistLine] = ta.macd(close12269)
    //plot_high = plot(showMovingAverageCloud? smaSrcHigh : na, color = na, transp = 1, editable = false)
    //plot_low  = plot(showMovingAverageCloud? smaSrcLow  : na, color = na, transp = 1, editable = false)

    //plotshape(longCond ? up : na, title="UpTrend Begins", location=location.belowbar, style=shape.circle, size=size.tiny, color=color.new(color.teal,transp = 50) )
    plotshape(longCond and showBuySellSignals up natitle="Buy"text="Al"location=location.belowbarstyle=shape.labelupsize=size.tinycolor=color.new(color.lime,transp=50), textcolor=color.white )
    //plotshape(shortCond ? dn : na, title="DownTrend Begins", location=location.abovebar, style=shape.circle, size=size.tiny, color=color.new(color.red,transp = 50) )
    plotshape(shortCond and showBuySellSignals dn natitle="Sell"text="Sat"location=location.abovebarstyle=shape.labeldownsize=size.tinycolor=color.new(color.red,transp=50), textcolor=color.white)
    ///////////////////////

    length4 input.int(title "Range"defval 20minval 1)
    length5 input.int(title "Denge"defval 100minval 1)

    offset4 input(title "Range"defval 0)
    offset5 input(title "Denge"defval 0)
    src77=  input(close)


    ama4 0.
    ama5 
    0.

    hh4 
    math.max(math.sign(ta.change(ta.highest(length4))), 0)
    ll4 math.max(math.sign(ta.change(ta.lowest(length4)) * -1), 0)
    tc4 math.pow(ta.sma(hh4 or ll4 0length4), 2)
    ama4 := nz(ama4[1] + tc4 * (src77 ama4[1]), src77)

    hh5 math.max(math.sign(ta.change(ta.highest(length5))), 0)
    ll5 math.max(math.sign(ta.change(ta.lowest(length5))* -1), 0)
    tc5 math.pow(ta.sma(hh5 or ll5 0length5), 2)
    ama5 := nz(ama5[1] + tc5 * (src77 ama5[1]), src77)


    plot(ama4'Range'color.new(#ccff00, 0), 2, offset = offset4)
    plot(ama5'Denge'color.new(#df00fc, 0), 2, offset = offset5)
    ////////////
    import loxx/loxxexpandedsourcetypes/4

    greencolor 
    #2DD204
    redcolor #D2042D 

    fdRange(int size)=>
        
    out math.max(nz(close[size]), ta.highest(highsize)) - math.min(nz(close[size]), ta.lowest(lowsize))
        
    out 

    jurikFractalDimension
    (int sizeint count)=>
        
    int window1 size * (count 1)
        
    int window2 size count
        float smlRange 
    0
        float smlSumm 
    0
        smlRange 
    := fdRange(size)
        
    smlSumm := nz(smlSumm[1]) + smlRange
        smlSumm 
    -= nz(smlRange[window1])
        
    out 2.0 math.log(fdRange(window2) / (smlSumm window1)) / math.log(count)
        
    out

    kama
    (float srcint periodfloat fastfloat slowfloat powerbool JurikFD)=>
        
    float fastend = (2.0 / (fast 1))
        
    float slowend = (2.0 / (slow 1))
        
    float efratio 0
        float diff 
    0
        float signal 
    0
        float noise 
    0
        float fract 
    jurikFractalDimension(period2)
        if (
    JurikFD
            
    efratio := math.min(2.0 fract1.0)
        else 
            
    signal := math.abs(src nz(src[period]))
            
    diff := math.abs(src nz(src[1]))
            for 
    0 to period 
                noise 
    += nz(diff[k])
            if (
    noise != 0)
                
    efratio := signal noise
            
    else 
                
    efratio := 1
        float smooth 
    math.pow(efratio * (fastend slowend) + slowendpower)
        
    float kama src
        kama 
    := nz(kama[1]) + smooth * (src nz(kama[1]))
        
    kama

    gkyzvol
    (int per)=>
        
    float gzkylog math.log(open nz(close[1]))
        
    float pklog math.log(high low)
        
    float gklog math.log(close open)
        
    float garmult = (math.log(2) - 1)
        
        
    float gkyzsum per math.sum(math.pow(gzkylog2), per)
        
    float parkinsonsum / (per) * math.sum(math.pow(pklog2), per)
        
    float garmansum garmult per math.sum(math.pow(gklog2), per)
        
        
    float sum gkyzsum parkinsonsum garmansum
        float devpercent 
    math.sqrt(sum)  
        
    devpercent

    gkyzFilter
    (float srcint lenfloat filter)=>
        
    float price src
        float filtdev 
    filter gkyzvol(len) * src
        price 
    := math.abs(price nz(price[1])) < filtdev nz(price[1]) : price
        price

    smthtype 
    input.string("Kaufman""Heikin-Ashi Better Caculation Type"options = ["AMA""T3""Kaufman"], group "Source Settings")

    srcin input.string("Close""Source"group"Source Settings"
         
    options 
         [
    "Close""Open""High""Low""Median""Typical""Weighted""Average""Average Median Body""Trend Biased""Trend Biased (Extreme)"
         
    "HA Close""HA Open""HA High""HA Low""HA Median""HA Typical""HA Weighted""HA Average""HA Average Median Body""HA Trend Biased""HA Trend Biased (Extreme)",
         
    "HAB Close""HAB Open""HAB High""HAB Low""HAB Median""HAB Typical""HAB Weighted""HAB Average""HAB Average Median Body""HAB Trend Biased""HAB Trend Biased (Extreme)"])

    AmaPeriod input.int(10"AMA Period"group "Basic Settings")
    FastEnd input.int(2"Fast-End"group "Basic Settings")
    SlowEnd input.int(20"Slow-End"group "Basic Settings")
    SmoothPower input.int(2"Smooth Power"group "Basic Settings")
    JurikFDAdaptive input.bool(false"Jurik Fractal Dimension Adaptive?"group "Basic Settings")

    filterop input.string("Both""Filter Options"options = ["Price""JFDAGKYZFKAMA""Both""None"], group=  "Filter Settings")
    filter input.float(0.5"Filter Multiple"minval 0group"Filter Settings")
    filterperiod input.int(15"Filter Period"minval 0group"Filter Settings")

    colorbars input.bool(true"Color bars?"group"UI Options")
    showSigs input.bool(true"Show Signals?"group "UI Options")

    kfl=input.float(0.666title="* Kaufman's Adaptive MA (KAMA) Only - Fast End"group "Moving Average Inputs")
    ksl=input.float(0.0645title="* Kaufman's Adaptive MA (KAMA) Only - Slow End"group "Moving Average Inputs")
    amafl input.int(2title="* Adaptive Moving Average (AMA) Only - Fast"group "Moving Average Inputs")
    amasl input.int(30title="* Adaptive Moving Average (AMA) Only - Slow"group "Moving Average Inputs")

    haclose request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodclose)
    haopen request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodopen)
    hahigh request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodhigh)
    halow request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodlow)
    hamedian request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodhl2)
    hatypical request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodhlc3)
    haweighted request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodhlcc4)
    haaverage request.security(ticker.heikinashi(syminfo.tickerid), timeframe.periodohlc4)

    float src99 = switch srcin
        
    "Close" => loxxexpandedsourcetypes.rclose()
        
    "Open" => loxxexpandedsourcetypes.ropen()
        
    "High" => loxxexpandedsourcetypes.rhigh()
        
    "Low" => loxxexpandedsourcetypes.rlow()
        
    "Median" => loxxexpandedsourcetypes.rmedian()
        
    "Typical" => loxxexpandedsourcetypes.rtypical()
        
    "Weighted" => loxxexpandedsourcetypes.rweighted()
        
    "Average" => loxxexpandedsourcetypes.raverage()
        
    "Average Median Body" => loxxexpandedsourcetypes.ravemedbody()
        
    "Trend Biased" => loxxexpandedsourcetypes.rtrendb()
        
    "Trend Biased (Extreme)" => loxxexpandedsourcetypes.rtrendbext()
        
    "HA Close" => loxxexpandedsourcetypes.haclose(haclose)
        
    "HA Open" => loxxexpandedsourcetypes.haopen(haopen)
        
    "HA High" => loxxexpandedsourcetypes.hahigh(hahigh)
        
    "HA Low" => loxxexpandedsourcetypes.halow(halow)
        
    "HA Median" => loxxexpandedsourcetypes.hamedian(hamedian)
        
    "HA Typical" => loxxexpandedsourcetypes.hatypical(hatypical)
        
    "HA Weighted" => loxxexpandedsourcetypes.haweighted(haweighted)
        
    "HA Average" => loxxexpandedsourcetypes.haaverage(haaverage)
        
    "HA Average Median Body" => loxxexpandedsourcetypes.haavemedbody(haclosehaopen)
        
    "HA Trend Biased" => loxxexpandedsourcetypes.hatrendb(haclosehaopenhahighhalow)
        
    "HA Trend Biased (Extreme)" => loxxexpandedsourcetypes.hatrendb(haclosehaopenhahighhalow)
        
    "HAB Close" => loxxexpandedsourcetypes.habclose(smthtypeamaflamaslkflksl)
        
    "HAB Open" => loxxexpandedsourcetypes.habopen(smthtypeamaflamaslkflksl)
        
    "HAB High" => loxxexpandedsourcetypes.habhigh(smthtypeamaflamaslkflksl)
        
    "HAB Low" => loxxexpandedsourcetypes.hablow(smthtypeamaflamaslkflksl)
        
    "HAB Median" => loxxexpandedsourcetypes.habmedian(smthtypeamaflamaslkflksl)
        
    "HAB Typical" => loxxexpandedsourcetypes.habtypical(smthtypeamaflamaslkflksl)
        
    "HAB Weighted" => loxxexpandedsourcetypes.habweighted(smthtypeamaflamaslkflksl)
        
    "HAB Average" => loxxexpandedsourcetypes.habaverage(smthtypeamaflamaslkflksl)
        
    "HAB Average Median Body" => loxxexpandedsourcetypes.habavemedbody(smthtypeamaflamaslkflksl)
        
    "HAB Trend Biased" => loxxexpandedsourcetypes.habtrendb(smthtypeamaflamaslkflksl)
        
    "HAB Trend Biased (Extreme)" => loxxexpandedsourcetypes.habtrendbext(smthtypeamaflamaslkflksl)
        => 
    haclose
        
    src99 
    := filterop == "Both" or filterop == "Price" and filter gkyzFilter(src99filterperiodfilter) : src99

    out 
    kama(src99AmaPeriodFastEndSlowEndSmoothPowerJurikFDAdaptive)

    out := filterop == "Both" or filterop == "JFDAGKYZFKAMA" and filter gkyzFilter(outfilterperiodfilter) : out

    sig 
    out[1]

    goLong_pre ta.crossover(outsig)
    goShort_pre ta.crossunder(outsig)

    contSwitch 0
    contSwitch 
    := nz(contSwitch[1])
    contSwitch := goLong_pre goShort_pre ? -contSwitch

    goLong 
    goLong_pre and ta.change(contSwitch)
    goShort goShort_pre and ta.change(contSwitch)

    colorout contSwitch == 1  greencolor redcolor

    barcolor
    (colorbars colorout na)
    //////////////////////////////

    Price input(hl2title='Price')
    PeriodF input(10title='PeriodF')
    PeriodS input(50title='PeriodS')
    EnableSmooth input(truetitle='EnableSmooth')

    AMA(PeriodPrice) =>
        
    //Vars: 
        
    Noise 0.00
        Signal 
    0.00
        Diff 
    0.00
        efRatio 
    0.00
        Smooth 
    1.00
        Fastest 
    0.6667
        Slowest 
    0.0645
        AdaptMA 
    0.00
        AMA 
    0.00

        Diff 
    := math.abs(Price nz(Price[1]))
        if 
    bar_index <= Period
            AdaptMA 
    := Price
            AdaptMA
        
    if bar_index Period
            Signal 
    := math.abs(Price nz(Price[Period]))
            
    Noise := math.sum(DiffPeriod)
            
    efRatio := Signal Noise
            Smooth 
    := math.pow(efRatio * (Fastest Slowest) + Slowest2)
            
    AdaptMA := nz(AdaptMA[1]) + Smooth * (Price nz(AdaptMA[1]))
            
    AdaptMA
        AMA 
    := AdaptMA
        AMA

    AMAF
    (PeriodPcntPrice) =>
        
    //Vars: 
        
    Noise 0.00
        Signal 
    0.00
        Diff 
    0.00
        efRatio 
    0.00
        Smooth 
    1.00
        Fastest 
    0.6667
        Slowest 
    0.0645
        AdaptMA 
    0.00
        AMAFltr 
    0.00
        AMAF 
    0.00

        Diff 
    := math.abs(Price nz(Price[1]))
        if 
    bar_index <= Period
            AdaptMA 
    := Price
            AdaptMA

        
    if bar_index Period
            Signal 
    := math.abs(Price nz(Price[Period]))
            
    Noise := math.sum(DiffPeriod)
            
    efRatio := Signal Noise
            Smooth 
    := math.pow(efRatio * (Fastest Slowest) + Slowest2)
            
    AdaptMA := nz(AdaptMA[1]) + Smooth * (Price nz(AdaptMA[1]))
            
    AMAFltr := ta.stdev(AdaptMA nz(AdaptMA[1]), Period) * Pcnt
            AMAFltr
        AMAF 
    := AMAFltr
        AMAF

    //Vars: 
    AMAValF 0.00
    AMAValS 
    0.00

    AMAValF 
    := EnableSmooth ta.linreg(AMA(PeriodFPrice), PeriodF0) : AMA(PeriodFPrice)
    AMAValS := EnableSmooth ta.linreg(AMA(PeriodSPrice), PeriodS0) : AMA(PeriodSPrice)

    Plot1 plot(AMAValF'Hızlı10'color=color.new(#ffeb3b, 100), linewidth=2)
    Plot2 plot(AMAValS'Yavaş50'color=color.new(#df40fb, 100), linewidth=2)
    fill(Plot1Plot2color=AMAValF AMAValS color.rgb(2552355960) : color.rgb(2236425160))

    long ta.crossover(AMAValFAMAValS)
    short ta.crossunder(AMAValFAMAValS)

    // Plots labels
    short label.new(bar_indexAMAValF'SAT'color=color.redtextcolor=color.whitestyle=label.style_label_downyloc=yloc.pricesize=size.small) : long label.new(bar_indexAMAValF'AL'color=color.greentextcolor=color.whitestyle=label.style_label_upyloc=yloc.pricesize=size.small) : na
    //////////// 
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

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

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

Sayfa 27/33 İlkİlk ... 172526272829 ... 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
  •