Moving Average/Stochastic Screener

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #148455 quote
    metrometro
    Participant
    Junior

    Hi all,

    A newbie using the Proscreener and having difficulty trying to code this in Proscreener and would appreciate any help.

    I am trying to code a scan of the following:

    closing price is above the 50 simple moving average
    50 simple moving average trending down
    and Stochastics in overbought position over 70 going down.

    Thanks
    John

    #148464 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go (not tested):

    K = stochastic[8,3]   //Stochastic 8,3,3
    //D = average[3](K)
    Sma50 = average[50,0]
    c1 = close > Sma50
    c2 = Sma50 < Sma50[1]
    c3 = K > 70
    c4 = K < K[1]
    Cond = c1 and c2 and c3 and c4
    Screener[Cond]
    metro thanked this post
    #148607 quote
    metrometro
    Participant
    Junior

    Thanks Robert, I appreciate your assistance.

    Regards

    John

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

Moving Average/Stochastic Screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
metro @metro Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by metrometro
5 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/26/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...