FORMULA DEL MACD

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #80924 quote
    discovery2005
    Participant
    Senior

    Salve a tutti,

    avrei bisogno della formula del MACD in quanto vorrei provare a modificarlo, ma per far cio’ ho bisogno della formula.

    Grazie anticipatamente.

    #80936 quote
    robertogozzi
    Moderator
    Master

    https://it.m.wikipedia.org/wiki/MACD

    Questo è il codice dell’indicatore

    // formula MACD 12,26,9
    //
    ONCE FastAvg = 12
    ONCE SlowAvg = 26
    ONCE SigAvg  = 9
    //
    MyMACD       = ExponentialAverage[FastAvg](close) - ExponentialAverage[SlowAvg](close)
    MySignalLINE = ExponentialAverage[SigAvg](MyMACD)
    
    RETURN MyMACD,MySignalLINE,MyMACD - MySignalLINE,0

    Edit:   Ho editato il post allegando l’indicatore ed il relativo codice.

    MACD-custom.itf
    #80955 quote
    discovery2005
    Participant
    Senior

    Grazie infinite Roberto.

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

FORMULA DEL MACD


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by discovery2005
7 years, 6 months ago.

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