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:




    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 09:41 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Today, 02:41 AM
    0 responses
    6 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, Yesterday, 11:44 PM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    33 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    32 views
    0 likes
    Last Post CarlTrading  
    Working...
    X