Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Index to double

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

    Index to double

    Hello,Support!

    Is there a way to assign index to double?The algorithm calculates ratio of some sort,so i cast double to an int,to get the exact value,so it looks like (int)RatioA == 10.Now,how do i assign index to it,if it`s possible?For e.g, i need something like (int)Ratio[0] now.

    Thank you!

    #2
    Hello,

    I am not sure I understand the full question here but it sounds like you may want to use a DataSeries if you need a indexed double.



    This would work exactly the same way for storing values as a Plot, the difference is that this only stores values though instead of also displaying a plot.

    You can then access a BarsAgo index for the double value of that DataSeries:


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    626 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    359 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    562 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    567 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X