MACD >= than the MACD Signal line

Forums ProRealTime English forum ProScreener support MACD >= than the MACD Signal line

Viewing 2 posts - 1 through 2 (of 2 total)
  • #15553

    A request that was addressed to ProRealTime:

     

    Can you write me two screeners please?

    1. A screener for where MACD equals or is greater than the MACD Signal line to show the possibility of a change of direction. I’d like to be able to have user defined values for the normally default values of 12,26,9 if possible. The screener should also report RSI so that I can sort the result by RSI. (I’d like to use the Screener in all the longer timescales).

    2. A Screener for where two MACD Signal lines are compared to get an earlier indication of the possibility of a change of direction. Again I’d like to be able to have user definable values for the normally default values of 12,26,9 if possible. What I’m thinking is:
    MACD1 = MACD[12,26,9]
    MACD2 = MACD[12,26,6] for example

    The Screener would report where the value for the Signal value for MACD2 > MACD1 Signal value (i.e the ‘6’ value of MACD2 is greater than the ‘9’ value of MACD1). Again, RSI is included in the Screener so that the results can be sorted by RSI.

    In both the examples above, I’d like to play with the code so that I can use it to screen for stocks going the other way (It’s how I can learn the code)

    I’ve tried to do this but failed miserably and got very cheesed off with myself!

     

    Suggestion for an anwser:

     

    First code:

     

     

    Second code:

     

    #15632

    Thank you for this.  I’d like to ask if you could do one more iteration on the following code please?

    Question: For the following code, could you add a results column before the RSI column that counts the number of periods that the condition has been met?  I am using Proreatime on IG.  Thank you

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login