Announcement

Collapse
No announcement yet.

checking if recent low was lowest - help?

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

  • checking if recent low was lowest - help?

    Hi

    Can somebody please help. I am trying to get a true value if the lowest low of the last 2 candles was the lowest low of the last 4 candles. But using this code does not seem to give the desired results: low(-1, -2) == low(-1, -4) What am I doing wrong?

    TIA
    Theo

  • #2
    Theo
    An easy way of doing it is to use a 4 period Donchian channel and check if low(-1) or low(-2) are lower than the Donchian lower channel
    Just an idea
    Alex

    Comment


    • #3
      Thanks Alex - that works well!!

      Comment

      Working...
      X