Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 09:05:45 +0000



Post From: 3 QUESTIONS RE: = if ( id0.sg3 > max(id0.sg3[-1:-30]), 1, 0)

[2023-01-29 16:32:03]
User656492 - Posts: 106
Hello Brains!

= if ( id0.sg3 > max(id0.sg3[-1:-30]), 1, 0 )

I believe this should be true (in my case, paint a dash at Study Input: High) if the current bar makes a high as compared to the prior 30 bars.

1.) Is this correct?
2.) Should this line up with the Highest High / Lowest Low study, Length 30?
3.) Why does this paint a dash on the bar after the most recent high, thus signaling that a lower bar is also meeting this condition?