Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

signalName

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

    signalName

    Do all signals have to be treated independently?

    For example.

    Order 1:
    EnterLong(0, 1,"Buy");

    Order 2 after Order 1 has filled:
    EnterLong(0, 1,"Buy");
    Now both have filled...
    Will the following order work?

    ExitLong(0, 2,"SELLall","Buy");

    or do the 2 buy orders have to be treated separately with different signal names?

    Thank you,

    #2
    This should work, as it's tied to the correct entrySignal name - provided you have EntriesPerDirection set high to enough to execute those consecutive entries in the same direction -

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by llanqui, Today, 10:29 AM
    0 responses
    2 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by llanqui, Today, 08:32 AM
    1 response
    8 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by lollers, Yesterday, 03:26 AM
    1 response
    53 views
    0 likes
    Last Post lollers
    by lollers
     
    Started by Salahinho99, 05-05-2024, 04:13 AM
    7 responses
    62 views
    0 likes
    Last Post Salahinho99  
    Started by knighty6508, 05-10-2024, 01:20 AM
    4 responses
    30 views
    0 likes
    Last Post knighty6508  
    Working...
    X