Dear traders,
Can someone help me with coding the right why for a candle where the lower or higher wick is 1.5 x the body??
Thanks in advance😁
This may get you started ?
https://www.prorealcode.com/topic/entry-price-long-above-close-of-pinbar/
Or else try to search for Shooting Star / Hammer (via Google – include “prorealcode” as a term). More topics about it exist, but mostly in other languages.
JSParticipant
Senior
Hi @daxtrader3
Try this…
UpperWick=High-Max(Open,Close)
LowerWick=Min(Open,Close)-Low
TopOfBody=Max(Open,Close)
BottomOfBody=Min(Open,Close)
BodySize=TopOfBody-BottomOfBody
If UpperWick=1.5*BodySize or LowerWick=1.5*BodySize then
...
...