modifica indicatore volume

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #232219 quote
    francesco93francesco93
    Participant
    New

    Salve volevo un indicatore che si basa sul volume

    il presente indicatore deve avere 2 funzioni

    1. deve cambiare il colore della barra volumetrica quando il valore del volume entra in un certo range di valore ( esempio tra 360 e 490)

    2. deve disegnare una linea orizzontale su un certo livello di volume che imposto io ( esempio una linea sulla soglia 500 come in foto )

    allego delle foto di come dovrebbe venire spero di essermi spiegato bene

    volume-before.png volume-before.png volume-after.png volume-after.png
    #232226 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Ecco, hai

    linea = 500
    
    volsup=490
    volinf=360
    
    if volume > volinf and volume < volsup then
    r=124
    g=124
    b=124
    else
    r=0
    g=0
    b=255
    endif
    
    return volume as "Volume" coloured(r,g,b)style(histogram),linea as "LH"style(line,2) 
    #232275 quote
    francesco93francesco93
    Participant
    New

    ok grazie è perfetto solo una cosa, come faccio a togliere queste ombre ?

    OMBRE.png OMBRE.png
    #232291 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Devi entrare nelle impostazioni, o settaggi, dell’indicatore e cliccare su ZONA DI COLORE, dopodiché togli le spunte dove sono evidenziati i colori (può essercene anche solo una)., come da foto allegata.

    Iván González thanked this post
    Zone-di-Colore.jpg Zone-di-Colore.jpg
Viewing 4 posts - 1 through 4 (of 4 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

modifica indicatore volume


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/02/2024
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...