Please help me with this code to Screeer for an hour

Forums ProRealTime English forum ProScreener support Please help me with this code to Screeer for an hour

Viewing 3 posts - 1 through 3 (of 3 total)
  • #229715

    Please help me with this code to Screeer for an hour

    C1=Close>EMA20 and EMA50 and EMA200
    c2=EMA20>EMA50 and EMA200
    c3=EMA50>EMA200
    Screener[C1 and C2 and C3 ]

     

    #229723

    Your code is fine for any timeframe.

    What will make it to not work correctly is the use of a number of periods exceeding the limit, which is 256 bars with IG.

    A 200-period EMA actually requires twice+ that number of bars to perform correct calculation, but the limit is 256, as I said.

    I suggest that you either use roughly 80 periods or resort to a 200-period SMA.

     

    #229727

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)

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