Sayfa 250/272 İlkİlk ... 150200240248249250251252260 ... SonSon
Arama sonucu : 2172 madde; 1,993 - 2,000 arası.

Konu: Tradingview

  1. PHP Code:
     //@version=5
    // Copyright (c) 2019-present, Franklin Moormann (cheatcountry)
    // Reverse Moving Average Convergence Divergence [CC] script may be freely distributed under the MIT license.
    indicator('*'max_bars_back=500overlay=true)
    ////////////////////Ana Kalıp/////////////////////////
    inp input(title='Source'defval=close)
    res input.timeframe(title='Resolution'defval='')
    rep input(title='Allow Repainting?'defval=false)
    //////////////////////////////////////////////////////
    src1 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    fastLength1 input.int(title='FastLength'defval=12minval=1)
    slowLength1 input.int(title='SlowLength'defval=26minval=1)
    signalLength1 input.int(title='SignalLength'defval=9minval=1)
    macdLevel1 input.float(title='MacdLevel'defval=0minval=0)

    fastAlpha1 2.0 / (fastLength1)
    slowAlpha1 2.0 / (slowLength1)

    fastEma1 ta.ema(src1fastLength1)
    slowEma1 ta.ema(src1slowLength1)

    pMacdEq1 fastAlpha1 slowAlpha1 != ? ((nz(fastEma1[1]) * fastAlpha1) - (nz(slowEma1[1]) * slowAlpha1)) / (fastAlpha1 slowAlpha1) : 0
    pMacdEqSig1 
    ta.ema(pMacdEq1signalLength1)
    pMacdLevel1 fastAlpha1 slowAlpha1 != ? (macdLevel1 - (nz(fastEma1[1]) * (fastAlpha1)) + (nz(slowEma1[1]) * (slowAlpha1))) / (fastAlpha1 slowAlpha1) : 0

    slo1 
    src1 pMacdEq1
    sig1 
    slo1 slo1 nz(slo1[1]) ? slo1 slo1 nz(slo1[1]) ? -: -0

    rmacdColor 
    sig1 color.green sig1 color.lime sig1 < -color.maroon sig1 color.red color.white

    plot
    (pMacdEq1title='MACD',style=plot.style_crosscolor=rmacdColorlinewidth=2)
    plot(pMacdEqSig1title='MacdEqSignal'color=color.rgb(255255255100), linewidth=1)
    //plot(pMacdLevel1, title='MacdLevel', color=color.blue, linewidth=2)
    memo1=(pMacdEq1+pMacdEqSig1+pMacdLevel1)/3
    plot
    (memo1title='Avarage'color=color.rgb(2412258100), linewidth=2)
    ////////////////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////
    src3 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length3 input.int(title='Length'defval=12minval=1)
    rmsLength3 input.int(title='RMSLength'defval=50minval=1)

    mom3 src3 nz(src3[length3])
    hannLength3 math.ceil(length3 1.4)
    filt3 0.0
    coef3 
    0.0
    for 1 to hannLength3 by 1
        cos3 
    math.cos(math.pi / (hannLength3 1))
        
    filt3 += cos3 nz(mom3[1])
        
    coef3 += cos3
        coef3
    hFilt3 
    coef3 != filt3 coef3 0

    filtMa3 
    math.sum(math.pow(hFilt32), rmsLength3) / rmsLength3
    rms3 
    filtMa3 math.sqrt(filtMa3) : 0
    scaledFilt3 
    rms3 != hFilt3 rms3 0

    a13 
    math.exp(-1.414 math.pi math.abs(scaledFilt3) / length3)
    b13 a13 math.cos(1.414 math.pi math.abs(scaledFilt3) / length3)
    c23 b13
    c33 
    = -a13 a13
    c13 
    c23 c33

    dsss3 
    0.0
    dsss3 
    := c13 * ((src3 nz(src3[1])) / 2) + c23 nz(dsss3[1]) + c33 nz(dsss3[2])

    slo3 src3 dsss3
    sig3 
    slo3 slo3 nz(slo3[1]) ? slo3 slo3 nz(slo3[1]) ? -: -0

    dsssColor 
    sig3 color.green sig3 color.lime sig3 < -color.maroon sig3 color.red color.black

    plot
    (dsss3title='Filter'color=dsssColorlinewidth=2)
    ///////////////////////////////////////////////////////////
    src4 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length4 input.int(title='Length'defval=27minval=1)

    a14 math.exp(-1.414 math.pi length4)
    b14 a14 math.cos(1.414 math.pi length4)
    c24 b14
    c34 
    = -a14 a14
    c14 
    c24 c34

    ssf4 
    0.0
    ssf4 
    := bar_index src4 0.5 c14 * (src4 nz(src4[1])) + c24 nz(ssf4[1]) + c34 nz(ssf4[2])

    e14 0.0
    e14 
    := bar_index c14 * (src4 ssf4) + c24 nz(e14[1]) + c34 nz(e14[2])
    aef4 ssf4 e14

    slo4 
    src4 nz(aef4[1])
    sig4 slo4 slo4 nz(slo4[1]) ? slo4 slo4 nz(slo4[1]) ? -: -0

    aefColor 
    sig4 color.green sig4 color.lime sig4 < -color.maroon sig4 color.red color.black

    //plot(aef4, title='Filter', color=aefColor, linewidth=2)


    //////////////////////////////////////////////////////////////
    src5 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    acc5 input.float(title='Accelerator'defval=1.0minval=1.0step=0.01)
    minLength5 input.int(title='MinLength'defval=5minval=1)
    maxLength5 input.int(title='MaxLength'defval=50minval=1)
    smoothLength5 input.int(title='SmoothLength'defval=4minval=1)
    mult5 input.float(title='Multiple'defval=2.0minval=.01)

    // We are checking current volatility to see how high it is and adjust accordingly. 
    // If volatility is very high then we use the minLength and vice versa
    // Reason behind this is to hug price closely during high volatility but lag for low volatility
    mean5 ta.sma(src5maxLength5)
    stdDev5 ta.stdev(src5maxLength5)
    a5 mean5 1.75 stdDev5
    b5 
    mean5 0.25 stdDev5
    c5 
    mean5 0.25 stdDev5
    d5 
    mean5 1.75 stdDev5

    length5 
    0.0
    length5 
    := src5 >= b5 and src5 <= c5 nz(length5[1], maxLength5) + src5 a5 or src5 d5 nz(length5[1], maxLength5) - nz(length5[1], maxLength5)
    length5 := math.max(math.min(length5maxLength5), minLength5)
    len5 math.round(length5)

    // We are providing a dynamic weight depending on the current momentum
    // When momentum is at an extreme for overbought/oversold then we give more weight to the current price
    mf5 na(volume) or volume == 100.0 100.0 / (1.0 src5 len5) : ta.mfi(src5len5)
    mfScaled5 mf5 100
    p5 
    acc5 math.abs(mfScaled5) / 25

    sum5 
    0.0
    weightSum5 
    0.0
    for 0 to len5 1 by 1
        weight5 
    math.pow(len5 ip5)
        
    sum5 += src5[i] * weight5
        weightSum5 
    += weight5
        weightSum5
    uma5 
    ta.wma(sum5 weightSum5smoothLength5)

    stdev55 ta.stdev(src5len5)
    upperBand5 uma5 stdev55 mult5
    lowerBand5 
    uma5 stdev55 mult5

    slo5 
    src5 uma5
    sig5 
    src5 upperBand5 and nz(src5[1]) <= nz(upperBand5[1]) or src5 lowerBand5 and nz(src5[1]) <= nz(lowerBand5[1]) ? src5 lowerBand5 and nz(src5[1]) >= nz(lowerBand5[1]) or src5 upperBand5 and nz(src5[1]) >= nz(upperBand5[1]) ? -slo5 slo5 nz(slo5[1]) ? slo5slo5 nz(slo5[1]) ? -: -0

    umaColor 
    sig5 color.green sig5 color.lime sig5 < -color.maroon sig5 color.red color.black

    //plot(upperBand5, title='UpperBand', linewidth=2, color=umaColor)
    //plot(uma5, title='MiddleBand', linewidth=1, color=color.new(color.white, 0))
    //plot(lowerBand5, title='LowerBand', linewidth=2, color=umaColor)


    /////////////////////////////////////////////////////////////////////////////////////
    src6 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    acc6 input.float(title='Accelerator'defval=1.0minval=1.0step=0.01)
    minLength6 input.int(title='MinLength'defval=5minval=1)
    maxLength6 input.int(title='MaxLength'defval=50minval=1)
    smoothLength6 input.int(title='SmoothLength'defval=4minval=1)

    // We are checking current volatility to see how high it is and adjust accordingly. 
    // If volatility is very high then we use the minLength and vice versa
    // Reason behind this is to hug price closely during high volatility but lag for low volatility
    mean6 ta.sma(src6maxLength6)
    stdDev6 ta.stdev(src6maxLength6)
    a6 mean6 1.75 stdDev6
    b6 
    mean6 0.25 stdDev6
    c6 
    mean6 0.25 stdDev6
    d6 
    mean6 1.75 stdDev6

    length6 
    0.0
    length6 
    := src6 >= b6 and src6 <= c6 nz(length6[1], maxLength6) + src6 a6 or src6 d6 nz(length6[1], maxLength6) - nz(length6[1], maxLength6)
    length6 := math.max(math.min(length6maxLength6), minLength6)
    len6 math.round(length6)

    // We are providing a dynamic weight depending on the current momentum
    // When momentum is at an extreme for overbought/oversold then we give more weight to the current price
    mf6 na(volume) or volume == 100.0 100.0 / (1.0 src6 len6) : ta.mfi(src6len6)
    mfScaled6 mf6 100
    p6 
    acc6 math.abs(mfScaled6) / 25

    sum6 
    0.0
    weightSum6 
    0.0
    for 0 to len6 1 by 1
        weight6 
    math.pow(len6 ip6)
        
    sum6 += src6[i] * weight6
        weightSum6 
    += weight6
        weightSum6
    uma6 
    ta.wma(sum6 weightSum6smoothLength6)

    slo6 src6 uma6
    sig6 
    slo6 slo6 nz(slo6[1]) ? slo6 slo6 nz(slo6[1]) ? -: -0

    umaColor6 
    sig6 color.green sig6 color.lime sig6 < -color.maroon sig6 color.red color.black

    //plot(uma6, title='UMA', linewidth=2, color=umaColor6)
    //////////////////////////////////////////////////////////
    src7 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length7 input.int(title='Length'defval=15minval=1)

    ma7 ta.sma(src7length7)
    a7 ta.linreg(src7length70)
    m7 a7 nz(a7[1]) + ma7
    ie27 
    = (m7 a7) / 2

    slo7 
    src7 ie27
    sig7 
    slo7 slo7 nz(slo7[1]) ? slo7 slo7 nz(slo7[1]) ? -: -0

    ie2Color 
    sig7 color.green sig7 color.lime sig7 < -color.maroon sig7 color.red color.white

    //plot(ie27, title='IE2', color=ie2Color, linewidth=2)


    ////////////////////////////////////////////////////////
    src8 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length8 input(title='Length'defval=14)

    sum8 0.0
    weightSum8 
    0.0
    for 0 to length8 1 by 1
        weight8 
    math.pow(length8 i3)
        
    sum8 += src8[i] * weight8
        weightSum8 
    += weight8
        weightSum8
    cwma8 
    sum8 weightSum8

    sig8 
    src8 cwma8 src8 cwma8 ? -0

    cwmaColor 
    sig8 color.green sig8 color.red color.black

    //plot(cwma8, title='CWMA', linewidth=2, color=cwmaColor)
    ////////////////////////////////////////////////////////////
    src9 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length9 input.int(title='Length'defval=15minval=1)

    pi9 math.asin(1)
    a9 math.exp(-1.414 pi9 length9)
    b9 a9 math.cos(1.414 pi9 length9)
    c29 b9
    c39 
    = -a9 a9
    c19 
    = (b9 math.pow(a92)) / 4

    bf9 
    0.0
    bf9 
    := bar_index src9 c19 * (src9 nz(src9[1]) + nz(src9[2])) + c29 nz(bf9[1]) + c39 nz(bf9[2])

    sig9 src9 bf9 src9 bf9 ? -0
    bfColor9 
    sig9 color.green sig9 color.red color.black

    //plot(bf9, title='2PBF', color=bfColor9, linewidth=2)
    ///////////////////////////////////////////////////////
    src10 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length10 input.int(title='Length'defval=10minval=1)

    pi10 math.asin(1)
    a10 math.exp(-1.414 pi10 length10)
    b10 a10 math.cos(1.414 1.25 pi10 length10)
    c210 b10
    c310 
    = -a10 a10
    c110 
    c210 c310

    bf10 
    0.0
    bf10 
    := c110 src10 c210 nz(bf10[1]) + c310 nz(bf10[2])

    sig10 src10 bf10 src10 bf10 ? -0
    bfColor10 
    sig10 color.green sig10 color.red color.black

    //plot(bf10, title='2PBF', color=bfColor10, linewidth=2)


    ///////////////////////////////////////////////////////
    src11 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length11 input.int(title='Length'defval=15minval=1)

    pi11 math.asin(1)
    a111 math.exp(-1.414 pi11 length11)
    b111 a111 math.cos(1.414 pi11 length11)
    coef211 b111
    coef311 
    = -a111 a111
    coef111 
    coef211 coef311

    ssf11 
    0.0
    ssf11 
    := bar_index src11 coef111 src11 coef211 nz(ssf11[1]) + coef311 nz(ssf11[2])

    sig11 src11 ssf11 src11 ssf11 ? -0

    ssfColor 
    sig11 color.green sig11 color.red color.black

    //plot(ssf11, title='SSF', color=ssfColor, linewidth=2)
    /////////////////////////////////////////////////////
    src12 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length12 input.int(title='Length'defval=10minval=1)

    pi12 math.asin(1)
    a12 math.exp(-1.414 pi12 length12)
    b12 a12 math.cos(1.414 pi12 length12)
    c212 b12
    c312 
    = -a12 a12
    c112 
    c212 c312

    ssf12 
    0.0
    ssf12 
    := c112 * ((src12 nz(src12[1])) / 2) + c212 nz(ssf12[1]) + c312 nz(ssf12[2])

    sig12 src12 ssf12 src12 ssf12 ? -0

    ssfColor12 
    sig12 color.green sig12 color.red color.black

    //plot(ssf12, title='SSF', color=ssfColor12, linewidth=2)
    /////////////////////////////////////////////////////
    src13 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length13 input.int(title='Length'defval=10minval=1)

    pi13 math.asin(1)
    a130 math.exp(-pi13 length13)
    b130 a130 math.cos(1.738 pi13 length13)
    c130 a130 a130
    d213 
    b130 c130
    d313 
    = -(c130 b130 c130)
    d413 c130 c130
    d113 
    d213 d313 d413

    bf13 
    0.0
    bf13 
    := d113 src13 d213 nz(bf13[1]) + d313 nz(bf13[2]) + d413 nz(bf13[3])

    sig13 src13 bf13 src13 bf13 ? -0

    bfColor13 
    sig13 color.green sig13 color.red color.black

    //plot(bf13, title='3PBF', color=bfColor13, linewidth=2)

    //////////////////////////////////////////////////////
    src14 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length14 input.int(title='Length'defval=15minval=1)

    pi14 math.asin(1)
    a114 math.exp(-pi14 length14)
    b114 a114 math.cos(1.738 pi14 length14)
    c114 a114 a114
    coef214 
    b114 c114
    coef314 
    = -(c114 b114 c114)
    coef414 c114 c114
    coef114 
    = (b114 c114) * (c114) / 8

    bf14 
    0.0
    bf14 
    := bar_index src14 coef114 * (src14 nz(src14[1]) + nz(src14[2]) + nz(src14[3])) + coef214 nz(bf14[1]) + coef314 nz(bf14[2]) + coef414 nz(bf14[3])

    sig14 src14 bf14 src14 bf14 ? -0

    bfColor14 
    sig14 color.green sig14 color.red color.black

    //plot(bf14, title='3PBF', color=bfColor14, linewidth=2)
    ///////////////////////////////////////
    src15 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length15 input.int(title='Length'defval=15minval=1)

    pi15 math.asin(1)
    a115 math.exp(-pi15 length15)
    b115 a115 math.cos(1.738 pi15 length15)
    c115 a115 a115
    coef215 
    b115 c115
    coef315 
    = -(c115 b115 c115)
    coef415 c115 c115
    coef115 
    coef215 coef315 coef415

    ssf15 
    0.0
    ssf15 
    := bar_index src15 coef115 src15 coef215 nz(ssf15[1]) + coef315 nz(ssf15[2]) + coef415 nz(ssf15[3])

    sig15 src15 ssf15 src15 ssf15 ? -0

    ssfColor15 
    sig15 color.green sig15 color.red color.black

    //plot(ssf15, title='SSF', color=ssfColor15, linewidth=2)
    ////////////////////////////////////////////
    src16 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length16 input.int(title='Length'defval=20minval=1)

    pi16 math.asin(1)
    twoPiPrd16 pi16 length16
    alpha16 
    = (math.cos(twoPiPrd16) + math.sin(twoPiPrd16) - 1) / math.cos(twoPiPrd16)

    dec16 0.0
    dec16 
    := alpha16 * (src16 nz(src16[1])) + (alpha16) * nz(dec16[1])

    sig16 src16 dec16 src16 dec16 ? -0

    decColor16 
    sig16 color.green sig16 color.red color.black

    //plot(dec16, title='DEC', color=decColor16, linewidth=2)

    ////////////////////////////////
    length17 input.int(title='Length'defval=15minval=1)
    src17 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]

    num17 0.0
    coefSum17 
    0.0
    for 0 to length17 1 by 1
        distance17 
    0.0
        
    for lb17 1 to length17 1 by 1
            distance17 
    += math.pow(nz(src17[i]) - nz(src17[lb17]), 2)
            
    distance17
        num17 
    += distance17 nz(src17[i])
        
    coefSum17 += distance17
        coefSum17

    filt17 
    coefSum17 != num17 coefSum17 0

    sig17 
    src17 filt17 src17 filt17 ? -0

    filtColor17 
    sig17 color.green sig17 color.red color.black

    //plot(filt17, title='Filter', color=filtColor17, linewidth=2)
    ///////////////////////////////
    src18 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length18 input.int(title="Length"defval=14minval=1)
    pedestal18 input.float(title="Pedestal"defval=3minval=0.01)

    filt18 0.0coef18 0.0
    for 0 to length18 1
        sine18 
    math.sin(pedestal18 + (((math.pi - (pedestal18)) * i) / (length18 1)))
        
    filt18 := filt18 + (sine18 nz(src18[i]))
        
    coef18 := coef18 sine18
    filt18 
    := coef18 != filt18 coef18 0

    slo18 
    src18 filt18
    sig18 
    slo18 slo18 nz(slo18[1]) ? slo18 slo18 nz(slo18[1]) ? -: -0


    hmaColor18 
    sig18 color.green sig18 color.lime sig18 < -color.maroon sig18 color.red color.white

    //plot(filt18, title='Hma', color=hmaColor18, linewidth=2)
    //////////////////////////////
    src19 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length19 input.int(title="Length"defval=14minval=1)

    filt19 0.0coef19 0.0
    for 1 to length19 by 1
        cosine19 
    math.cos(math.pi / (length19 1))
        
    filt19 += cosine19 nz(src19[1])
        
    coef19 += cosine19
    filt19 
    := coef19 != filt19 coef19 0

    slo19 
    src19 filt19
    sig19 
    slo19 slo19 nz(slo19[1]) ? slo19 slo19 nz(slo19[1]) ? -: -0


    hmaColor19 
    sig19 color.green sig19 color.lime sig19 < -color.maroon sig19 color.red color.white

    //plot(filt19, title='Hma', color=hmaColor19, linewidth=2)

    /////////////////////////////////////
    src20 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]

    pi20 math.asin(1)
    period20 0.0
    smooth20 
    = (src20 nz(src20[1]) + nz(src20[2]) + nz(src20[3])) / 10
    detrender20 
    = (0.0962 smooth20 0.5769 nz(smooth20[2]) - 0.5769 nz(smooth20[4]) - 0.0962 nz(smooth20[6])) * (0.075 nz(period20[1]) + 0.54)

    q120 = (0.0962 detrender20 0.5769 nz(detrender20[2]) - 0.5769 nz(detrender20[4]) - 0.0962 nz(detrender20[6])) * (0.075 nz(period20[1]) + 0.54)
    i120 nz(detrender20[3])

    jI20 = (0.0962 i120 0.5769 nz(i120[2]) - 0.5769 nz(i120[4]) - 0.0962 nz(i120[6])) * (0.075 nz(period20[1]) + 0.54)
    jQ20 = (0.0962 q120 0.5769 nz(q120[2]) - 0.5769 nz(q120[4]) - 0.0962 nz(q120[6])) * (0.075 nz(period20[1]) + 0.54)

    i220 i120 jQ20
    i220 
    := 0.2 i220 0.8 nz(i220[1])
    q220 q120 jI20
    q220 
    := 0.2 q220 0.8 nz(q220[1])

    re20 i220 nz(i220[1]) + q220 nz(q220[1])
    re20 := 0.2 re20 0.8 nz(re20[1])
    im20i220 nz(q220[1]) - q220 nz(i220[1])
    im20 := 0.2 im20 0.8 nz(im20[1])

    period20 := im20 != and re20 != pi20 math.atan(im20 re20) : 0
    period20 
    := math.min(math.max(period200.67 nz(period20[1])), 1.5 nz(period20[1]))
    period20 := math.min(math.max(period206), 50)
    period20 := 0.2 period20 0.8 nz(period20[1])

    smoothPeriod20 0.0
    smoothPeriod20 
    := 0.33 period20 0.67 nz(smoothPeriod20[1])

    dcPeriod20 math.ceil(smoothPeriod20 0.5)
    iTrend20 0.0
    for 0 to dcPeriod20 1 by 1
        iTrend20 
    += nz(src20[i])
        
    iTrend20
    iTrend20 
    := dcPeriod20 iTrend20 dcPeriod20 iTrend20

    trendline20 
    = (iTrend20 nz(iTrend20[1]) + nz(iTrend20[2]) + nz(iTrend20[3])) / 10

    sig20 
    smooth20 trendline20 smooth20 trendline20 ? -0

    tlColor20 
    sig20 color.green sig20 color.red color.black

    //plot(trendline20, title='Trendline', color=tlColor20, linewidth=2)
    ///////////////////////////////////
    src21 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    alpha21 input.float(title='Alpha'defval=0.07minval=0.01step=0.01)

    itrend21 0.0
    itrend21 
    := bar_index ? (src21 nz(src21[1]) + nz(src21[2])) / : (alpha21 math.pow(alpha212) / 4) * src21 0.5 math.pow(alpha212) * nz(src21[1]) - (alpha21 0.75 math.pow(alpha212)) * nz(src21[2]) + * (alpha21) * nz(itrend21[1]) - math.pow(alpha212) * nz(itrend21[2])
    trigger21 itrend21 nz(itrend21[2])

    sig21 trigger21 itrend21 trigger21 itrend21 ? -0
    itColor21 
    sig21 color.green sig21 color.red color.black

    //plot(trigger21, title='Trigger', color=itColor21, linewidth=2)
    //plot(itrend21, title='ITrend', color=color.new(color.black, 0), linewidth=1)

    //////////////////////
    src22 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length22 input.int(title='Length'defval=20minval=1)

    deltaSum22 0.0
    for int i 0 to length22 1 by 1
        deltaSum22 
    += math.abs(nz(src22[i]) - nz(src22[1]))
    ef22 deltaSum22 != math.min(math.abs(src22 nz(src22[length22 1])) / deltaSum221) : 0
    s22 
    math.pow((0.6667 ef22) + 0.06452)

    kama22 0.0
    kama22 
    := (s22 src22) + ((s22) * nz(kama22[1]))

    slo22 src22 kama22
    sig22 
    slo22 slo22 nz(slo22[1]) ? slo22 slo22 nz(slo22[1]) ? -: -0

    kamaColor22 
    sig22 color.green sig22 color.lime sig22 < -color.maroon sig22 color.red color.black

    //plot(kama22, title='Filter', color=kamaColor22, linewidth=2)
    ////////////////////////
    src23 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    gamma23 input.float(title='Gamma'defval=0.8minval=0.01step=0.01)

    l023 0.0
    l023 
    := (gamma23) * src23 gamma23 nz(l023[1])

    l123 0.0
    l123 
    := -gamma23 l023 nz(l023[1]) + gamma23 nz(l123[1])

    l223 0.0
    l223 
    := -gamma23 l123 nz(l123[1]) + gamma23 nz(l223[1])

    l323 0.0
    l323 
    := -gamma23 l223 nz(l223[1]) + gamma23 nz(l323[1])

    filt23 = (l023 l123 l223 l323) / 6
    fir23 
    = (src23 nz(src23[1]) + nz(src23[2]) + nz(src23[3])) / 6

    sig23 
    fir23 filt23 fir23 filt23 ? -0
    lfColor23 
    sig23 color.green sig23 color.red color.black

    //plot(filt23, title='FILT', color=lfColor23, linewidth=2)
    //plot(fir23, title='FIR', color=color.new(color.black, 0), linewidth=1)

    /////////////////////////////////
    src24 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    threshold24 input.float(title='Threshold'defval=0.002minval=0.0001step=0.001)
    length24 input.int(title='Length'defval=39minval=1)

    smth24 = (src24 + (nz(src24[1])) + (nz(src24[2])) + nz(src24[3])) / 6
    len24 
    length24
    v324 
    0.2v224 0.0alpha24 0.0
    while (v324 threshold24 and len24 0)
        
    alpha24 := 2.0 / (len24 1)
        
    v124 ta.median(smth24len24)
        
    v224 := (alpha24 smth24) + ((alpha24) * nz(v224[1]))
        
    v324 := v124 != math.abs(v124 v224) / v124 v324
        len24 
    -= 2

    len24 
    := len24 len24
    alpha24 
    := 2.0 / (len24 1)

    filter24 0.0
    filter24 
    := (alpha24 smth24) + ((alpha24) * nz(filter24[1]))

    slo24 src24 filter24
    sig24 
    slo24 slo24 nz(slo24[1]) ? slo24 slo24 nz(slo24[1]) ? -: -0

    maafColor24 
    sig24 color.green sig24 color.lime sig24 < -color.maroon sig24 color.red color.black

    //plot(filter24, title='MAAF', linewidth=2, color=maafColor24)
    ///////////////////////////////
    src25 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    fastLimit25 input.float(title='FastLimit'defval=0.5minval=0.01step=0.01)
    slowLimit25 input.float(title='SlowLimit'defval=0.05minval=0.01step=0.01)

    pi25 math.asin(1)
    period25 0.0
    smooth25 
    = (src25 nz(src25[1]) + nz(src25[2]) + nz(src25[3])) / 10
    detrender25 
    = (0.0962 smooth25 0.5769 nz(smooth25[2]) - 0.5769 nz(smooth25[4]) - 0.0962 nz(smooth25[6])) * (0.075 nz(period25[1]) + 0.54)

    q125 = (0.0962 detrender25 0.5769 nz(detrender25[2]) - 0.5769 nz(detrender25[4]) - 0.0962 nz(detrender25[6])) * (0.075 nz(period25[1]) + 0.54)
    i125 nz(detrender25[3])

    jI25 = (0.0962 i125 0.5769 nz(i125[2]) - 0.5769 nz(i125[4]) - 0.0962 nz(i125[6])) * (0.075 nz(period25[1]) + 0.54)
    jQ25 = (0.0962 q125 0.5769 nz(q125[2]) - 0.5769 nz(q125[4]) - 0.0962 nz(q125[6])) * (0.075 nz(period25[1]) + 0.54)

    i225 i125 jQ25
    i225 
    := 0.2 i225 0.8 nz(i225[1])
    q225 q125 jI25
    q225 
    := 0.2 q225 0.8 nz(q225[1])

    re25 i225 nz(i225[1]) + q225 nz(q225[1])
    re25 := 0.2 re25 0.8 nz(re25[1])
    im25 i225 nz(q225[1]) - q225 nz(i225[1])
    im25 := 0.2 im25 0.8 nz(im25[1])

    period25 := im25 != and re25 != pi25 math.atan(im25 re25) : 0
    period25 
    := math.min(math.max(period250.67 nz(period25[1])), 1.5 nz(period25[1]))
    period25 := math.min(math.max(period256), 50)
    period25 := 0.2 period25 0.8 nz(period25[1])

    smoothPeriod25 0.0
    smoothPeriod25 
    := 0.33 period25 0.67 nz(smoothPeriod25[1])

    phase25 i125 != math.atan(q125 i125) * 180 pi25 0
    deltaPhase25 
    nz(phase25[1]) - phase25
    deltaPhase25 
    := deltaPhase25 deltaPhase25

    alpha25 
    fastLimit25 deltaPhase25
    alpha25 
    := alpha25 slowLimit25 slowLimit25 alpha25

    mama25 
    0.0
    mama25 
    := alpha25 src25 + (alpha25) * nz(mama25[1])

    fama25 0.0
    fama25 
    := 0.5 alpha25 mama25 + (0.5 alpha25) * nz(fama25[1])

    sig25 mama25 fama25 mama25 fama25 ? -0

    mamaColor25 
    sig25 color.green sig25 color.red color.black

    //plot(mama25, title='MAMA', color=mamaColor25, linewidth=2)
    //plot(fama25, title='FAMA', color=color.new(color.black, 0), linewidth=1)

    //////////////////////////////////////
    length26 input.int(title='Length'defval=15minval=1)
    momLength26 input.int(title='MomentumLength'defval=5minval=1)
    src26 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]

    num26 0.0
    coefSum26 
    0.0
    for 0 to length26 1 by 1
        coef26 
    math.abs(nz(src26[i]) - nz(src26[momLength26]))
        
    num26 += coef26 nz(src26[i])
        
    coefSum26 += coef26
        coefSum26

    filt26 
    coefSum26 != num26 coefSum26 0

    sig26 
    src26 filt26 src26 filt26 ? -0

    filtColor26 
    sig26 color.green sig26 color.red color.black

    //plot(filt26, title='Filter', color=filtColor26, linewidth=2)
    //////////////////////////////////
    src27 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]

    wma127 = (src27 nz(src27[1]) + nz(src27[2]) + nz(src27[3]) + nz(src27[4]) + nz(src27[5]) + nz(src27[6])) / 28
    wma227 
    = (wma127 nz(wma127[1]) + nz(wma127[2]) + nz(wma127[3]) + nz(wma127[4]) + nz(wma127[5]) + nz(wma127[6])) / 28

    predict27 
    wma127 wma227
    trigger27 
    = (predict27 nz(predict27[1]) + nz(predict27[2]) + nz(predict27[3])) / 10

    sig27 
    predict27 trigger27 predict27 trigger27 ? -0

    pmaColor27 
    sig27 color.green sig27 color.red color.black

    //plot(predict27, title='Predict', color=pmaColor27, linewidth=2)
    //plot(trigger27, title='Trigger', color=color.new(color.black, 0), linewidth=1)

    /////////////////////////////////////
    src28 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length28 input.int(title="Length"defval=14minval=1)

    filt28 0.0coef28 0.0l228 length28 2.0
    for 1 to length28
        c28 
    l228 l228 length28 l228
        filt28 
    := filt28 + (c28 nz(src28[1]))
        
    coef28 := coef28 c28
    filt28 
    := coef28 != filt28 coef28 0

    slo28 
    src28 filt28
    sig28 
    slo28 slo28 nz(slo28[1]) ? slo28 slo28 nz(slo28[1]) ? -: -0

    tmaColor28 
    sig28 color.green sig28 color.lime sig28 < -color.maroon sig28 color.red color.white

    //plot(filt28, title='Tma', color=tmaColor28, linewidth=2)
    //////////////////////////////////
    src29 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    shortLength29 input.int(title='ShortLength'defval=9minval=1)
    longLength29 input.int(title='LongLength'defval=30minval=1)

    shortAvg29 ta.wma(src29shortLength29)
    shortMa29 math.sum(math.pow(src29 shortAvg292), shortLength29) / shortLength29
    shortRms29 
    shortMa29 math.sqrt(shortMa29) : 0

    longAvg29 
    ta.wma(src29longLength29)
    longMa29 math.sum(math.pow(src29 longAvg292), longLength29) / longLength29
    longRms29 
    longMa29 math.sqrt(longMa29) : 0

    kk29 
    longRms29 != 0.2 shortRms29 longRms29 0
    vidya29 
    0.0
    vidya29 
    := kk29 src29 + (kk29) * nz(vidya29[1])

    slo29 src29 vidya29
    sig29 
    slo29 slo29 nz(slo29[1]) ? slo29 slo29 nz(slo29[1]) ? -: -0

    vidyaColor29 
    sig29 color.green sig29 color.lime sig29 < -color.maroon sig29 color.red color.black

    //plot(vidya29, title='Vidya', color=vidyaColor29, linewidth=2)
    ////////////////////////////////////////
    src31 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length31 input(title='Length'defval=11)
    offset31 input(title='Offset'defval=4)

    sum31 0.0
    weightSum31 
    0.0
    for 0 to length31 1 by 1
        weight31 
    length31 offset31
        sum31 
    += src31[i] * weight31
        weightSum31 
    += weight31
        weightSum31
    epma31 
    weightSum31 sum31

    sig31 
    src31 epma31 src31 epma31 ? -0

    epmaColor31 
    sig31 color.green sig31 color.red color.black

    //plot(epma31, title='EPMA', linewidth=2, color=epmaColor31)

    ////////////////////////////////
    src32 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length32 input.int(title='Length'defval=14minval=1)

    jsa32 = (src32 src32[length32]) / 2

    sig32 
    src32 jsa32 src32 jsa32 ? -0

    jsaColor32 
    sig32 color.green sig32 color.red color.black

    //plot(jsa32, color=jsaColor32, linewidth=2)
    /////////////////////////////
    src33 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    fastLength33 input.int(title "FastLength"defval 14minval 1)
    slowLength33 input.int(title "SlowLength"defval 30minval 1)

    leavittProjection(src33length33) =>
        
    result33 ta.linreg(src33length33, -1)
        
    fastLp33 leavittProjection(src33fastLength33)
    slowLp33 leavittProjection(src33slowLength33)

    slo33 fastLp33 slowLp33
    sig33 
    slo33 slo33 nz(slo33[1]) ? slo33 slo33 nz(slo33[1]) ? -: -0

    lpColor33 
    sig33 color.green sig33 color.lime sig33 < -color.maroon sig33 color.red color.white

    //plot(fastLp33, title = 'FastLp', color = lpColor33, linewidth = 2)
    //plot(slowLp33, title = 'SlowLp', color = chart.fg_color, linewidth = 1)

    //////////////////////////////////
    src34 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length34 input(title='Length'defval=5)
    k34 input.float(title='K Constant'step=0.1defval=0.6)

    mdi34 0.0
    mdi34 
    := na(mdi34[1]) ? src34 nz(mdi34[1]) + (src34 nz(mdi34[1])) / math.max(k34 length34 math.pow(src34 nz(mdi34[1]), 4), 1)

    sig34 src34 mdi34 src34 mdi34 ? -0

    mdiColor34 
    sig34 color.green sig34 color.red color.black

    //plot(mdi34, title='MDI', linewidth=2, color=mdiColor34)
    ////////////////////////////////////////////
    src35 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length35 input.int(title='Length'defval=10minval=1)
    fastLength35 input.int(title='FastLength'defval=2minval=1)
    slowLength35 input.int(title='SlowLength'defval=30minval=1)

    // first half uses the same formula as the kaufman adaptive moving average
    diff35 math.abs(src35 nz(src35[1]))
    signal35 math.abs(src35 nz(src35[length35]))
    noise35 math.sum(diff35length35)
    ratio35 noise35 != signal35 noise35 0

    // this is where it differs from the kaufman adaptive moving average
    fastSc35 / (fastLength35 1)
    slowSc35 / (slowLength35 1)
    temp35 ratio35 fastSc35 slowSc35
    maaq35 
    0.0
    prevMaaq35 
    nz(maaq35[1], src35)
    maaq35 := prevMaaq35 math.pow(temp352) * (src35 prevMaaq35)

    sig35 src35 maaq35 src35 maaq35 ? -0

    maaqColor35 
    sig35 color.green sig35 color.red color.black

    //plot(maaq35, title='MAAQ', linewidth=2, color=maaqColor35)
    ///////////////////////////////
    src36 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    fac36 input.float(title='Factor'defval=0.2minval=0.01)

    val236 fac36 1
    factor36 
    / (val236 1)
    mwdx36 0.0
    mwdx36 
    := factor36 src36 + (factor36) * nz(mwdx36[1], src36)

    sig36 src36 mwdx36 src36 mwdx36 ? -0

    mwdxColor36 
    sig36 color.green sig36 color.red color.black

    //plot(mwdx36, title='MWDX', linewidth=2, color=mwdxColor36)

    ////////////////////////
    src37 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    fastLength37 input.int(title='FastLength'defval=10minval=1)
    slowLength37 input.int(title='SlowLength'defval=50minval=1)
    mult37 input.int(title='Multiple'defval=1minval=1)

    fastEma37 ta.ema(src37fastLength37)
    slowEma37 ta.ema(src37slowLength37)
    sqAvg37 math.sum(math.pow(slowEma37 fastEma372), fastLength37) / fastLength37
    dev37 
    math.sqrt(sqAvg37) * mult37

    upperBand37 
    slowEma37 dev37
    lowerBand37 
    slowEma37 dev37
    middleBand37 
    fastEma37

    sig37 
    src37 upperBand37 and nz(src37[1]) <= nz(upperBand37[1]) or src37 lowerBand37 and nz(src37[1]) <= nz(lowerBand37[1]) ? src37 lowerBand37 and nz(src37[1]) >= nz(lowerBand37[1]) or src37 upperBand37 and nz(src37[1]) >= nz(upperBand37[1]) ? -src37 middleBand37 src37 middleBand37 ? -0

    mabColor37 
    sig37 color.green sig37 color.red color.black

    //plot(upperBand37, title='MabUp', color=mabColor37, linewidth=2)
    //plot(middleBand37, title='MabMid', color=color.new(color.black, 0), linewidth=1)
    //plot(lowerBand37, title='MabLow', color=mabColor37, linewidth=2)
    //////////////////////////////////
    src38 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length38 input(title='Length'defval=14)

    sum38 0.0
    weightSum38 
    0.0
    owma38 
    0.0
    for 0 to length38 1 by 1
        corr38 
    ta.correlation(src38owma38length38)
        
    weight38 math.pow(length38 icorr38)
        
    sum38 += src38[i] * weight38
        weightSum38 
    += weight38
        weightSum38
    owma38 
    := sum38weightSum38

    sig38 
    src38 owma38 src38 owma38 ? -0

    owmaColor38 
    sig38 color.green sig38 color.red color.black

    //plot(owma38, title='OWMA', linewidth=2, color=owmaColor38)
    /////////////////////////////////
    src39 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    minLength39 input.int(title='MinLength'defval=5minval=1)
    maxLength39 input.int(title='MaxLength'defval=50minval=1)

    mean39 ta.sma(src39maxLength39)
    stdDev39 ta.stdev(src39maxLength39)
    a39 mean39 1.75 stdDev39
    b39 
    mean39 0.25 stdDev39
    c390 
    mean39 0.25 stdDev39
    d39 
    mean39 1.75 stdDev39

    length39 
    0.0
    length39 
    := src39 >= b39 and src39 <= c390 nz(length39[1], maxLength39) + src39 a39 or src39 d39 nz(length39[1], maxLength39) - nz(length39[1], maxLength39)
    length39 := math.max(math.min(length39maxLength39), minLength39)
    sc39 / (length39 1)
    vlma39 0.0
    vlma39 
    := src39 sc39 + (sc39) * nz(vlma39[1], src39)

    sig39 src39 vlma39 src39 vlma39 ? -0

    vlmaColor39 
    sig39 color.green sig39 color.red color.black

    //plot(vlma39, title='VLMA', linewidth=2, color=vlmaColor39)

    //////////////////////////////
    src41 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length41 input(title='Length'defval=14)
    p41 input.float(title='Power'minval=0defval=1.0)

    sum41 0.0
    weightSum41 
    0.0
    for 0 to length41 1 by 1
        weight41 
    math.pow(length41 ip41)
        
    sum41 += src41[i] * weight41
        weightSum41 
    += weight41
        weightSum41
    vpwma41 
    sum41 weightSum41

    sig41 
    src41 vpwma41 src41 vpwma41 ? -0

    vpwmaColor41 
    sig41 color.green sig41 color.red color.black

    //plot(vpwma41, title='VPWMA', linewidth=2, color=vpwmaColor41)
    /////////////////////////////
    src42 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length42 input(title='Length'defval=14)

    sum42 0.0
    weightSum42 
    0.0
    for 0 to length42 1 by 1
        weight42 
    math.pow(length42 i2)
        
    sum42 += src42[i] * weight42
        weightSum42 
    += weight42
        weightSum42
    swma42 
    sum42 weightSum42

    sig42 
    src42 swma42 src42 swma42 ? -0

    swmaColor42 
    sig42 color.green sig42 color.red color.black

    //plot(swma42, title='SWMA', linewidth=2, color=swmaColor42)
    //////////////////////////
    src43 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length43 input(title='Length'defval=14)

    sum43 0.0
    weightSum43 
    0.0
    for 0 to length43 1 by 1
        weight43 
    math.pow(length43 i0.5)
        
    sum43 += src43[i] * weight43
        weightSum43 
    += weight43
        weightSum43
    srwma43 
    sum43 weightSum43

    sig43 
    src43 srwma43 src43 srwma43 ? -0

    srwmaColor43 
    sig43 color.green sig43 color.red color.black

    //plot(srwma43, title='SRWMA', linewidth=2, color=srwmaColor43)
    ////////////////////////
    src44 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length44 input.int(title='Length'defval=20minval=1)
    middleBandLength44 input.int(title='MiddleBandLength'defval=21minval=1)
    bandsDeviation44 input.float(title='BandsDeviation'defval=2.4minval=0.1)
    lowBandAdjust44 input.float(title='LowBandAdjust'defval=0.9minval=0.1)

    atrPeriod44 length44 1
    atrBuf44 
    ta.atr(atrPeriod44) * bandsDeviation44
    ma44 
    ta.ema(src44length44)

    upperBand44 ma44 ma44 atrBuf44 src44
    middleBand44 
    ta.ema(src44middleBandLength44)
    lowerBand44 ma44ma44 atrBuf44 lowBandAdjust44 src44

    sig44 
    src44 upperBand44 and nz(src44[1]) <= nz(upperBand44[1]) or src44 lowerBand44 and nz(src44[1]) <= nz(lowerBand44[1]) or src44 middleBand44 src44 lowerBand44 and nz(src44[1]) >= nz(lowerBand44[1]) or src44 upperBand44 and nz(src44[1]) >= nz(upperBand44[1]) or src44 middleBand44 ? -0

    svbColor44 
    sig44 color.green sig44 color.red color.black

    //plot(upperBand44, title='SVBUp', color=svbColor44, linewidth=2)
    //plot(middleBand44, title='SVBMid', color=color.new(color.black, 0), linewidth=1)
    //plot(lowerBand44, title='SVBLow', color=svbColor44, linewidth=2)

    //////////////////////
    src45 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length45 input.int(title='Length'defval=50minval=2)
    mult45 input.float(title='Mult'defval=10.0minval=0.01)

    alpha45 2.0 / (length45 1)
    mom45 src45 nz(src45[1])
    up45 mom45 mom45 0
    dn45 
    mom45 math.abs(mom45) : 0
    upMa45 
    ta.ema(up45length45)
    dnMa45 ta.ema(dn45length45)
    rs45 upMa45 dnMa45 != math.abs(upMa45 dnMa45) / (upMa45 dnMa45) : 0

    rsEma45 
    0.0
    rsEma45 
    := nz(rsEma45[1]) + (alpha45 * (+ (rs45 mult45)) * (src45 nz(rsEma45[1])))

    slo45 src45 rsEma45
    sig45 
    slo45 slo45 nz(slo45[1]) ? slo45 slo45 nz(slo45[1]) ? -: -0

    rsemaColor45 
    sig45 color.green sig45 color.lime sig45 < -color.maroon sig45 color.red color.black

    //plot(rsEma45, title='RSEma', color=rsemaColor45, linewidth=2)
    //////////////////////
    volSym46 input.symbol(title='Volatility Symbol'defval='VIX')
    src46 request.security(syminfo.tickeridresinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    volSrc46 request.security(volSym46resinp[rep barstate.isrealtime 0])[rep barstate.isrealtime 1]
    length46 input.int(title='Length'defval=10minval=1)
    maLength46 input.int(title='MaLength'defval=10minval=1)
    mult46 input.float(title='Mult'defval=10.0minval=.01)

    alpha46 2.0 / (length46 1)
    mom46 src46 nz(src46[1])
    pv46 mom46volSrc46 0
    nv46 
    mom46 volSrc46 0
    pvMa46 
    ta.ema(pv46maLength46)
    nvMa46 ta.ema(nv46maLength46)
    rs46 pvMa46 nvMa46 != math.abs(pvMa46 nvMa46) / (pvMa46 nvMa46) : 0

    rsvaEma46 
    0.0
    rsvaEma46 
    := nz(rsvaEma46[1]) + (alpha46 * (+ (rs46 mult46)) * (src46 nz(rsvaEma46[1])))

    slo46 src46 rsvaEma46
    sig46 
    slo46 slo46 nz(slo46[1]) ? slo46 slo46 nz(slo46[1]) ? -: -0

    rsvaemaColor46 
    sig46 color.green sig46 color.lime sig46 < -color.maroon sig46 color.red color.black

    //plot(rsvaEma46, title='RSEma', color=rsvaemaColor46, linewidth=2)

    /////////////////////////////////

    float inp55 input(title 'Source'defval close)
    string res55 input.timeframe(title 'Resolution'defval '')
    bool rep55 input(title 'Allow Repainting?'defval false)

    float src47 request.security(syminfo.tickeridres55inp55[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    int length47 input.int(title 'Length'defval 40minval 2)
    float mult47 input.float(title 'Mult'defval 10.0minval 0.01)

    float alpha47 2.0 / (length47 1)
    float trL47 ta.lowest(ta.trlength47)
    float trH47 ta.highest(ta.trlength47)
    float trAdj47 trH47 trL47 != ? (ta.tr trL47) / (trH47 trL47) : 0

    float trAdjEma47 
    0.0
    trAdjEma47 
    := nz(trAdjEma47[1]) + (alpha47 * (+ (trAdj47 mult47)) * (src47 nz(trAdjEma47[1])))

    float slo47 src47 trAdjEma47
    int sig47 
    slo47 slo47 nz(slo47[1]) ? slo47 slo47 nz(slo47[1]) ? -: -0

    color tradjemaColor47 
    sig47 color.green sig47 color.lime sig47 < -color.maroon sig47 color.red color.black

    //plot(trAdjEma47, title = 'TrAdjEma', color = tradjemaColor47, linewidth = 2)
    /////////////////////////////////
    float src49 request.security(syminfo.tickeridres55inp55[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    float tr49 request.security(syminfo.tickeridres55ta.tr[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    int length49 input.int(title 'Length'defval 30minval 2)

    float hhC49 ta.highest(src49length49)
    float llC49 ta.lowest(src49length49)
    float result49 hhC49 llC49
    float effort49 
    math.sum(tr49length49)
    float alpha49 effort49 != result49 effort49 0

    float nama49 
    0.0
    nama49 
    := (alpha49 src49) + ((alpha49) * nz(nama49[1]))

    float slo49 src49 nama49
    int sig49 
    slo49 slo49 nz(slo49[1]) ? slo49 slo49 nz(slo49[1]) ? -: -0

    color namaColor49 
    sig49 color.green sig49 color.lime sig49 < -color.maroon sig49 color.red color.black

    //plot(nama49, title = 'Nama', color = namaColor49, linewidth = 2)
    //////////////////////////////////////
    float src50 request.security(syminfo.tickeridres55inp55[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    float tr50 request.security(syminfo.tickeridres55ta.tr[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    int length50 input.int(title 'Length'defval 30minval 2)

    float result50 math.abs(src50 nz(src50[length50]))
    float effort50 math.sum(tr50length50)
    float alpha50 effort50 != result50 effort50 0

    float anama50 
    0.0
    anama50 
    := (alpha50 src50) + ((alpha50) * nz(anama50[1]))

    float slo50 src50 anama50
    int sig50 
    slo50 slo50 nz(slo50[1]) ? slo50 slo50 nz(slo50[1]) ? -: -0

    color anamaColor50 
    sig50 color.green sig50 color.lime sig50 < -color.maroon sig50 color.red color.black

    //plot(anama50, title = 'Anama', color = anamaColor50, linewidth = 2)
    /////////////////////////////////////////////////////////
    float src51 request.security(syminfo.tickerres55inp55[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    int fastLength51 input.int(title 'FastLength'defval 6minval 1)
    int slowLength51 input.int(title 'SlowLength'defval 12minval 1)
    int sampleLength51 input.int(title 'SampleLength'defval 5minval 1)

    hannFilter51(float sampleSrc51int length51) =>
        
    filt51 0.0coef51 0.0
        
    for 1 to length51
            cosine51 
    math.cos(math.pi / (length51 1))
            
    filt51 := filt51 + (cosine51 nz(sampleSrc51[1]))
            
    coef51 := coef51 cosine51
        filt51 
    := coef51 != filt51 coef51 0

    float sample51 
    0.0
    sample51 
    := bar_index sampleLength51 == src51 nz(sample51[1])
    float fastAvg51 hannFilter51(sample51fastLength51)
    float slowAvg51 hannFilter51(sample51slowLength51)

    float slo51 fastAvg51 slowAvg51
    int sig51 
    slo51 slo51 nz(slo51[1]) ? slo51 slo51 nz(slo51[1]) ? -: -0

    color udsmaColor51 
    sig51 color.green sig51 color.lime sig51 < -color.maroon sig51 color.red color.black

    //plot(fastAvg51, title = "FastAverage", color = udsmaColor51, linewidth = 2)
    //plot(slowAvg51, title = "SlowAverage", color = chart.fg_color, linewidth = 1)
    //////////////////////////////////
    float src52 request.security(syminfo.tickeridres55inp55[rep55 barstate.isrealtime 0])[rep55 barstate.isrealtime 1]
    fastLength52 input.int(title "FastLength"defval 14minval 1)
    slowLength52 input.int(title "SlowLength"defval 30minval 1)

    leavittProjection52(float src52int length52) =>
        
    float result52 ta.linreg(src52length52, -1)
        
    leavittConvolution52(float src52int length52) =>
        
    int sqrtLength52 math.floor(nz(math.sqrt(length52)))
        
    float result52 ta.linreg(leavittProjection52(src52length52), sqrtLength52, -1)
        
    float fastConv52 leavittConvolution52(src52fastLength52)
    float slowConv52 leavittConvolution52(src52slowLength52)

    float slo52 fastConv52 slowConv52
    int sig52 
    slo52 slo52 nz(slo52[1]) ? slo52 slo52 nz(slo52[1]) ? -: -0

    color lcColor52 
    sig52 color.green sig52 color.lime sig52 < -color.maroon sig52 color.red color.white

    //plot(fastConv52, title = 'FastConv', color = lcColor52, linewidth = 2)
    //plot(slowConv52, title = 'SlowConv', color = chart.fg_color, linewidth = 1)
    //////////////////////////////////////////////

    ////////////////////////////////////////////

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


    f_security(_symbol66_res66_src66_repaint66) =>
        
    request.security(_symbol66_res66_src66[_repaint66 barstate.isrealtime 0])[_repaint66 barstate.isrealtime 1]

    res66 input.timeframe(title='Resolution'defval='')
    rep66 input(title='Allow Repainting?'defval=false)

    length53 input.int(title='Length'defval=14minval=1)
    factor53 input.int(title='Factor'defval=2minval=1)
    p53 f_security(syminfo.tickeridres66hl2rep66)
    h53 f_security(syminfo.tickeridres66highrep66)
    l53 f_security(syminfo.tickeridres66lowrep66)
    t53 f_security(syminfo.tickeridres66ta.trrep66)

    mpEma53 ta.ema(p53length53)
    trEma53 ta.ema(t53length53)
    stdDev53 ta.stdev(trEma53length53)

    ad53 p53 nz(p53[1]) ? mpEma53 trEma53 p53 nz(p53[1]) ? mpEma53 trEma53 mpEma53
    adm53 
    ta.ema(ad53length53)

    trndDn53 0.0
    trndDn53 
    := ta.crossunder(adm53mpEma53) ? h53[2] : p53 nz(p53[1]) ? p53 stdDev53 factor53 nz(trndDn53[1], h53[2])
    trndUp53 0.0
    trndUp53 
    := ta.crossover(adm53mpEma53) ? l53[2] : p53 nz(p53[1]) ? p53 stdDev53 factor53 nz(trndUp53[1], l53[2])
    trndr53 0.0
    trndr53 
    := adm53 mpEma53 trndDn53 adm53 mpEma53 trndUp53 nz(trndr53[1], 0)

    sig53 p53 trndr53 p53 trndr53 ? -0

    trndrColor53 
    sig53 color.green sig53 color.red color.black

    //plot(trndr53, color=trndrColor53, linewidth=2)
    //plot(mpEma53, color=color.new(color.blue, 0), linewidth=2)
    //plot(adm53, color=color.new(color.black, 0), linewidth=1)
    /////////////////////////////////////////
    c54 f_security(syminfo.tickeridres66closerep66)
    v54 f_security(syminfo.tickeridres66volumerep66)
    length54 input.int(title='Length'defval=50minval=2)
    mult54 input.float(title='Mult'defval=10.0minval=0.01)

    alpha54 2.0 / (length54 1)
    mom54 c54 nz(c54[1])
    pv54 mom54 v54 0
    nv54 
    mom54 v54 0
    pvMa54 
    ta.ema(pv54length54)
    nvMa54 ta.ema(nv54length54)
    vs54 pvMa54 nvMa54 != math.abs(pvMa54 nvMa54) / (pvMa54 nvMa54) : 0

    rsvaEma54 
    0.0
    rsvaEma54 
    := nz(rsvaEma54[1]) + (alpha54 * (+ (vs54 mult54)) * (c54 nz(rsvaEma54[1])))

    slo54 c54 rsvaEma54
    sig54 
    slo54 slo54 nz(slo54[1]) ? slo54 slo54 nz(slo54[1]) ? -: -0

    rsvaemaColor54 
    sig54 color.green sig54 color.lime sig54 < -color.maroon sig54 color.red color.black

    //plot(rsvaEma54, title='RSEma', color=rsvaemaColor54, linewidth=2)
    ////////////////////////////////////
    length56 input.int(title='Length'defval=25minval=1)

    h56 f_security(syminfo.tickeridres66highrep66)
    l56 f_security(syminfo.tickeridres66lowrep66)
    c56 f_security(syminfo.tickeridres66closerep66)

    hh56 ta.highest(h56length56)
    ll56 ta.lowest(l56length56)
    atr56 ta.atr(length56)
    mult56 math.sqrt(length56)

    dSup56 hh56 atr56 mult56
    dRes56 
    ll56 atr56 mult56
    dMid56 
    = (dSup56 dRes56) / 2

    sig56 
    c56 dMid56 c56 dMid56 ? -0

    dsrColor56 
    sig56 color.green sig56 color.red color.black

    //plot(dSup56, title='Support', color=color.new(color.red, 0), linewidth=2)
    //plot(dMid56, title='Middle', color=dsrColor56, linewidth=1)
    //plot(dRes56, title='Resistance', color=color.new(color.green, 0), linewidth=2)
    ///////////////////////////////
    length57 input.int(title='Length'defval=3minval=1)

    h57 f_security(syminfo.tickeridres66highrep66)
    l57 f_security(syminfo.tickeridres66lowrep66)
    c57 f_security(syminfo.tickeridres66closerep66)

    highMa57 ta.sma(h57length57)
    lowMa57 ta.sma(l57length57)

    ghla57 0.0
    ghla57 
    := c57 nz(highMa57[1]) ? lowMa57 c57 nz(lowMa57[1]) ? highMa57 nz(ghla57[1])

    sig57 c57 ghla57 c57 ghla57 ? -0

    ghlaColor57 
    sig57 color.green sig57 color.red color.black

    //plot(ghla57, title='GHLA', color=ghlaColor57, linewidth=2)
    //////////////////////////////////
    lbLength58 input.int(title='LookBackLength'defval=21minval=1)
    p58 f_security(syminfo.tickeridres66closerep66)
    h58 f_security(syminfo.tickeridres66highrep66)
    l58 f_security(syminfo.tickeridres66lowrep66)

    ll58 ta.lowest(lbLength58)
    hh58 ta.highest(lbLength58)

    hCount58 0
    lCount58 
    0
    cbl58 
    p58
    for 0 to lbLength58 by 1
        
    if l58[i] == ll58
            
    for j58 1 to i lbLength58 by 1
                lCount58 
    += (h58[j58] > h58[i] ? 0)
                if 
    lCount58 == 2
                    cbl58 
    := h58[j58]
                    break
        if 
    h58[i] == hh58
            
    for j58 1 to i lbLength58 by 1
                hCount58 
    += (l58[j58] < l58[i] ? 0)
                if 
    hCount58 == 2
                    cbl58 
    := l58[j58]
                    break

    sig58 p58 cbl58 p58 cbl58 ? -0

    cblColor58 
    sig58 color.green sig58 color.red color.black

    //plot(cbl58, color=cblColor58, linewidth=2)
    //////////////////////////////
    inp59 input(title='Source'defval=close)
    h59 f_security(syminfo.tickeridres66highrep66)
    l59 f_security(syminfo.tickeridres66lowrep66)
    c59 f_security(syminfo.tickeridres66inp59rep66)
    length59 input.int(title='Length'defval=14minval=1)

    mHigh59 ta.linreg(h59length590) - ta.linreg(h59length591)
    mLow59 ta.linreg(l59length590) - ta.linreg(l59length591)

    upperBand59 h59lowerBand59 l59
    for 0 to length59 1
        currH59 
    nz(h59[i])
        
    prevH59 nz(h59[1])
        
    currL59 nz(l59[i])
        
    prevL59 nz(l59[1])
        
        
    vHigh59 currH59 + (nz(mHigh59[i]) * i)
        
    vLow59 currL59 + (nz(mLow59[i]) * i)
        
        
    upperBand59 := math.max(vHigh59upperBand59)
        
    lowerBand59 := math.min(vLow59lowerBand59)
    middleBand59 = (upperBand59 59) / 2

    slo59 
    c59 middleBand59
    sig59 
    = (c59 upperBand59 and nz(c59[1]) <= nz(upperBand59[1])) or (c59 lowerBand59 and nz(c59[1]) <= nz(lowerBand59[1]))
          ? 
    : (c59 lowerBand59 and nz(c59[1]) >= nz(lowerBand59[1])) or (c59 upperBand59 and nz(c59[1]) >= nz(upperBand59[1]))
          ? -
    slo59 slo59 nz(slo59[1]) ? slo59 slo59 nz(slo59[1]) ? -: -0

    pbColor59 
    sig59 color.green sig59 color.lime sig59 < -color.maroon sig59 color.red color.black

    //plot(upperBand59, title="UpperBand", linewidth=2, color=pbColor59)
    //plot(middleBand59, title="MiddleBand", linewidth=1, color=color.white)
    //plot(lowerBand59, title="LowerBand", linewidth=2, color=pbColor59)
    ///////////////////////////////////
    length61 input.int(title='Length'defval=25minval=1)
    h61 f_security(syminfo.tickeridres66highrep66)
    l61 f_security(syminfo.tickeridres66lowrep66)
    c61 f_security(syminfo.tickeridres66closerep66)

    hh61 ta.highest(h61length61)
    ll61 ta.lowest(l61length61)
    range_161 hh61 ll61

    sup161 
    ll61 0.25 range_161
    sup261 
    ll61 0.5 range_161
    res161 
    hh61 0.25 range_161
    res261 
    hh61 0.5 range_161
    mid61 
    = (sup161 sup261 res161 res261) / 4

    sig61 
    c61 mid61 c61 mid61 ? -0

    psrColor61 
    sig61 color.green sig61 color.red color.black

    //plot(sup161, title='Support1', color=color.new(color.red, 0), linewidth=2)
    //plot(sup261, title='Support2', color=color.new(color.red, 0), linewidth=2)
    //plot(mid61, title='Middle', color=psrColor61, linewidth=1)
    //plot(res161, title='Resistance1', color=color.new(color.green, 0), linewidth=2)
    //plot(res261, title='Resistance2', color=color.new(color.green, 0), linewidth=2)

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

  2. PHP Code:
     // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
    // © carefulCode53358

    //@version=2
    study("*",overlay=true)
    //resolution
    x1=input("1"type=resolutiontitle="Resolution")
    x3=input("3"type=resolutiontitle="Resolution")
    x5=input("5"type=resolutiontitle="Resolution")
    x15=input("15"type=resolutiontitle="Resolution")
    x30=input("30"type=resolutiontitle="Resolution")
    x45=input("45"type=resolutiontitle="Resolution")
    x60=input("60"type=resolutiontitle="Resolution")
    x120=input("120"type=resolutiontitle="Resolution")
    x180=input("180"type=resolutiontitle="Resolution")
    x240=input("240"type=resolutiontitle="Resolution")
    x720=input("720"type=resolutiontitle="Resolution")
    //output functions
    sar(00.011)
    // Security
    y1 security(tickeridx1z)
    y3 security(tickeridx3z)
    y5 security(tickeridx5z)
    y15 security(tickeridx15z)
    y30 security(tickeridx30z)
    y45 security(tickeridx45z)
    y60 security(tickeridx60z)
    y120 security(tickeridx120z)
    y180 security(tickeridx180z)
    y240 security(tickeridx240z)
    y720 security(tickeridx720z)
    //Plots
    xz input(truetitle="Adaptive Coloring"type=bool)
    plot(y1title="1"style=circlescolor=xz?(y1>close?red:lime) : silvertransp=100linewidth=1)
    plot(y3title="3"style=circlescolor=xz?(y3>close?red:lime) : silvertransp=100linewidth=1)
    plot(y5title="5"style=circlescolor=xz?(y5>close?red:lime) : silvertransp=100linewidth=1)
    plot(y15title="15"style=circlescolor=xz?(y15>close?red:lime) : silvertransp=100linewidth=1)
    //plot(y30, title="30", style=circles, color=xz?(y30>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y45, title="45", style=circles, color=xz?(y45>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y60, title="60", style=circles, color=xz?(y60>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y120, title="120", style=circles, color=xz?(y120>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y180, title="180", style=circles, color=xz?(y180>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y240, title="240", style=circles, color=xz?(y240>close?red:lime) : silver, transp=100, linewidth=1)
    //plot(y720, title="720", style=circles, color=xz?(y720>close?red:lime) : silver, transp=100, linewidth=1)
    //Functions Sar for support and resistance
    q3 sar(0.01,0.02,0.2)
    q2 sar(0.01,0.04,0.4)
    q1 sar(0.01,0.06,0.6)
    plot(q1title="FAST"style=crosscolor=xz?(q1>close?red:lime) : silvertransp=00linewidth=1)
    //plot(q2, title="AVARAGE", style=circles, color=xz?(q2>close?red:lime) : silver, transp=00, linewidth=1)
    plot(q3title="SLOW"style=crosscolor=xz?(q3>close?red:lime) : silvertransp=00linewidth=1)
    //Signal
    xyzq=(y1+y3+y5+y15+q1+q2+q3)/7
    //plot(xyzq, title="TREND", style=linebr, color=xz?(y15>close?red:lime) : silver, transp=00, linewidth=2)
    //Bar Coloring
    Green close xyzq
    Red 
    close xyzq
    BarColor 
    iff(Green,lime,red)
    Buy cross(close,xyzq)
    Sell cross(xyzq,close
    barcolor(color=BarColor)
    //END

    //Fractal Reverses
    extremePast_len input(5,title="# Values to Consider for Pivot Determination, try 5-7")
    use_shading input(true,title="Use shading?")
    use_pattern_helpers input(true,title="Use Pattern Helpers (new dotted lines)?")
    use_slope_extensions input(false,title="Use Slope Extensions (old dotted lines)?")
    pattern_slope_tol input(20.0,title="Slope Tolerance for Line Continuation (x0.01%), try 20-1000")
    extremePast_len_valid extremePast_len>1?extremePast_len:2
    offset_len 
    extremePast_len_valid/// plot breaks if I take the floor here
    offset_len_floor max(floor(offset_len),1)
    minimum_ticks 20
    //up and down are true now, when the extreme occurred offset_len_floor ago. up\down are never true until after 50 ticks
    up n>minimum_ticks?(high[offset_len_floor]>=highest(high,extremePast_len_valid)):false// and (useVol?volume>=vam:true)):false
    down n>minimum_ticks?(low[offset_len_floor]<=lowest(low,extremePast_len_valid)):false// and (useVol?volume>=vam:true)):false
    //if an extreme occurred offset_len_floor ago, put it in fractalup\down now, otherwise remember last extreme
    fractalup =  up?high[offset_len_floor]:fractalup[1]
    fractaldown down?low[offset_len_floor]:fractaldown[1]

    //if an extreme occurred offset_len_floor ago, capture the n value at that time and remember it
    nUp up?n[offset_len_floor]:nz(nUp[1],n)
    nDown down?n[offset_len_floor]:nz(nDown[1],n)
    //calculate how many ticks it HAD been, offset_len_floor ago, since last extreme
    nUpAgo n>minimum_ticks?(n[offset_len_floor]-nUp):0
    nDownAgo 
    n>minimum_ticks?(n[offset_len_floor]-nDown):0

    //if extreme has occurred offset_len_floor ago, capture that extreme value once.
    tops up?fractalup:na
    bottoms 
    down?fractaldown:na
    //if an extreme occurred offset_len_floor ago, calculate rise/run
    topsSlope up?((fractalup-fractalup[nUpAgo[1]])/(nUpAgo[1]+1))://nUpAgo will already have the latest extreme's n value
    bottomsSlope down?((fractaldown-fractaldown[nDownAgo[1]])/(nDownAgo[1]+1)):0

    //if an extreme occurred offset_len_floor ago, capture the calculated slope, otherwise remember last slope
    topsLastSlope up?(topsSlope):(nz(topsLastSlope[1]))
    bottomsLastSlope down?(bottomsSlope):(nz(bottomsLastSlope[1]))

    //if an extreme occurred offset_len_floor ago, start at that extreme, otherwise, increment by slope value
    topsExtension up?fractalup:nz(topsExtension[1],high)+topsLastSlope
    bottomsExtension 
    down?fractaldown:nz(bottomsExtension[1],low)+bottomsLastSlope

    //if an extreme occurred offset_len_floor ago, find difference between new extreme and last ext val, ratio of last ext val
    topsPatternDiff up?(abs(tops-nz(topsPatternExtension[1]))/abs(nz(topsPatternExtension[1],1))):na
    bottomsPatternDiff 
    down?(abs(bottoms-nz(bottomsPatternExtension[1]))/abs(nz(bottomsPatternExtension[1],1))):na
    //and compare to tolerance ratio
    topsPatternDiffLarge up?(topsPatternDiff>abs(pattern_slope_tol/10000)):na
    bottomsPatternDiffLarge 
    down?(bottomsPatternDiff>abs(pattern_slope_tol/10000)):na

    //if an extreme occurred offset_len_floor ago far from last ext value, reset to new slope, otherwise, remember ext slope
    topsPatternSlope up?(topsPatternDiffLarge?topsSlope:nz(topsPatternSlope[1])):nz(topsPatternSlope[1])
    bottomsPatternSlope down?(bottomsPatternDiffLarge?bottomsSlope:nz(bottomsPatternSlope[1])):nz(bottomsPatternSlope[1])

    //increment to next ext val, if needed
    topsPatternExtNext nz(topsPatternExtension[1])+topsPatternSlope
    bottomsPatternExtNext 
    nz(bottomsPatternExtension[1])+bottomsPatternSlope

    //if an extreme occurred offset_len_floor ago far from last ext value, reset to new extreme, otherwise, increment last extension val
    topsPatternExtension up?(topsPatternDiffLarge?fractalup:topsPatternExtNext):(topsPatternExtNext)
    bottomsPatternExtension down?(bottomsPatternDiffLarge?fractaldown:bottomsPatternExtNext):(bottomsPatternExtNext)

    colorTops use_slope_extensions?(high[offset_len_floor]>topsExtension?color(#fc08fc,100):topsExtension<bottomsExtension?color(#fc08fc,100):color(#fc08fc,100)):na
    colorBottoms use_slope_extensions?(low[offset_len_floor]<bottomsExtension?color(#fc08fc,100):bottomsExtension>topsExtension?color(#fc08fc,100):color(#fc08fc,100)):na

    //bouncer = na(tops)?na(bottoms)?na:bottoms:tops
    //pbounce = plot(bouncer, "FTrend", color=blue,transp=100, linewidth=1, style=line, offset=-offset_len)
    //ptop = plot(tops, "FTop", color=lime,transp=100, linewidth=1, style=line, offset=-offset_len)
    //pbot = plot(bottoms, "FBot", color=red,transp=100, linewidth=1, style=line, offset=-offset_len)

    colorpxt use_shading?(high[offset_len_floor]>topsPatternExtension?color(#fc08fc,100):topsPatternExtension<bottomsPatternExtension?color(#fc08fc,100):color(#fc08fc,100)):color(#000000,100)
    colorpxb use_shading?(low[offset_len_floor]<bottomsPatternExtension?color(#fc08fc,100):bottomsPatternExtension>topsPatternExtension?color(#fc08fc,100):color(#fc08fc,100)):color(#000000,100)

    colorppt use_pattern_helpers?(high[offset_len_floor]>topsPatternExtension?color(#fc08fc,100):topsPatternExtension<bottomsPatternExtension?color(#fc08fc,100):color(#fc08fc,00)):color(#000000,100)
    colorppb use_pattern_helpers?(low[offset_len_floor]<bottomsPatternExtension?color(#fc08fc,100):topsPatternExtension<bottomsPatternExtension?color(#fc08fc,100):color(#fc08fc,00)):color(#000000,100)

    pxtPatt plot(topsPatternExtension,color=colorppt,style=circles,linewidth=1,offset=-offset_len)
    pxbPatt plot(bottomsPatternExtension,color=colorppb,style=circles,linewidth=1,offset=-offset_len)
    // 
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  3. çalışmakta olduğum kodlar bunlardı....
    kimisi eski versiyon....

    düzenleyip... sadeleştirmeye fırsatım olmayacak...belli bir süre...

    bu yüzden....
    kodların içinde istediklerinizi silin....
    değerleri değiştirin....
    daha güzelini tasarlayıp....

    tamamladıklarınızı paylaşmanız dileğiyle....

    Allah'a emanet olun.... Bol nasipleriniz olsun....

    kanserin döngüsü...ne yazık ki....kendini yenileme üzerine....olunca....

    belli bir süre...mücadeleye yeniden devam....

    insan....azda olsa karşılık beklermiş ya....

    bende sizleri tanımasam bile....
    sizlerde beni tanımasanız bile...

    hem benim için....

    hem de hastam(babam)......için dualarınızı eksik etmeyin....
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

  4. Geçmiş olsun tez zamanda şifa bulursunuz umarım.

    Redmi Note 9 Pro cihazımdan hisse.net mobile app kullanarak gönderildi.

  5. #1997
    Geçmiş olsun kardeşim ...
    Allah acil şifalar versin
    ☾☆ hep kahraman Türk milleti ☾☆

  6. #1998
    Allah acil şifalar versin kardeşim.
    En kısa zamanda sağlıklarınıza kavuşursunuz inşallah...


    T671H cihazımdan Tapatalk kullanılarak gönderildi
    İnsanlar, “İnandık” demekle imtihan edilmeden bırakılacaklarını mı zannederler?
    Ankebut-2

  7. #1999
     Alıntı Originally Posted by enayada Yazıyı Oku
    Allah acil şifalar versin kardeşim.
    En kısa zamanda sağlıklarınıza kavuşursunuz inşallah...


    T671H cihazımdan Tapatalk kullanılarak gönderildi
    Sayın Yörük...
    Size özel mesaj gonderemedim...

    T671H cihazımdan Tapatalk kullanılarak gönderildi
    İnsanlar, “İnandık” demekle imtihan edilmeden bırakılacaklarını mı zannederler?
    Ankebut-2

  8. Allah razı olsun sizlerden....
    Özel mesaja kapalıyım hocam...
    Teknik olarak; yarına gebe olan bugünü yaşamalı ki, yarın, yaşanmış olsun.

Sayfa 250/272 İlkİlk ... 150200240248249250251252260 ... 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
  •