I got as far as opening the indicator in a ninjascript window but I don't really know how to code and after looking at it realize I need to reach out for help.
Questions:
-Can the built in candlestick indicator simply be modified to actually spot these hammers?
I'm mostly interested in "pin bars" or Pinocchio bars, where the wick of the candle is 2x the body, both upward and downward wicks
-would it be possible to just add a pin bar definition to the candlestick pattern indicator where BullishPinbar = wick >= 2*BodyLength & higher than body or BearishPinBar = wick >= 2*BodyLength & lower than body?
Attached screenshot shows what I mean. I've set the indicator to spot hammers with a 'trend' of zero and it's not calling out these hammers. This is on a 10 range chart if that matters - it's finding the shooting stars, just not the hammers for some reason.

Comment