Announcement

Collapse
No announcement yet.

problem with hhv and llv crashing

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

  • problem with hhv and llv crashing

    Howdy,

    The following has always given me a problem and i end up writing a loop....does anyone have any idea why this code would cause my charts to crash when it's called ? I have both barCount and Entry_bar declared and theres no problems with that per se, it's just the hhv and llv call that crash me.

    var tmpCandles = barCount - Entry_bar;
    var Highest = hhv(tmpCandles,high());
    var Lowest=llv(tmpCandles,low());

    Thanks,
    Chris

  • #2
    Chris
    If the variable tmpCandles is being constantly recalculated then you may want to read the explanation and solution Jason provides in this post regarding highest() and lowest() as it applies also to the hhv() and llv() functions.
    Alex

    Comment


    • #3
      thanks Alexis,
      Looks like you nailed it again !!!!

      Comment

      Working...
      X