Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Running the same strategy on multiple charts - are signal names unique to each chart?

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

    Running the same strategy on multiple charts - are signal names unique to each chart?

    For example running a strategy on chart 1 that has this instruction EnterLong("long1");​ . If I run it on 3 different charts whether it's different timeframes for the same instrument or even different instruments. Will the system contain the signals for each strategy and keep them specific to each chart?

    Or if I fire a signal ExitLong("Long1"); or even just ExitLong() running the same strategy on a different chart would that interact with the signals from chart 1 and close the orders on chart 1?

    Just wondering if I need to parametrize the signal names to be able to run the same strategy on different charts.

    #2
    Not only do they not have to be unique across multiple charts, but the signal names are not shared even between two strategies on the same chart. You can set them all the same if you want to - but setting them differently lets you do some things you can't do otherwise, like match up exits with a specific entry order (from the same strategy instance).
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      Many thanks Bruce. So if Strategy A and strategy B are both running on a 5 minute ES chart, and strategy A opens a long order with Entry signal "Signal 1", then a directive to ExitLongStopMarket from Signal 1 issued by strategy B would be ignored. Is my understanding correct?

      Mark

      Comment


        #4
        Yes, each strategy has its trade list and can only see its orders unless you have done something unusual.
        Bruce DeVault
        QuantKey Trading Vendor Services
        NinjaTrader Ecosystem Vendor - QuantKey

        Comment


          #5
          Hello markdshark,

          Thanks for your post.

          QuantKey_Bruce is correct. Signal Names in a strategy do not have to be unique across multiple chart windows. A custom NinjaScript strategy is only able to see the orders placed by that specific instance of the strategy.

          This means that if Strategy A submits and order with the Signal Name 'MyEntry' and an ExitLongStopMarket() order with the Signal Name "MyExit", then Strategy B would not see those orders. Only Strategy A would see those orders.

          See the help guide documentation below for more information.




          Please let me know if I may assist further.
          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X