Moving Average Crossover Coding Help

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11704 quote
    David R PierceDavid R Pierce
    Participant
    New

    Hi all,

    I’ve joined this site today, and I’ve been using ProRealTime for around 2 months.  I’ve realised that I need to learn about coding.

    As part of the ProScreener I’ve built for the system I use, I ask it to display shares where the 6-day Moving Average is higher than the 21-day Moving Average (or below if I’m going short).

    I would like it to display shares where the 6 day Moving Average has crossed the 21-day Moving Average within the previous 5 bars (on a daily chart)

    ProScreener is limited to displaying only 50 matches, and I would like to ensure the ones displayed are something I can use to make trading decisions.  The only options on the Moving Average crossover finder on ProScreener, can only display crossovers that have happened this current day, or the previous day.  But because I have a browse for new positions only once a week, I would like it to display all crossovers that have occurred only during the previous week.

    Any help would be very much appreciated.

    Many thanks, David.

    #11708 quote
    JC_BywanJC_Bywan
    Moderator
    Master

     

    Hi,

    These 3 recent short topics from the “proscreener support” forum section and the “proorder support” section would probably help:

    http://www.prorealcode.com/topic/indicator-cross-over/

    http://www.prorealcode.com/topic/screen-condition-c-within-last-x-days/

    http://www.prorealcode.com/topic/coding-for-recent-ema-crossover/

    #11750 quote
    David R PierceDavid R Pierce
    Participant
    New

    I’ll check those out. Thank you so much.

    Regards, David.

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 Crossover Coding Help


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by David R PierceDavid R Pierce
10 years, 1 month ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/14/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...