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

Apply single variable to multiple strategies question

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

    Apply single variable to multiple strategies question

    Hi, I may not have looked in the right areas but what I was wanting to do was to apply a single variable to multiple strategies. In a nutshell I have 5 strategies that I would like to all have a 30 tick stop loss based on where I enter. Currently each strategy has its own variable set to 30. Is there an easy way to have the integer 30 changed in one place (one csv for example) that all 5 strategies can read please? Many thanks

    #2
    OddNick,

    This is generally not supported, but you could try reading from a text file and grabbing the value that way. You can see a reference sample here: http://www.ninjatrader-support2.com/...ead.php?t=3476
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Excellent. Many thanks Josh I will take a look.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sdauteuil, 09-23-2021, 10:16 AM
      4 responses
      1,208 views
      0 likes
      Last Post jacobpescaia44  
      Started by agclub, 04-21-2024, 08:57 PM
      5 responses
      34 views
      0 likes
      Last Post agclub
      by agclub
       
      Started by ESHunter, Yesterday, 08:06 PM
      2 responses
      18 views
      0 likes
      Last Post ESHunter  
      Started by ETFVoyageur, 05-07-2024, 07:05 PM
      19 responses
      150 views
      0 likes
      Last Post ETFVoyageur  
      Started by ETFVoyageur, 05-11-2024, 10:13 PM
      3 responses
      26 views
      0 likes
      Last Post ETFVoyageur  
      Working...
      X