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")
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.
By the time I’m alerted, the reversal has already gone half way.
Indeed, because patterns usually need time to be formed and confirmed.
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.
@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.
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")
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