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 rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Working...
    X