• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add Indicator to Strategy

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

    Add Indicator to Strategy

    Hello,
    How can I add one of the 'out of the box' indicators to a strategy?

    e.g. the 'Three White Soldiers' candlestick pattern indicator.
    I want to detect if this pattern is matched in the strategy and then execute a trade.

    Thanks

    #2
    Hello spikeruk,

    Thanks for your post.

    The easiest way to do this or the easiest way to do this and see the syntax, is to use the strategy builder.

    In the conditions builder, you would select the indicator from the indicators folder and select the pattern. When the pattern is found the indicator outputs a value of 1 so you would need to create the condition indicator == 1.

    I would suggest having the strategy draw a dot on the chart to confirm that the strategy has found the pattern and once that looks good then have the strategy place orders.

    Here are reference materials to the strategy builder:
    https://ninjatrader.com/support/help...gy_builder.htm



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Debayan Sen, Today, 01:50 AM
    0 responses
    5 views
    0 likes
    Last Post Debayan Sen  
    Started by eleven, Yesterday, 10:03 PM
    1 response
    10 views
    0 likes
    Last Post eleven
    by eleven
     
    Started by tvbecv, Yesterday, 09:23 PM
    0 responses
    8 views
    0 likes
    Last Post tvbecv
    by tvbecv
     
    Started by reedstickets, Yesterday, 08:07 PM
    0 responses
    10 views
    0 likes
    Last Post reedstickets  
    Started by timko, Yesterday, 07:39 PM
    0 responses
    6 views
    0 likes
    Last Post timko
    by timko
     
    Working...
    X