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

How can I set up parameters the same way for multiple indicators?

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

    How can I set up parameters the same way for multiple indicators?

    I have several custom indicators, each of which has a zero line and a center band. I would like to set up the parameters that control those such that they are identical for each indicator. How can I do that, other than copy-and-paste between indicator sources?

    Thanks,
    EV

    #2
    Originally posted by ETFVoyageur View Post
    I have several custom indicators, each of which has a zero line and a center band. I would like to set up the parameters that control those such that they are identical for each indicator. How can I do that, other than copy-and-paste between indicator sources?

    Thanks,
    EV
    I was in the same boat, so what I did was use a VM to setup a separate development environment, and put all those properties into a partial class. That means, unfortunately, that every indicator will receive an instance of the variables and properties, which is why I use that environment only for all those indicators that must have all those particular identical parameters.

    Of course, one can always add other parameters to the individual indicators.

    A variation that a friend uses, is to install multiple copies of NT, using different UserID's, as NT creates separate working directories (the MyDocuments folder is user-specific) for each user. For me, the isolation of the VM is much the cleaner option, albeit it does take up more resources.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mattbsea, Today, 05:44 PM
    0 responses
    3 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    20 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X