Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Trade

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

    Indicator Trade

    I created a customize script to show on Indicator and wonder if possible to just issue the Enterlong() to submit the order when I'm viewing the chart.

    Thanks,
    Jess

    #2
    jesshon,

    The EnterLong() method is not supported from indicators.

    What you can do instead is rebuild your indicator as a strategy which can plot the same information you see from the indicator and then this will allow you to use the order entry methods.

    Please see our Reference Sample on Plotting from within a NinjaScript Strategy

    When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks for the information. Let's try this way.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      4 responses
      23 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Brevo, Today, 01:45 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by rjbtrade1, 11-30-2023, 04:38 PM
      2 responses
      73 views
      0 likes
      Last Post DavidHP
      by DavidHP
       
      Started by suroot, 04-10-2017, 02:18 AM
      5 responses
      3,021 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Stanfillirenfro, Today, 07:23 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X