CCI indicator SCEENER

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

    I am trying to write a screener for stocks that they had cci(20) value below -200 in the last 14 days. I tried the following code, but results are not correct.

    C1= CCI[20](typicalPrice)
    C2=lowest[14](C1)< -200
    SCREENER [C2]

    How to fix this?

    Thanks.

    #210197 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    This will show ALL the stocks whose CCI was below -200 at least once in the last 14 days:

    C1= CCI[20](typicalPrice)
    C2=summation[14](C1< -200)
    SCREENER [C2]

    This will show ALL the stocks whose CCI was below -200 at least 5 times in the last 14 days:

    C1= CCI[20](typicalPrice)
    C2=summation[14](C1< -200) > 4
    SCREENER [C2]

    This will show ALL the stocks whose CCI was below -200 every day in the last 14 days (which is likely to never happen):

    C1= CCI[20](typicalPrice)
    C2=summation[14](C1 < -200) = 14
    SCREENER [C2]
    ALBERT77 thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

CCI indicator SCEENER


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
ALBERT77 @albert77 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/22/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...