Please help me with this code to Screeer for an hour

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229715 quote
    osnxp7osnxp7
    Participant
    New

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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 quote
    osnxp7osnxp7
    Participant
    New

    Thank you

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

Please help me with this code to Screeer for an hour


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
osnxp7 @osnxp7 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by osnxp7osnxp7
2 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/13/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...