Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modify the built in Candlestick Pattern Indicator?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Modify the built in Candlestick Pattern Indicator?

    Hi there, I can't seem to get the built in candlestick pattern indicator to spot hammers and I'm wondering if anyone out there could help me tweak it so that it does.
    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.


    #2
    Hello pajarojo,

    Thanks for your post and welcome to the NinjaTrader forums!

    The Hammer Pattern in the CandleStickPattern indicator is identified when in a downtrend. Here is a screenshot of one such hammer pattern found:

    Click image for larger version

Name:	pajarojo-1.PNG
Views:	700
Size:	29.5 KB
ID:	1179264

    Ninjascript is based on the C# programming language and if you are not familiar with C# then making coding changes would be difficult for you. The CandleStickPattern indicator is particularly difficult when looking at it to modify. We cannot provide step-by-step directions for making changes. We can provide you with links to get you started with Ninjascript if that is something you would like to do.

    Another alternative would be to create a new indicator just focused on your Pin bars.

    If you would like something created for you (or modified) , we can provide a link to 3rd party programmers in the NinjaTrader Ecosystem

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    566 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X