Indicator · Pine Script v5 · Own pane

P-Linear TSI Tar

by gocaman

Calculates a True Strength Index (TSI) oscillator modified with a linear regression line and standard deviation bands.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code268
Settings40inputs
LicenceNone stated
Last updatetoday28 Oct 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

P-Linear TSI Tar plots the regression line in a separate pane along with static reference levels at zero, 0.8, and -0.8, coloring the line based on slope direction changes. The indicator also incorporates a multi-symbol scanner tool tailored for Turkish BIST stock sector groups or custom symbols, identifying when TSI drops into oversold territory below -0.8. User settings allow adjustments to TSI lengths, deviation multipliers, linear length, and scanner timeframe parameters.

Details

Published by

gocaman on GitHub

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

Oscillators & momentum, Screeners & dashboards, Support & resistance

Markets

Stocks

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
Grup seçstring1grupSec
PERİYOTtimeframeper
Konum Ayarıint20loc
TSI Longint9long
TSI Shortint3short
TSI Deviationfloat2multiplier
TSI Llinear lengthint10len5
Upper DeviationboolfalseuseUpperDeviation
Lower DeviationboolfalseuseLowerDeviation
1symbolsb1
2symbolBIST:XAKURsb2
3symbolBIST:XBANAsb3
Show all 40 settings
SettingTypeDefaultVariable
4symbolBIST:XBANKsb4
5symbolBIST:XBLSMsb5
6symbolBIST:XELKTsb6
7symbolBIST:XFINKsb7
8symbolBIST:XGIDAsb8
9symbolBIST:XGMYOsb9
10symbolBIST:XHOLDsb10
11symbolBIST:XILTMsb11
12symbolBIST:XINSAsb12
13symbolBIST:XKAGTsb13
14symbolBIST:XKMYAsb14
15symbolBIST:XMADNsb15
16symbolBIST:XMANAsb16
17symbolBIST:XMESYsb17
18symbolBIST:XSGRTsb18
19symbolBIST:XSPORsb19
20symbolBIST:XTASTsb20
21symbolBIST:XTCRTsb21
22symbolBIST:XTEKSsb22
23symbolBIST:XTRZMsb23
24symbolBIST:XTUMYsb24
25symbolBIST:XU030sb25
26symbolBIST:XU100sb26
27symbolBIST:XU500sb27
28symbolBIST:XULASsb28
29symbolBIST:XUSINsb29
30symbolBIST:XUTEKsb30
31symbolBIST:XUTUMsb31
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

Oscillator Divergence Zones calculates nine selectable momentum oscillators, including RSI, CCI, MFI, TSI, STC, and Ehlers filters, to detect regular and hidden divergences. It evaluates price and momentum pivots to spot structural divergence, applying optiona

Indicator v6 Oscillators & momentumSupport & resistance
Updated yesterday · MIT GitHub repository of Oscillator Divergence Zones [WavesUnchained]
3 stars

This indicator calculates multi-source analysis signals based on The Trading Parrot methodology, combining SOPR proxy calculations, custom volume-weighted RSI, liquidity support and resistance levels, volume spike detection, and pattern recognition. It outputs

Indicator v6 Oscillators & momentumVolume
Updated 1 year ago · Custom licence GitHub repository of Trading Parrot Multi-Source Analysis

This indicator implements a full Chanlun pipeline on the price chart. It merges contained bars, marks top and bottom fractals, and connects alternating fractals into strokes. Overlapping strokes form pivot boxes, and MACD area ratios flag trend or consolidatio

Indicator v6 Support & resistanceDivergence
Updated 2 months ago · GPL-3.0 GitHub repository of 缠论 - 分型与笔 [Chanlun Core]
4 stars

This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas

Indicator v6 VolumeScreeners & dashboards
Updated 2 weeks ago · MIT GitHub repository of GHOST — OrderFlow Intelligence
4 stars

An overlay indicator that calculates multi-timeframe market conditions and displays them in an information panel on the price chart. It evaluates timeframe metrics such as 15-minute and 1-hour periods to monitor RSI values, support and resistance levels, and r

Indicator v5 Screeners & dashboardsOscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of SnagProfit Logic 15M 1H

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