Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Working with Candle Patterns

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

    Working with Candle Patterns

    Hello NT Support,
    I'm trying to get a candle strategy going but not getting any results in back testing.
    I'm including a screenshot of what I did in Condition Builder. I also put a target and stop of 10 ticks. Want this to work in futures markets. I'm using the candle patterns indicator listed in the NT list. Thanks.
    Attached Files

    #2
    Hello thinkster,

    Thanks for the note. I am happy to help.

    So when you are calling “CandleStickPattern(ChartPattern.BearishEngulfing, 4).PatternFound[0])” it is only going to return a the number of patterns that it found in the close of the current bar like 0 or 1. In the Condition builder you are comparing it to the value of the close price of the current bar.

    Example: if you want to have the condition to be true and enter long when the indicator “CandleStickPattern(BearishEngulfing)” shows “BearishEngulfing” you can compare it to a numeric value like “1” so the condition would be true. See attached image below.



    Note that in since you have 2 conditions inside “Set 1” they both must be true before it will do the following code.

    For more information about "Condition Builder" you may read our online help guide at the following link.


    For more information about "Developing Strategies" you may read our online help guide at the following link.


    We do have a YouTube channel that has a video on “Automated Strategy Development Level 1” you may watch to learn more about “Developing Strategies”.


    Please let me know if I can be of further assistance.
    Attached Files
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    145 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X