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 zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    150 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    6 views
    0 likes
    Last Post tkaboris  
    Working...
    X