Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

add( PeriodType.Range with not an int but a double?

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

    add( PeriodType.Range with not an int but a double?

    How do you add second instrument with a range size that is not an int? For example, a range of 0.005 or 0.5?

    Documentation is a little thin on this, compiler does not like the non int value.

    add( Instrument, PeriodType.Range, int) <- I assume the int is the range size

    #2
    lavalampmj, it would need an int here, as the min value would be 1 or one tick. So a double value at this place would not be meaningful to enter. The same applies to formatting from the DataSeries window.

    Comment


      #3
      int = # ticks

      The documentation does not describe what this is. Makes perfect sense now. Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      559 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 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
      546 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X