Announcement

Collapse
No announcement yet.

Vertical lines

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

  • Vertical lines

    Is there a way to have vertical lines drawn automatically for time intervals......i.e. if I'm in a 1" chart having a vertical line drawn for each new 15 minute time interval? MK

  • #2
    Hello Mark,

    One of our EFS consultants, Divergence Software, has developed a study that will do what you need. Check out their Time Frame Analysis study.

    If you're trying to code this yourself, you could use getMinute() to find the bar start times at certain minute values and then use drawLineRelative() or one of the other drawing functions to mark the intervals.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Yup - it is as simple as...

      this routine compares the Minutes and identifies the 15 minute intervals - then draws the line (of course you have to finish the drawLine function with your options...).

      if ( (getMinute(0)/15) == Math.floor(getMinute(0)/15)) {

      .. drawLineRelative(0,0,0,99999,.....)
      }
      Brad Matheny
      eSignal Solution Provider since 2000

      Comment

      Working...
      X