Doji, Hammer, Hanging man, Inverted Hammer and Shooting Star Screener

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #84292 quote
    MrMagic
    Participant
    Average

    Dear all,

    Can I get help with Doji, Dragonfly Doji, Gravestone Doji, Hammer, Hanging man, Inverted Hammer and Shooting Star screeners please? I’ve tried a previous code written in this forum and attached to this thread (convo was in Italian, https://www.prorealcode.com/topic/screener-doji/) but it missed a lot of these pins.

    Thanks.

    KR,

    MM

    ShootingStar = close>open and low=open and (high-close)>=3*(close-open)
    Doji = range > abs(open-close)*3
    Hammer = close>open AND high=close AND (open-low)>=3*(close-open)
     
    c1=close>open
    c2=open<=close[1] AND (ShootingStar OR Doji OR Hammer)
    c3=close<open AND close <= close[2]
     
    SCREENER[c1[2] AND c2[1] AND c3](variation AS "%Variation")
    #84303 quote
    robertogozzi
    Moderator
    Master

    This link might help, you can add more if you want to https://www.prorealcode.com/prorealtime-indicators/candlestick-patterns-recognition/.

    MrMagic thanked this post
    #84945 quote
    MrMagic
    Participant
    Average

    Hi,

    Thanks for the reference. I’ve spent many an hour trying to edit (doji, hammers and stars) from the link but they are not working.

    #84946 quote
    MrMagic
    Participant
    Average

    By the time I’m alerted, the reversal has already gone half way.

    #85002 quote
    Nicolas
    Keymaster
    Master

    Indeed, because patterns usually need time to be formed and confirmed.

    #85437 quote
    MrMagic
    Participant
    Average

    Hi,

    I get that. What I’ve noticed is that say for example, I’m screening for a doji at the end of the candle, I don’t get any lists until the next candle is already half way formed.

    My question is whether it is possible to get a screener immediately at the end of the candle.

    #110930 quote
    MrMagic
    Participant
    Average

    @nicolas, I wonder if I can task your skills please. I’m still a novice at this but can you help me with modifying the above SCREENER (not indicator)

    ShootingStar = close>open and low=open and (high-close)>=3*(close-open)
    Doji = range > abs(open-close)*3
    Hammer = close>open AND high=close AND (open-low)>=3*(close-open)
     
    c1=close>open
    c2=open<=close[1] AND (ShootingStar OR Doji OR Hammer)
    c3=close<open AND close <= close[2]
     
    SCREENER[c1[2] AND c2[1] AND c3](variation AS "%Variation")

     

    so it only filters hammers, inverted, shooting star or hanging man without the Doji bit. Tried but failed.

    #110931 quote
    Nicolas
    Keymaster
    Master

    Here is the code without the Doji pattern testing. Please test it and give feedback.

    ShootingStar = close>open and low=open and (high-close)>=3*(close-open)
    //Doji = range > abs(open-close)*3
    Hammer = close>open AND high=close AND (open-low)>=3*(close-open)
     
    c1=close>open
    c2=open<=close[1] AND (ShootingStar OR Hammer)
    c3=close<open AND close <= close[2]
     
    SCREENER[c1[2] AND c2[1] AND c3](variation AS "%Variation")
    MrMagic thanked this post
    #110965 quote
    MrMagic
    Participant
    Average

    Hi,

    Thanks for the speedy response. Unfortunately it didn’t bring up any results across all TFs. Thanks though. I’ll stick to the previous code.

    KR

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Doji, Hammer, Hanging man, Inverted Hammer and Shooting Star Screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
MrMagic @mrmagic Participant
Summary

This topic contains 8 replies,
has 3 voices, and was last updated by MrMagic
6 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/07/2018
Status: Active
Attachments: No files
Logo Logo
Loading...