Login Page - Create Account

Support Board


Date/Time: Mon, 13 Jan 2025 06:05:05 +0000



Post From: Formula - Reference previous # of bars

[2017-03-27 16:57:06]
Sawtooth - Posts: 4149
You'll have to reference each individual bar because you cannot reference a range in Simple Alerts formulas.
For example, this formula L<MIN(L[-1]:L[-10]) returns the same as L<MIN(L[-1],L[-10])

So use this:
=AND(L<L[-1],L<L[-2],L<L[-3],L<L[-4],L<L[-5],L<L[-6],L<L[-7],L<L[-8],L<L[-9],L<L[-10])