Indicator · Pine Script v5 · On the chart

RitstaR-Algo

by ritstar

This overlay indicator scores each confirmed bar from zero to six using fast, slow, and trend EMAs, higher-timeframe bias, RSI, MACD, ATR, and volume.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code328
Settings26inputs
LicenceNone stated
Last update8 months ago25 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  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

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

RitstaR-Algo plots buy and sell labels when the score meets the minimum entry threshold and exit labels when the opposite score falls to the exit threshold, with a cooldown between signals. Settings change EMA lengths, momentum levels, volume and ATR gates, score limits, and ATR multiples for displayed take-profit and stop lines. It draws EMAs, optional trend background, and those lines on the price chart. The README states signals confirm only on bar close.

Details

Published by

ritstar on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Fast EMAint21ema_fast
Slow EMAint55ema_slow
Trend EMAint200ema_trend
HTF Bias Timeframetimeframe60htf
RSI Lengthint14rsi_len
RSI Overboughtint65rsi_ob
RSI Oversoldint35rsi_os
MACD Fastint12macd_fast
MACD Slowint26macd_slow
MACD Signalint9macd_sig
ATR Lengthint14atr_len
ATR Mult (Signal Gate)float1.5atr_mult
Show all 26 settings
SettingTypeDefaultVariable
Volume Threshold (x avg)float1.3vol_thresh
Volume MA Lengthint20vol_len
Min Entry Score (1-6)int4min_score
Exit score thresholdint2exit_score
Cooldown bars after exitint5cooldown
TP1 ATR Multiplierfloat1.5tp1_mult
TP2 ATR Multiplierfloat3.0tp2_mult
SL ATR Multiplierfloat1.2sl_mult
Show TP / SL Linesbooltrueshow_tp_sl
Buy Colorcolorcolor.new(#00E676, 0)bull_col
Sell Colorcolorcolor.new(#FF1744, 0)bear_col
Exit Colorcolorcolor.new(#FFD600, 0)exit_col
Show EMAsbooltrueshow_emas
Show Trend Backgroundbooltrueshow_bg
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

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

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

Aroon-based Strategy

by capissimo
114 stars

This indicator overlay generates buy and sell signals based on Aroon extreme levels combined with optional volume or volatility filters. It calculates Aroon Up and Aroon Down lines using localized high and low lookbacks, generating trade entries when Aroon rea

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Aroon-based Strategy
92 stars

This indicator plots a volume-weighted average price of the typical price on the chart and colors that line by ADX strength. It draws a standard-deviation envelope around VWAP and tints the fill green when plus DI leads and red when minus DI leads. Triangle ma

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · Custom licence GitHub repository of Moon Dev VWAP x ADX Explosion

Vein Exhaustion is a price-chart indicator that scores how stretched a directional move is before structure confirms a turn. It builds separate bull and bear scores from consecutive directional bars, EMA distance in ATR units, RSI and MFI extremes, volume-base

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Vein: Exhaustion [WavesUnchained]
7 stars

The MACD RSI EMA Aggressive indicator generates momentum and trend-following signals on the price chart. It combines a MACD crossover or crossunder with an RSI threshold filter, price location relative to an Exponential Moving Average, volume expansion above a

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD RSI EMA Aggressive + ATR SLTP

Capital41 Fusion Scalp

by damianpitt
6 stars

Capital41 Fusion Scalp is an overlay indicator that identifies high-confluence setups by combining four core conditions: EMA trend direction, RSI momentum, Williams %R levels, and ATR with volume expansion. Bullish and bearish signals are plotted on the chart

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Scalp

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers