Gap Above Moving Average

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #57199 quote
    IAmShareCrazy
    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
    Nicolas
    Keymaster
    Master

    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
    mrfixituk41
    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.

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 mrfixituk41
7 years, 7 months ago.

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