Announcement

Collapse
No announcement yet.

Formula based on "lowest" lows??

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

  • Formula based on "lowest" lows??

    The way I have the formula set now, the color bar changes when the current close is under the close of 5-bars ago. However, I would like the bar's color to only change when the current bar's close is under the lowest low of the most recent 5-bars...and vice versa for the highs. And in between the correct color changes, I would like the bars to stay its current color, not go to black, white or grey.

    How do I do this? Thanks!

  • #2
    obfutures
    Use a 5 period Donchian study to define a breakout of the lowest low and highest high of the last 5 bars. To create the efs you can use the builtinDonchian.efs which is in the Builtin folder of Formulas.
    Alex

    Comment

    Working...
    X