Screener for Stochastic MACD Oscillator

Forums ProRealTime English forum ProScreener support Screener for Stochastic MACD Oscillator

Viewing 4 posts - 1 through 4 (of 4 total)
  • #140135

    Hi,

    I have stumpled upon this https://www.prorealcode.com/topic/stochastic-macd-oscillator/ beautiful indicator which I really like.

    The code goes as follow:

    I am currently trying to write a Screener to find stocks that have been below -10 (or potentially -15) the latest XX periods on Daily TF.  The screener should identify/find stocks that have had a positive cross as StMACD crosses over SigLine with the criteria displayed as the difference in value between them (which I think will be the most suitable?). But coming from a low value as stated earlier (-10 or -15).

    This screener should hopefully help to find new price trends that might come in to play from an oversold state. By being able to increase the lookback period to lets say “45” it would make it easier to see the new price trend that has been formed and manually draw out the trend lines (maybe combining it fibonacci to find good entry levels).

     

    One option could be to have both +10 and -10 as criteria with 1 and 2 to display the stocks as Overbought or oversold.

     

    I’m a novice in coding Java and frankly, im a bit lost. I tried different things but I believe adding my code to the forum will not only make me look stupid, but also confuse other members.

    I have searched to forum but to no success in finding a screener for this.

     

    Hope to hear from anyone more experienced soon :).

    #140311

    Sorry, I forgot to mention that I am using PRT 10.3.

     

    #140316

    There you go (I only tested syntax):

     

    #140516

    Many thanks!

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

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