Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

When and how is FromEntrySignal field set in an order?

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

    When and how is FromEntrySignal field set in an order?

    There is a field "FromEntrySignal" in each Order object. When and how is it set? I am using SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice, string oco, string signalName) to submit orders. It seems signalName passed to SubmitOrderUnmanaged() would be shown as Order.Name, and the FromEntrySignal field is always empty in my examples.

    #2
    Never mind. I figured it out by myself. It seems FromEntrySignal is only populated while submitting managed orders so as to tie the exit/stop/takeprofit orders to an entry order.

    Comment


      #3
      Hello clearpicks,

      Thank you for your note.

      Correct, FromEntrySignal would only be used under the managed approach and is used for things such as tying together Stop Loss/Profit Target orders, checking the status of that order, managing entries per direction, etc.

      Please see under Order Entry Methods at the following link,


      Please let us know if you need further assistance.
      Alan P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      77 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X