TSI-sma (TradingView)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #88088 quote
    carlo__carlo__
    Participant
    Average

    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’)

    Capture.jpg Capture.jpg
    #88091 quote
    robertogozzirobertogozzi
    Moderator
    Legend

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

    Grazie.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

TSI-sma (TradingView)


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
carlo__ @carlo__ Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
7 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 01/07/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...