TSI-sma (TradingView)

Forums ProRealTime forum Italiano Supporto ProBuilder TSI-sma (TradingView)

Viewing 2 posts - 1 through 2 (of 2 total)
  • #88088

    Buongiorno

     

    Qualcuno sarebbe cosi cortese da scrivermi l’indicatore di seguito? (è un TSI che si basa solo sulle medie mobili semplici, non esponenziali, e che traccia anche la linea di signaling. Potete trovarlo in TV sotto il nome di TSI-sma). Il codice è Pine Script. Allego una imagine del TSI normale e del TSI-sma

    //@version=3
    study(“TSI-sma”)

    long = input(26, minval=1, title=”TSI Long”)
    short = input(9, minval=1, title=”TSI Short”)
    average = input(50, minval=2, title=”SMA Length”)

    TSI = tsi(close, short, long)

    SMA = sma(TSI, average)

    plot(TSI, color=blue, style=line, linewidth=1)

    plot(SMA, color=red, style=line, linewidth=1)
    up =crossover(TSI,SMA)
    down = crossunder(TSI,SMA)
    plotchar(up, title=”buy”, char=’B’, location=location.bottom, color=green, transp=0, offset=0,size=size.tiny)
    plotchar(down, title=”sell”,char=’S’, offset=0, location=location.top, color=red, transp=0,size=size.tiny)
    alertcondition(up, title=’buy’, message=’go long’)
    alertcondition(down, title=’sell’, message=’go short’)

     

    #88091

    Fai una richiesta seguendo questo link : https://www.prorealcode.com/free-code-conversion/

    Grazie.

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login