Indicator · Pine Script v6 · On the chart

OptionX Noisy Test Signals

by LimiNode

OptionX Noisy Test Signals calculates a short-period Relative Strength Index (RSI) and plots buy or sell shape markers on the main price chart when the RSI crosses above or below a chosen center level.

View on GitHub

Repaints

GitHub stars4on the repository
Pine versionv6current
Lines of code30
Settings3inputs
LicenceMIT
Last updateyesterday27 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

30 lines of Pine Script v6 from browser_extensions/tradingview-alert-extension/examples/optionx_noisy_test_signals.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

optionx_noisy_test_signals.pine
//@version=6
indicator("OptionX Noisy Test Signals", overlay=true)

rsi_len = input.int(7, "RSI Length")
level = input.float(50.0, "RSI Center Level")
confirmed_only = input.bool(false, "Confirmed bars only")

r = ta.rsi(close, rsi_len)

buySignal = ta.crossover(r, level)
sellSignal = ta.crossunder(r, level)

plotshape(buySignal, title="BUY", text="BUY", style=shape.triangleup, location=location.belowbar, size=size.tiny)
plotshape(sellSignal, title="SELL", text="SELL", style=shape.triangledown, location=location.abovebar, size=size.tiny)

canAlert = not confirmed_only or barstate.isconfirmed
buyMessage = '{"source":"tradingview","signal_name":"noisy_rsi_test","action":"buy","symbol":"' + syminfo.ticker + '","tickerid":"' + syminfo.tickerid + '","price":' + str.tostring(close) + ',"time":' + str.tostring(time) + '}'
sellMessage = '{"source":"tradingview","signal_name":"noisy_rsi_test","action":"sell","symbol":"' + syminfo.ticker + '","tickerid":"' + syminfo.tickerid + '","price":' + str.tostring(close) + ',"time":' + str.tostring(time) + '}'

if buySignal and canAlert
    if confirmed_only
        alert(buyMessage, alert.freq_once_per_bar_close)
    else
        alert(buyMessage, alert.freq_once_per_bar)

if sellSignal and canAlert
    if confirmed_only
        alert(sellMessage, alert.freq_once_per_bar_close)
    else
        alert(sellMessage, alert.freq_once_per_bar)

Overview

OptionX Noisy Test Signals generates JSON-formatted alert payloads with symbol, price, and timestamp parameters designed for automated execution or signal testing. Users can customize the RSI length, center level threshold, and set alerts to fire either in real time or exclusively on confirmed bar closes. Because real-time intra-bar alerts are enabled by default, signals can change on unconfirmed bars.

Details

Published by

LimiNode on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
RSI Lengthint7rsi_len
RSI Center Levelfloat50.0level
Confirmed bars onlyboolfalseconfirmed_only
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

948 stars

The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma

Indicator v4 Moving averagesOscillators & momentum
Updated 10 days ago · GPL-3.0 GitHub repository of Adaptive RSI Moving Average

This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]
318 stars

This indicator plots three moving averages on the price chart alongside colored fills between the lines to visualize trend structure. Internally, it calculates a Stochastic RSI oscillator to detect oversold reversals. When the Stochastic %K line rises above 10

Indicator v5 Moving averagesOscillators & momentum
Updated 2 months ago · MIT GitHub repository of TVT 3X Scale In Out
285 stars

Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a

Indicator v4 Mean reversionCandlestick patterns
Updated 3 years ago · None stated GitHub repository of Mean Reversion Study

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers