Announcement

Collapse
No announcement yet.

Todays Open Price

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

  • Todays Open Price

    can someone tell me how to plot todays opening price on an intraday chart.

    Thanks



    Jamie

  • #2
    Jamie
    var OpenD = open(inv("D"));
    Alex

    Comment


    • #3
      thanks

      Comment


      • #4
        could i use something similar for yesterdays high low etc

        Comment


        • #5
          Jamie
          To do that you need to add a bar index parameter ie high(barIndex,inv("D")) where barIndex is -1 for the prior bar, -2 for two bars ago, etc.
          See also the formulas included in the OHLC folder for an example of how to do it using the .getValue() method
          Alex

          Comment

          Working...
          X