Announcement

Collapse
No announcement yet.

how to plot 67% retracement line

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

  • how to plot 67% retracement line

    i want a variation of todaysDailyBars that will give me low, high, and (low + 0.67 * (high-low)).

    its trivial to edit the efs to get just low and high and i can get a var that contains my 67% number but i can't figure out how to get it into a collection/array that i can return using getSeries.

    for example:

    xHigh = high(idx, dailyBarInterval);
    xLow = low(idx, dailyBarInterval);

    gives me what i need to compute the value. what i can't figure out is how to i create a series object and set a value at a given index.
Working...
X