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:




    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,290 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    8 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    8 responses
    61 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    8 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    24 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X