New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Scanning Macd Histogram

Hi:
Can anyone post how a scan can be created scanning for:
Monthly Macd histogram is greater than last month's Macd histogram(stepping higher)
AND Weekly Macd histogram > than last week's Macd histogram
AND Daily Macd histogram > than yesterday's Macd histogram
Thank you

Comments

  • markdmarkd mod
    edited November 22
    You've practically written it with what you have.

    You can select MACD Histogram from the Technical Indicators drop down below the scan writing window.

    If you do, you get this:

    and [MACD Hist(12,26,9) > 0.0]

    So now you just have to edit that for the time frames you want. On the left hand side you want

    monthly MACD Hist(12,26,9)

    weekly MACD Hist(12,26,9)

    and for daily you don't need a modifier because daily timeframe is the default, so, just

    MACD Hist(12,26,9)

    Then, for 0.0, you want the time offset, so just use 1 (timeframe) ago, like

    1 month ago monthly MACD Hist(12,26, 9)

    1 week ago weekly MACD etc

    1 day ago MACD etc.

    So, in the selected version above, substitute the appropriate "ago" MACD term for 0.0.

  • lmkwinlmkwin ✭✭
    edited November 22
    Here's and example of looking at today's vs the day before's

    and [todays MACD Hist (12,26,9) > yesterdays MACD Hist (12,26,9)]

    Your requirements can be met playing around with this line and creating your multiple requirements.

    for Weekly data you would put Weekly in front of MACD Hist. For Monthly put Monthly in front of MACD Hist.
  • Thank you to both
Sign In or Register to comment.