MACD screener to code

Forums ProRealTime English forum ProScreener support MACD screener to code

Viewing 6 posts - 1 through 6 (of 6 total)
  • #24588
    SAM

    Hi  Nicolas,

    Could you help me to code a screener with this conditions?

    1. Macd ligne >0
    2. When 1) in true within next 6 bars, close break-out the high of the last 10 bars

    Thank-you!!

    #24605

    Here is the code you are requested, the MACD was at least 6 bars above 0 and the Close of the current candlestick is breaking the highest high of the last 10 bars:

    Not tested, please tell us if it’s working ok for you.

     

    #24992
    SAM

    Hi Nicolas,  sorry for the delay.. Thanks  very much for your answer… and for your time!!
    I tried your code and work verygood!!
    But  my mistake, I actually wanted to ask that the condition “b” is verified within 6 bar since when macd[12,26,9] crosses over 0. (Not only >0)
    This code with the condition  macd[12,26,9]>0 finds a many shares.

    I tried to write a code, but not work good… could you help me? Thank very much!!

     

    #24996

    This modified code should do the trick:

     

    #25152
    SAM

    Dear Nicolas, so work very good!! It’s just that I needed!!
    I wrote a screener (long or Short)

    Could I make a new library screener?

     

    #25202

    Of course you can! Please do it! 🙂 I’m happy to know it suits your needs. Please add a little description of the screener when you’ll post it into the code library. Thanks in advance.

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

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