when eod price goes above 21 day wma

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #106197 quote
    malanovamai
    Participant
    New

    hello, i am very new at this.

    i want to be able scan for stocks where the price has crossed the 21 day wma.

    Can you help? Thanks

    #106217 quote
    robertogozzi
    Moderator
    Master

    Try this:

    TIMEFRAME(Daily)
    MyAvg = average[21,2](close)     //2=wma
    TIMEFRAME(default)
    x=0
    IF close CROSSES OVER MyAvg THEN
       x=1
    ELSIF close CROSSES UNDER MyAvg THEN
       x=2
    ENDIF
    SCREENER[x](x AS "1=↑, 2=↓")
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

when eod price goes above 21 day wma


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
6 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 09/02/2019
Status: Active
Attachments: No files
Logo Logo
Loading...