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 flybuzz, Today, 10:33 AM
    0 responses
    3 views
    0 likes
    Last Post flybuzz
    by flybuzz
     
    Started by algospoke, 02-19-2024, 03:25 PM
    6 responses
    42 views
    0 likes
    Last Post Abiodun
    by Abiodun
     
    Started by LillyMarv, Today, 06:47 AM
    1 response
    12 views
    0 likes
    Last Post marcus2300  
    Started by michi08, Today, 08:51 AM
    1 response
    7 views
    0 likes
    Last Post bltdavid  
    Started by awwenzovs, Today, 08:03 AM
    1 response
    9 views
    0 likes
    Last Post bltdavid  
    Working...
    X