FORMULA DEL MACD

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #80924 quote
    discovery2005discovery2005
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    discovery2005discovery2005
    Participant
    Senior

    Grazie infinite Roberto.

Viewing 3 posts - 1 through 3 (of 3 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

FORMULA DEL MACD


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by discovery2005discovery2005
8 years ago.

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