Crossover screeners with price and volume filters

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #21670 quote
    MulfygfunkeraMulfygfunkera
    Participant
    New

    Hi All,

    Apologies if this question has been covered previously, I am a complete noob when it comes to coding screeners.

    Firstly I have amended one of the built in crossover screeners to fit the criteria I am looking for. It works great. However I am looking to add two additional criteria. I would like to add a price range, for instance all opportunities with price below X, or between X & Y. I have tried a few things and cant work it out.

    It would also be helpful to add a volume criteria, so all shares with a trading volume of +x.

    The code I have so far is below any help would be greatly appreciated.

     

    REM Calculate a simple moving average over the last 5 days

    ema5 = ExponentialAverage[5](close)

    REM Calculate a simple moving average over the last 21 days

    ema21 = ExponentialAverage[21](close)

    REM Calculate the differential speed between the short and the long moving average

    speed = MOMENTUM(ema21-ema5) * 100 / CLOSE

    REM Display securities for which short MA has just crossed over long MA.  Show the fastest crossings first.

    IF ema5 CROSSES OVER ema21 THEN

    SCREENER (speed AS “Speed”)

    ENDIF

     

    I am also trying to set up a screener to identify crossovers where the ema 21 crosses the SMA 400. I have recently been informed that I can’t screen for any averages over 250? Is this correct? If so is there any other way to identify these cross overs?

    Best regards,

    Andrew

Viewing 1 post (of 1 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

Crossover screeners with price and volume filters


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 1 voice and has 0 replies.

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