Richiesta indicatore sul prezzo

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #226133 quote
    Msport71
    Participant
    Junior

    Buongiorno a tutti e Buon 2024.

    Gentilmente, volevo chiedere se esiste o può essere fatto, un indicatore che mi evidenzi la candela che fa un crossover rispetto la SMA 30, con il corpo della candela che passa oltre la SMA di almeno il 60%.

    Se possibile, sarebbe gradito un diverso colore in caso di crossover Long (colore giallo)  e Short (colore arancione ) .

     

    Grazie e un cordiale saluto.

    #226135 quote
    jacquesgermain
    Participant
    Senior

    //Ciao, eccolo qui:

    c1=close crosses over Average[30](close)
    c2=close>=(0.6*c1) + c1
    c3=close crosses under Average[30](close)
    c4=close<=c3-(0.6*c3)
    if c1 and c2 then
    DRAWCANDLE(open, high, low, close)coloured(255,255,0)
    endif
    if c3 and c4 then
    DRAWCANDLE(open, high, low, close)coloured(255,165,0)
    endif
    return

    #226136 quote
    jacquesgermain
    Participant
    Senior

    //correzione

    SMA=Average[30](close)
    c1=close crosses over SMA
    c2=close>=SMA+(0.6*SMA)
    c3=close crosses under SMA
    c4=close<SMA-(0.6*SMA)
    if c1 and c2 then
    DRAWCANDLE(open, high, low, close)coloured(255,255,0)
    endif
    if c3 and c4 then
    DRAWCANDLE(open, high, low, close)coloured(255,165,0)
    endif
    return

    #226141 quote
    Msport71
    Participant
    Junior

    Grazie e mille.

    Ho provato ma stranamente non mi evidenzia le candele crossover.

    Ho fatto copia e incolla e mi sembra tutto a posto senza segnali di errore.

    Si tratta di un grafico Dax a 15 min .

     

    Grazie per l’aiuto.

    Schermata-2024-01-09-alle-11.52.51.png Schermata-2024-01-09-alle-11.52.51.png Schermata-2024-01-09-alle-11.57.08.png Schermata-2024-01-09-alle-11.57.08.png
    #226151 quote
    jacquesgermain
    Participant
    Senior
    #226160 quote
    Msport71
    Participant
    Junior

    Perfetto, grazie !

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

Richiesta indicatore sul prezzo


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Msport71 @carlo-pasca Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by Msport71
2 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 01/09/2024
Status: Active
Attachments: 4 files
Logo Logo
Loading...