Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Array of properties

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

    Array of properties

    Hi,
    I want to read an array of properties that vary with time.

    For example, from
    Time1, I want to use an input value of 3
    Time 2 I want to start using a value of 2
    Time 3 I want to start using a value of 1
    Time 4 I want to start using a value of 2
    etc ....

    I can have an unlimited number of properties but for each time I have an input.

    My question is, how can I read in these properties and set these in the indicator?
    Thanks,
    iq

    #2
    Hi iq200, thanks for posting. This will require a custom input class that would be able to add and subtract properties. We have an example of a custom window opener here:
    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


    Within this custom window, you would need a WPF+C# logic that will allow a user to add or subtract fields. I do not have an exact example of this, unfortunately.

    Kind regards,
    -ChrisL

    Comment


      #3
      Many thanks Chris. I just wanted an idea on how to do it within Ninjatrader 8.
      I can figure out the rest of the logic.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      81 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      68 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      55 views
      0 likes
      Last Post CarlTrading  
      Working...
      X