MACD histogram Offset Value

Optuma Forums Optuma Scripting MACD histogram Offset Value

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


    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

    • Topics: 70
    • Replies: 871
    • Posts: 941

    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.

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

Pin It on Pinterest