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 AveryFlynn, Today, 04:57 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by Max238, Today, 01:28 AM
      4 responses
      36 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by r68cervera, Today, 05:29 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by geddyisodin, Today, 05:20 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by timko, Today, 06:45 AM
      2 responses
      14 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X