Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using indicators signal in Strategy Builder

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

    Using indicators signal in Strategy Builder

    Hello all, I was wondering how I can use the indicators signals in autotrader? For example, if the indicator output is a buy/sell arrow, how I can address that in strategy builder? Appreciate your help

    #2
    Hello al.kooh,

    Thanks for your post.

    Is the autotrader you mentioned from a third-party developer?

    If so, you would need to contact the developer of that AddOn directly for instructions on how to use their script to create your own custom strategy.

    If the script in question is a custom indicator that contains plots by calling the AddPlot() method, it could be referenced in a Strategy Builder script. Otherwise, it would not be accessible in the Strategy Builder. Only indicators that have a plot by calling the AddPlot() method are accessible in the Strategy Builder.

    This forum thread will also be open for other community members to share their insights on the matter.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello al.kooh,

      Thanks for your post.

      Is the autotrader you mentioned from a third-party developer?

      If so, you would need to contact the developer of that AddOn directly for instructions on how to use their script to create your own custom strategy.

      If the script in question is a custom indicator that contains plots by calling the AddPlot() method, it could be referenced in a Strategy Builder script. Otherwise, it would not be accessible in the Strategy Builder. Only indicators that have a plot by calling the AddPlot() method are accessible in the Strategy Builder.

      This forum thread will also be open for other community members to share their insights on the matter.
      It is a custom indicator and draws up/down arrows on the chart. I am not sure how to use it as a condition. For example, EMA1 crosses EMA2 and an bull arrow is drawn. I am going to open a Long position in strategy. What condition should it be compared with?

      Comment


        #4
        Hello al.kooh,

        Thanks for your notes.

        Only indicators that contain plots by calling the AddPlot() method and have a value assigned to a plot can be used by the Strategy Builder.

        The Strategy Builder cannot detect drawing objects drawn by an indicator, only plot values from an indicator.

        You would need to modify the indicator so that is calls the AddPlot() method to add plots to the indicator. Then assign a value to the plot when a certain condition occurs. Once you add a plots and assign a value to the plots of the indicator, the indicator could be used in a Strategy Builder strategy.

        Or, you could consider creating the exact same crossover condition the indicator is using in the Strategy Builder script and call an action of EnterLong() (Order Management folder > Enter long position).

        See this help guide about creating crossover conditions: https://ninjatrader.com/support/help..._builder.htm#H owToCreateACrossOverCondition
        See this help guide about entering orders in a Strategy Builder script: https://ninjatrader.com/support/help...MarketPosition

        Below is a link to a forum post with helpful information about getting started with NinjaScript.
        https://ninjatrader.com/support/foru...040#post786040

        If this is an indicator created by a third-party developer, please reach out to the developer of the indicator to request a change to the indicator or for instructions on how to properly use it in a custom NinjaScript strategy.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        5 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        14 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        13 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,982 views
        3 likes
        Last Post jhudas88  
        Working...
        X