“conversione” buy sell da tradingview

Forums ProRealTime forum Italiano Supporto ProBuilder “conversione” buy sell da tradingview

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • #146703 Report

    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

    Attachments:
    #146715 Report

    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

    Attachments:
    #146736 Report

    Grazie, velocissimo!

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

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