Announcement

Collapse
No announcement yet.

High/Low of a specific bar

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

  • High/Low of a specific bar

    Hi~
    How do I get the high and low of a specific bar, for example the 11am bar in the 15min chart?
    Thanks,
    anarco

  • #2
    Hi Anarco,

    You can view the all the bar information using the cursor window of the chart. For more information on the Advanced Chart Cursor window please check out this URL. http://kb.esignalcentral.com/article...ticle=1269&p=1

    AveryH
    eSignal Support

    Comment


    • #3
      Hi~
      The link does not work :-(
      Thanks,
      anarco

      Comment


      • #4
        I am not talking about viewing the high and low; I am asking how can I have my EFS study find the high and low of a specific bar.
        Thanks,
        anarco

        Comment


        • #5
          -

          Hello anarco,

          You could accomplish this by looking for the bar's time stamp using hour() and minute() within a conditional statement as the formula loads and store the bar data in a global variable (or array). In real time processing the condition would not record the bar data unless the time stamp of the bar matches the condition. Hope this helps.

          PHP Code:
          if (hour(0) == 11 && minute(0) == 0) {
              
          nHigh high(0);  // declare nHigh in the global scope

          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

          Working...
          X