Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ArrayList.Synchronized Method ??

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

    ArrayList.Synchronized Method ??

    All,

    Is there a more plain english way to describe the ArrayList.Synchronized Method than I can locate on MSDN and other websites?

    I'm looking at storing non-consecutive bar times (CurrentBar values) in one ArrayList and the corresponding values of a SMA that occurred at that time in another ArrayList. By sorting the latter (if it is synchronized with the first), would the Times ArrayList reflect the same movements? I am hoping to isolate the time (bar) the highest or lowest SMA value occurred.

    As always, any suggestions are more than welcome. I could be way off track here.

    Shannon

    #2
    Unfortunately this is beyond what we provide support for. Also: we unlikely could make it any clearer than the MS docs and related samples could.

    Comment


      #3
      Hi Shannon, for your idea in mind, did you already take a look at for example Highest Bar?

      For example highest SMA 10 value (bars ago from current bar) for the current session -

      Code:
       
      Print(HighestBar(SMA(Close, 10), Bars.BarsSinceSession - 1).ToString());

      Comment

      Latest Posts

      Collapse

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