Announcement

Collapse
No announcement yet.

plotting ahead intraday

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

  • plotting ahead intraday

    On the 1st bar of the day, I need to plot a functional curve for all bars until the end of the day. That is, the curve should be plotted during the 1st bar ahead to the last bar of the day. Is this possible with EFS? Can anyone point me to sample code that would do this?

  • #2
    Hello HarryOh,

    This type of process is what EFS was designed for, if I understand what you're asking for. After calculating your custom value, you will use the return statement from main() to plot the result on the chart. If "1st bar ahead" refers to the next bar in the future, you cannot plot data using the return statement in main(), but you can use one of the Drawing Functions such as drawLineRelative() to draw the data on the future bars.
    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