BAR CHART con RSI

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #75670 quote
    Hendrix
    Participant
    Senior

    E’ possibile disegnare delle bar charts che con rsi >50 diventino verdi e con valore <-50 diventino rosse?

     

    Grazie in anticipo.

     

    Saluti

    #75674 quote
    robertogozzi
    Moderator
    Master

    Prova questo

    If rsi[14] >= 50 then
       r=0
       g=255
    else
       r=255
       g=0
    endif
    DRAWCANDLE(open,high,low,close) COLOURED(R,G,0,255) //BORDERCOLOR(R,G,B)
    Return
    #75690 quote
    Hendrix
    Participant
    Senior

    Funziona ma disegna le candele non le bar charts, è possibile variarlo?

     

    Grazie

    #75692 quote
    robertogozzi
    Moderator
    Master

    Si, basta sostituire DRAWCANDLE con DRAWBARCHART.

    #75694 quote
    Hendrix
    Participant
    Senior

    Si può scegliere lo spessore della bar charts nell’indicatore se la imposto sul prezzo fa confusione.

     

    Saluti

    #75701 quote
    robertogozzi
    Moderator
    Master

    Credo proprio di no, non ho trovato alcun riferimento nella documentazione https://www.prorealcode.com/documentation/drawbarchart/.

    Ho provato anche a dargli una distanza in pips, tipo Open+100, ecc… ma non funziona, le stampa SEMPRE sopra alle candele esistenti.

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

BAR CHART con RSI


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Hendrix @hendrix Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by robertogozzi
7 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 07/09/2018
Status: Active
Attachments: No files
Logo Logo
Loading...