Gap Above Moving Average

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #57199 quote
    IAmShareCrazyIAmShareCrazy
    Participant
    New

    A). How do you screen for a gap above a moving average? Specifically the 200 sma.

    B). How do you combine this with big volume?

    Big volume increase stock screener

    If you can’t do A and B. A is okay.

    #57729 quote
    NicolasNicolas
    Keymaster
    Legend

    Please find below the modified version of the “big volume increase” screener with a gap filter with Close superior to the 200 periods moving average.

    //PRC_BigVolumeIncrease with gap above 200SMA | screener
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    v = volume
    sma = average[200]
    
    count = 0
    for i = 1 to 75 do
    if v>volume[i] then
    count=count+1
    endif
    next
    
    condition = count/75>0.9 and close>sma and open-close[1]>0
    
    screener [condition] (count/75 as "percentage")
    GraHal thanked this post
    big-volume-and-gap.png big-volume-and-gap.png
    #76955 quote
    mrfixituk41mrfixituk41
    Participant
    New

    How do you change the code so that the gap is below all moving averages or above. Like in the image attached.

    ObjectChart.png ObjectChart.png
Viewing 3 posts - 1 through 3 (of 3 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

Gap Above Moving Average


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by mrfixituk41mrfixituk41
8 years, 1 month ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 01/03/2018
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...