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 algospoke, 04-17-2024, 06:40 PM
      6 responses
      48 views
      0 likes
      Last Post algospoke  
      Started by arvidvanstaey, Today, 02:19 PM
      4 responses
      11 views
      0 likes
      Last Post arvidvanstaey  
      Started by samish18, 04-17-2024, 08:57 AM
      16 responses
      61 views
      0 likes
      Last Post samish18  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      9 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      20 views
      0 likes
      Last Post traderqz  
      Working...
      X