Skip to content

NoRepeat Function

By Optuma Team · Updated 2018-10-26

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.

Capture1

Choose which categories of cookies you allow. Strictly-necessary cookies are always on. You can change this any time via the "Cookie Settings" link in the footer.

  • Functional

    Remember preferences like dismissed banners and your dark-mode choice.

  • Analytics

    Help us understand how the site is used so we can improve it.

  • Marketing

    Measure our advertising and help us reach people who may be interested in Optuma.