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 Shansen, 08-30-2019, 10:18 PM
      24 responses
      942 views
      0 likes
      Last Post spwizard  
      Started by Max238, Today, 01:28 AM
      0 responses
      9 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by rocketman7, Today, 01:00 AM
      0 responses
      4 views
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      28 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      33 views
      0 likes
      Last Post wzgy0920  
      Working...
      X