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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      164 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      317 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X