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 Dziu-Dziu, 02-04-2018, 07:46 AM
      26 responses
      1,766 views
      0 likes
      Last Post mochibocchi  
      Started by DawnTreader, 05-08-2024, 05:58 PM
      19 responses
      78 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by llanqui, Yesterday, 10:29 AM
      3 responses
      22 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by cshox, Today, 11:11 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Seneca, 08-25-2020, 08:31 AM
      4 responses
      5,953 views
      0 likes
      Last Post Tin34
      by Tin34
       
      Working...
      X