Questions tagged [rsi]
43 questions
0
votes
0 answers
put in a table the time (hh:mm)
in pine script (tradingview)
How can I put in a table the time (hh:mm) in which it gave me a signal of the rsi when crossing in long?
I don't know how it reflected the time the crossing occurred
if barstate.islast and dispS
//TITULOS COLUMNAS
…

Apophis
- 1
- 1
0
votes
0 answers
How to change timeframe candlestick RSI indicator?
I have found a pine code for RSI candlestick indicator on tradingview that is working greatly.
If it is possible to change the higher timeframe for indicator to use in lower timeframe chart will help me to find better entry for my stocks.
The pine…

elango
- 11
- 4
0
votes
0 answers
I want to plot an indicator into the price chart and another one into a separate "box" (like the rsi), but I want it in the same script
I made a simple script (I am a beginer) with 10 SMA + an RSI, all in the same script, when a run it, the 10 SMA are shown perfectly but the RSI I made plots in the price chart with the SMAs, not in the box bellow the chart.
I searched in the…
0
votes
0 answers
Number of instances where RSI is greater than WMA only on weekly charts
Say from a specific timeline - for eg: Mar 2020 - count the number of instances when RSI crossed WMA. ( only on Weekly charts).
Count is incremented only when RSI comes below WMA and then crosses from below.
So far written the code as below. It…

Dilip Avadhani
- 13
- 3
0
votes
0 answers
RSI countdown timer in sub window for multi time frames in pinescript
I wish to use a MTF RSI indicator using a larger timeframe than the chart displayed in the main window and have a countdown timer displayed in the RSI subwindow.
Does anyone know how to code this in pinescript?
For instance I want to use a 1 minute…
0
votes
0 answers
Pine Script logic for plotshapes, got most working but stuck on two
I've got most of the plotshapes working but I can't figure out the final two.
Basically the code is an RSI, but it highlights when the RSI has broken out of a diagonal channel, or out of breaks a horizontal level (using pivots). These are shown by…

atom1737
- 1
- 1
0
votes
1 answer
Change RSI Plot Range - Possible or not?
We know that RSI plotting range is between 0 to 100.
Is it possible to change a plotted indicator line so that it will fluctuate in an extended range, say -50 to 100 ?
In simple way I want it to be (stretched) so I can easily draw trend line on the…

Colin0686
- 5
- 1
0
votes
0 answers
RSI values above candles, and value color change
I have implemented original lines of code from Vitruvius.
vt_rsi = ta.rsi(close,14)
//dispv = input.bool(defval=true, title="Display RSI Values?") //i wanted to add the option to switch on and off, got stuck.
vt_rsi_str =…

boldeagle
- 1
- 2
0
votes
1 answer
Review RSI function - Python
does this RSI code looks correct for you?
RSI I'm getting with this code are very often touching oscillator peaks (0 or 100) when comparing to RSIs on different market data apps (TradingView etc.) they hardly ever do that.
Does this formula looks…

h0ax
- 51
- 6
0
votes
1 answer
lock RSI screen to 0-100
is it possible to lock RSI screen range 0-100 only?
//@version=5
indicator(title="Relative Strength Index", shorttitle="RSI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
len = input.int(14, minval=1, title="Length")
src =…

hafidzaini
- 76
- 8
0
votes
0 answers
How to get RSI for a specific options contract (NOT the underlying)?
Webull offers this data, but as far as I know, this functionality not packaged with any of the webull api packages I've seen on github. Can't figure out how to do it using TA-lib either. Any help is appreciated, hoping I don't have to write it…

Bonsai
- 1
0
votes
0 answers
How do i define a RSI value in pine script?
I am writing a script in tradingview where i use moving average and rsi. I am a happy amateur on pine, but i have learnt some by studying the codes by the fantastic people who share both on tradingview and also, google sent me here to this site many…

Kebacula
- 1
0
votes
0 answers
RSI function limits beyond 0 to 100
i want to adjust the range for a rsi plot from 0-100 to -25 - 125
rsi = down == -25 ? 125 : up == -25 ? -25 : 125 - (125 / (1 + up / down))
I've been trying to do this by editing the line above.
It sort of works with values above 100 but not with…

kappamachine
- 17
- 4
0
votes
1 answer
increasing the displayed indicator value by a percentage
i'm trying to find a way to make a indicator like rsi or stochastic but be able to adjust the output by a percentage. For example RSI signal that is increased by a percentage of what i would output by default. So it normally show 70 but is increased…

kappamachine
- 17
- 4
0
votes
1 answer
ta4j RSI indicator value does not match with TradingView
I want to get live RSI data continuously. What I do is;
Get candlestick values from Binance API, fill the BarSeries with Bars using Binance response.
I am using ta4j Java library
When I compare my value to TradingView, it does not match.
I have used…

Alpcan Yıldız
- 671
- 3
- 13
- 33