Indicatore di Momentum

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #226118 quote
    Enrico
    Participant
    New

    Buona sera, avrei bisogno di un indicatore che mi segna una linea che è il frutto di due medie mobili esponenziali ma non so da che parte cominciare.

    Indicatori:  EMA 20, EMA 30

    Quando EMA20 incrocia a rialzo EMA 30 vorrei vedere una linea verde. ( l’EMA 25)

    Quando EMA20 incrocia a ribasso EMA 30 vorrei vedere una linea rossa (l’EMA25)

    Le due medie (20 e 30) non le vorrei visualizzare.

    Grazie in anticipo.

    #226123 quote
    pror
    Participant
    Veteran
    IF ExponentialAverage[20](close) CROSSES OVER ExponentialAverage[30](close) THEN
    R= 0
    B= 200
    elsif ExponentialAverage[20](close) CROSSES undER ExponentialAverage[30](close) THEN
    R= 200
    B= 0
    endif
    
    return ExponentialAverage[25](close)COLOURED(r,0,b)
    #226124 quote
    Enrico
    Participant
    New

    Grazie mille, se volessi cambiare il colore  da blu a verde basta che metto la V al posto della B?

    #226125 quote
    pror
    Participant
    Veteran
    IF ExponentialAverage[20](close) CROSSES OVER ExponentialAverage[30](close) THEN
    R= 50
    G= 200
    B= 50
    elsif ExponentialAverage[20](close) CROSSES UNDER ExponentialAverage[30](close) THEN
    R= 250
    G= 0
    B= 0
    endif
    
    return ExponentialAverage[25](close)COLOURED(r,g,b)
    robertogozzi thanked this post
    #226126 quote
    Enrico
    Participant
    New

    Perfetto, grazie mille.

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

Indicatore di Momentum


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Enrico @ocirne Participant
Summary

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

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