Announcement

Collapse
No announcement yet.

Alter prior EFS return value after newbar?

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

  • Alter prior EFS return value after newbar?

    If using drawTextRelative, or similar, it's possible to specify a negative offset, and markup historical locations.

    Is there any way, once a newbar condition occurs, to alter a prior EFS return value, so as to alter its graph in the output pane?

    I believe the ref() function can fetch prior values output by a formula, by using a negative offset. Can ref be *assigned* a new value with a negative offset, thus changing the EFS output history after the current bar expires?

    So, can we do this, say in a new bar block?

    ref(-1)=newValue; // adjust prior bar's output

  • #2
    bfry5282
    You can use the setBar() command to modify prior values.
    Alex

    Comment


    • #3
      Thanks again !!

      Comment

      Working...
      X