- Desktop
- Scripting
- Formulas and Scripting Functions
- NoRepeat Function
NoRepeat Function
The NoRepeat function ignores multiple signals over a defined time window. For example, the green Show Bar arrows below show where the RSI(5) has crossed below 25. The script for the red arrow uses the NoRepeat function to signal only if it’s the first occurrence in 5 bars:
R5=RSI(BARS=5) CrossesBelow 25;NOREPEAT(R5, BARS=5)Because the second green arrow occurred only 4 days after the first, the second signal is ignored.

Your privacy choices
We use cookies and similar technologies to make the site work, see how it's used, and improve it. Analytics and advertising cookies only run with your consent — see our Privacy Policy for details.