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 fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      7 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      159 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      8 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X