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 quantismo, 04-17-2024, 05:13 PM
      5 responses
      32 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by proptrade13, Today, 11:06 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      34 views
      0 likes
      Last Post love2code2trade  
      Started by cls71, Today, 04:45 AM
      2 responses
      10 views
      0 likes
      Last Post eDanny
      by eDanny
       
      Started by kulwinder73, Today, 10:31 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Erick  
      Working...
      X