Candlestick Proscreener codes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8704 quote
    KendollKendoll
    Participant
    New

    Can anyone supply me a list of the most popular candlestick codes for proscreener? eg doji, Harami, piercing, engulfing

    Thanks

    #8705 quote
    Alex975Alex975
    Participant
    Average

    Ciao.. Sorry I don’t have it

    #8717 quote
    NicolasNicolas
    Keymaster
    Legend

    You already have some in the library here and there:

    http://www.prorealcode.com/prorealtime-indicators/pin-bar-detection/

    http://www.prorealcode.com/prorealtime-indicators/hammer/

    http://www.prorealcode.com/prorealtime-indicators/engulfing-pattern-indicator-screener/

    //morning star
    atrDoji = 5
    atrLongue = 2
    c11 = (Close[2] < Open[2]) AND (ABS(Close[2] - Open[2]) > AverageTrueRange[14](Close[2])/atrLongue)
    c12 = c11 AND (ABS(Close[1] - Open[1]) < AverageTrueRange[14](Close[1])/atrDoji) AND Open[1] <= Close[2]
    MORNINGSTAR = c12 AND (Close > Open) AND (ABS(Close - Open) > AverageTrueRange[14](Close)/atrLongue) AND (Close >= Open[2])

     

    //evening star
    atrDoji = 5
    atrLongue = 2
    c13 = (Close[2] > Open[2]) AND (ABS(Close[2] - Open[2]) > AverageTrueRange[14](Close[2])/atrLongue)
    c14 = c13 AND (ABS(Close[1] - Open[1]) < AverageTrueRange[14](Close[1])/atrDoji) AND Open[1] >= Close[2]
    EVENINGSTAR = c14 AND (Close < Open) AND (ABS(Close - Open) > AverageTrueRange[14](Close)/atrLongue) AND (Close <= Open[2])
    #38279 quote
    prcolfprcolf
    Participant
    New

    Hi

    I was just looking at these formulas.

    What does this part mean?

    (ABS(Close[2] - Open[2])

     

    Is that the absolute value of the close-open as of 2 days ago? I’ve been trying to write something similar

    The absolute value of the open – close as of yesterday

    abs(close[1]-open[1])
    
    abs(close-open)[1]

     

    Which one of those is correct?

    Thanks

    #38282 quote
    NicolasNicolas
    Keymaster
    Legend

    @OzzieTrader

    Your 2 examples are correct and return the same value.

Viewing 5 posts - 1 through 5 (of 5 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

Candlestick Proscreener codes


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Kendoll @kendoll Participant
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by NicolasNicolas
9 years, 3 months ago.

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