MACD in version 10.3

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #129145 quote
    alandaland
    Participant
    Average

    In the last few hours I tried several MACD codes and indicators using the forum but none of them seem to comply with the IG MACD values

    In the IG charts they show (MACD line minus Signal), but I can’t recreate these values in the code

    What I need is just to know if the histogram is positive or negative (binary parameter)

    this is my last unsuccessful try.

    GRAPH myMACDline-myMACDline[1]
    myMACDline = MACDLine[12,26,9](close)

    This is of course the same:

    myMACD=exponentialaverage[12](close)-exponentialaverage[26](close)

     

    any hints?

    #129177 quote
    GraHalGraHal
    Participant
    Legend

    Try the link below from Log 204 in the Snippet Library

    https://www.prorealcode.com/topic/hi-im-paul-from-england/page/2/#post-122670

    Snippet Link Library

    aland thanked this post
    #129220 quote
    NicolasNicolas
    Keymaster
    Legend

    signal line is the EMA9 of your mymacdline variable.

    aland thanked this post
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

MACD in version 10.3


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
aland @aland Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by NicolasNicolas
6 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/30/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...