Good catch! It should be:Is the subexpression
correct? It appears to be true for any Max(253,Close) >= 4 (assuming prices are not negative).Code:[Close >= [ Max(253,Close) - [Max(253,Close) * Max(253,Close) * 0.25]]]
AND [Close >= [Max(253,Close) - [Max(253,Close) * 0.25]]]
Not:
[Close >= [ Max(253,Close) - [Max(253,Close) * Max(253,Close) * 0.25]]]
The correct one ensures that the current close is within 25% of the 52 week greatest close.
