More unexpected returns !

Forums ProRealTime English forum ProScreener support More unexpected returns !

  • This topic has 5 replies, 2 voices, and was last updated 9 months ago by avatarJS.
Viewing 6 posts - 1 through 6 (of 6 total)
  • #218296

    ma=average[20](close)

    timeframe(monthly)
    m1=ma>1

    timeframe(weekly)
    w1=ma>1

    timeframe(daily)
    d1=ma>1

    SCREENER [m1 and w1 and d1]

    Should variable ma=average[20](close)
    be positioned within the relevant timeframe(s) or can it be situated at the top of the code outside of the timeframes?

    #218309
    JS

    This allows you to display the different averages in the graph with the lowest time frame…

    timeframe(daily)

    ma=average[20](close)

    timeframe(weekly)

    ma1=average[20](close)

    timeframe(monthly)

    ma2=average[20](close)

    Return ma, ma1, ma2

    This allows you to screen whether the “close” (lowest time frame) is larger than the different average:

    timeframe(daily)

    C1=Close>average[20](close)

    timeframe(weekly)

    C2=Close>average[20](close)

    timeframe(monthly)

    C3=Close>average[20](close)

    Screener[ c1 and c2 and c3]

    #218325
    #218328
    JS

    What do you mean by “ma>1″…?

    The moving average (ma) is always greater than 1…

    #218347

    “The moving average (ma) is always greater than 1…”

    The condition being tested is not really of importance here, rather I am seeking clarification as to whether the indicator (in this case average[20](close)) can be positioned once above the timeframe() coding or within each timeframe seperately?

    #218348
    JS

    I’ve already shown you that…

    timeframe(daily)

    C1=Close>average[20](close)

    timeframe(weekly)

    C2=Close>average[20](close)

    timeframe(monthly)

    C3=Close>average[20](close)

    Screener[ c1 and c2 and c3]

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login