9/30 screener

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25049 quote
    johan_sjohan_s
    Participant
    New

    Hi

    I was trying to code a screener to find stocks to trade by the 9/30 method (https://www.tradingsetupsreview.com/930-trading-setup/)

    My code looks like this:

    ema9 = ExponentialAverage[9](close)
    wma30 = WeightedAverage[30](close)
    
    bullish = ema9 crosses over wma30
    
    SCREENER [bullish]

    Works great and I get results of stocks that crosses the averages. Is it someway possible to code so I find stocks that have a bar closed below the EMA9? I have read the manual and can’t figure it out.

    #25095 quote
    johan_sjohan_s
    Participant
    New

    Is this correct?

     

    indicator1 = ExponentialAverage[9](close)
    indicator2 = WeightedAverage[30](close)
    c1 = (indicator1 CROSSES OVER indicator2)
    
    indicator3 = ExponentialAverage[9](close)
    c2 = (close < indicator3)

    I”m unsure if I got the candleclose right below the EMA 9…

    #25219 quote
    johan_sjohan_s
    Participant
    New

    And I only get results from the screener of stocks that just hit the cross of 9/30. How do I code to get stocks that already has the cross done?

    #25225 quote
    WingWing
    Participant
    Veteran

    Change this:

    c1 = (indicator1 CROSSES OVER indicator2)

    To this:

    c1 = (indicator1 > indicator2)
    Nicolas thanked this post
    #25280 quote
    johan_sjohan_s
    Participant
    New

    Thanks Wing!

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

9/30 screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
johan_s @johan_s Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by johan_sjohan_s
9 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/14/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...