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

Transferring indicator parameters to other indicators

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

    Transferring indicator parameters to other indicators

    Hello All,

    Hope you are doing good !!

    What I'm trying to do is to set up in one indicator (reference indicator) some parameters which also should be the same for two other indicators attached to the chart. For Instance:

    1. In Reference Indicator when it is applied to the chart I set up factor value based on the following code:
    [NinjaScriptProperty]
    [Display(Name = "01. Factor", Description = "Description of input goes here", GroupName = "01. Indicator Parameters", Order = 1)]
    public double Factor
    {
    get { return factor; }
    set { factor = Math.Max(1, value); }
    }
    2. Next, I need to attach two others indicators where I need to set up the same parameter. I would like to have some way to transfer such value to other indicators.
    I walked through SampleBoolSeries script and I don't see an answer for my issue

    Hope to get any suggestion and advice !!

    Thanks in advance

    #2
    Hello kanarkia,

    Thank you for your note.

    You would manually have to copy paste this code to each indicator.

    There is a feature request for a way to have user input parameters span across more than 1 indicator without having to add the code to each indicator for which I will add your vote to.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      Thanks for clarification. I looking forward for such feature in future. I hope sooner than later

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X