Turn This Breakout Scan Into a Breakdown?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31240 quote
    deleted_accountdeleted_account
    Member
    New
    c2 = Close > 5.00 
    indicator2 = Volume 
    indicator3 = (Average[20](Volume)) * 1.5 
    c3 = indicator2 > indicator3 
    c4 = (average[20] (Volume)) > 200000 
    indicator4 = Average[40](Close) 
    indicator5 = Average[120](Close) 
    c5 = (indicator4 >= indicator5) 
    indicator6 = (highest[40](high[1])) 
    c6 = (close >= indicator6) 
    criteria = volume 
    
    SCREENER [c2  AND c3 AND  c4 AND c5 and c6] (criteria AS "volume")

    What needs to be changed in the above code to turn this into a breakdown scan??

    Thanks

    #31282 quote
    NicolasNicolas
    Keymaster
    Legend

    For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<

    I think that the conditions c5 and c6 only need to be modified:

    c2 = Close > 5.00 
    indicator2 = Volume 
    indicator3 = (Average[20](Volume)) * 1.5 
    c3 = indicator2 > indicator3 
    c4 = (average[20] (Volume)) > 200000 
    indicator4 = Average[40](Close) 
    indicator5 = Average[120](Close) 
    c5 = (indicator4 <= indicator5) 
    indicator6 = (lowest[40](low[1])) 
    c6 = (close <= indicator6) 
    criteria = volume 
    
    SCREENER [c2  AND c3 AND  c4 AND c5 and c6] (criteria AS "volume")

    Now the faster moving average is below the slowest one and we test if the close is inferior to the lowest low of the last 40 periods (instead of the highest high for the bull version of this stock screener).

    I did not test it, please tell us if it works ok. Thank you.

Viewing 2 posts - 1 through 2 (of 2 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

Turn This Breakout Scan Into a Breakdown?


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
9 years, 5 months ago.

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