“conversione” buy sell da tradingview

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #146703 quote
    lowbat
    Participant
    Senior

    Buonasera a tutti,

    sarebbe possibile convertire questo codice tratto dalla piattaforma Tradingview in PRT??

    study(“Top Bottom Indicator”,overlay=false)

    per = input(14, title=”Bottom Period”)
    loc = low < lowest(low[1], per) and low <= lowest(low[per], per)
    bottom = barssince(loc)
    plot(bottom,color=color.blue)

    per2 = input(14, title=”Top Period”)
    loc2 = high > highest(high[1], per2) and high >= highest(high[per2], per2)
    top = barssince(loc2)
    plot(top,color=color.red)

    Buy = crossover(bottom,top)
    Sell = crossunder(bottom,top)

    plotshape(Buy,title=”Buy”, location=location.bottom, color=#008000, style=shape.arrowup, text=”Buy”)
    plotshape(Sell,title=”Sell”,location=location.top, color=#FF0000, style=shape.arrowdown, text=”Sell”)

    background = top < bottom ? #0000FF : top > bottom ? #FF0000 : na
    bgcolor(color=background, transp=85)

    alertcondition(Buy, title=”Buy Signal”, message=”Buy”)
    alertcondition(Sell, title=”Sell Signal”, message=”Sell”)

     

    Grazie

    #146715 quote
    Nicolas
    Keymaster
    Master

    Ciao, ho tradotto il codice e ora puoi scaricare questo "indicatore superiore e inferiore" direttamente dalla libreria dei codici prorealtime qui: Indicatore in alto e in basso

    #146736 quote
    luxrun
    Participant
    Master

    Grazie, velocissimo!

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

“conversione” buy sell da tradingview


Supporto ProBuilder

New Reply
Author
author-avatar
lowbat @lowbat Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by luxrun
5 years, 3 months ago.

Topic Details
Forum: Supporto ProBuilder
Language: Italian
Started: 10/07/2020
Status: Active
Attachments: 2 files
Logo Logo
Loading...