MACD histogram Offset Value

Optuma Forums Optuma Scripting MACD histogram Offset Value

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #63159
    AvatarChintanbhai
    • Topics: 4
    • Replies: 3
    • Posts: 7

    Hi,

    I am trying to workout the MACD histogram offset value in the watch list.

    say for example below, current bar has MACD histogram value of -2.834 which is easy to populate with MACD() script, I am trying to populate histogram bar 4 value which would be approximate -1.0. the idea is to work out rate of change in histogram compare to the previous bars.

    Any help to work out the script is much appreciated.

    MACD Histogram Offset

    #63161
    DarrenDarren
    • Topics: 66
    • Replies: 590
    • Posts: 656

    Hi Chintan,

    You can use the rate-of-return ROC() function on the MACD, so for a 5 period change in 12/26/9 MACD:

    You can also apply the ROC tool to the MACD to calculate it on a chart, but the values can vary wildy – especially when crossing the zero line.

    https://www.optuma.com/videos/how-to-apply-indicators-on-indicators/

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

Pin It on Pinterest