Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
11 views
indicator(title=Relative Strength I
nn
Uploaded by
Tekchand Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download now
Download
Save indicator(title=Relative Strength I For Later
Download
Save
Save indicator(title=Relative Strength I For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
11 views
indicator(title=Relative Strength I
nn
Uploaded by
Tekchand Saini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download now
Download
Save indicator(title=Relative Strength I For Later
Carousel Previous
Carousel Next
Save
Save indicator(title=Relative Strength I For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 2
Search
Fullscreen
indicator(title="Relative Strength Index", shorttitle="RSI", format=format.
price,
precision=2, timeframe="", timeframe_gaps=true)
ma(source, length, type) =>
switch type
"SMA" => ta.sma(source, length)
"Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
maTypeInput = input.string("SMA", title="MA Type", options=["SMA", "Bollinger
Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="MA Settings")
maLengthInput = input.int(14, title="MA Length", group="MA Settings")
bbMultInput = input.float(2.0, minval=0.001, maxval=50, title="BB StdDev",
group="MA Settings")
up = ta.rma(math.max(ta.change(rsiSourceInput), 0), rsiLengthInput)
down = ta.rma(-math.min(ta.change(rsiSourceInput), 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiMA = ma(rsi, maLengthInput, maTypeInput)
isBB = maTypeInput == "Bollinger Bands"
plot(rsi, "RSI", color=#7E57C2)
plot(rsiMA, "RSI-based MA", color=color.yellow)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI
Background Fill")
bbUpperBand = plot(isBB ? rsiMA + ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Upper Bollinger Band", color=color.green)
bbLowerBand = plot(isBB ? rsiMA - ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Lower Bollinger Band", color=color.green)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na,
title="Bollinger Bands Background Fill")
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
maTypeInput = input.string("SMA", title="MA Type", options=["SMA", "Bollinger
Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="MA Settings")
maLengthInput = input.int(14, title="MA Length", group="MA Settings")
bbMultInput = input.float(2.0, minval=0.001, maxval=50, title="BB StdDev",
group="MA Settings")
up = ta.rma(math.max(ta.change(rsiSourceInput), 0), rsiLengthInput)
down = ta.rma(-math.min(ta.change(rsiSourceInput), 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiMA = ma(rsi, maLengthInput, maTypeInput)
isBB = maTypeInput == "Bollinger Bands"
plot(rsi, "RSI", color=#7E57C2)
plot(rsiMA, "RSI-based MA", color=color.yellow)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI
Background Fill")
bbUpperBand = plot(isBB ? rsiMA + ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Upper Bollinger Band", color=color.green)
bbLowerBand = plot(isBB ? rsiMA - ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Lower Bollinger Band", color=color.green)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na,
title="Bollinger Bands Background Fill")
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
maTypeInput = input.string("SMA", title="MA Type", options=["SMA", "Bollinger
Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="MA Settings")
maLengthInput = input.int(14, title="MA Length", group="MA Settings")
bbMultInput = input.float(2.0, minval=0.001, maxval=50, title="BB StdDev",
group="MA Settings")
up = ta.rma(math.max(ta.change(rsiSourceInput), 0), rsiLengthInput)
down = ta.rma(-math.min(ta.change(rsiSourceInput), 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiMA = ma(rsi, maLengthInput, maTypeInput)
isBB = maTypeInput == "Bollinger Bands"
plot(rsi, "RSI", color=#7E57C2)
plot(rsiMA, "RSI-based MA", color=color.yellow)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI
Background Fill")
bbUpperBand = plot(isBB ? rsiMA + ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Upper Bollinger Band", color=color.green)
bbLowerBand = plot(isBB ? rsiMA - ta.stdev(rsi, maLengthInput) * bbMultInput : na,
title = "Lower Bollinger Band", color=color.green)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na,
title="Bollinger Bands Background Fill")
You might also like
INEVITRADE Pro +
PDF
75% (4)
INEVITRADE Pro +
3 pages
LearnPriceActionTheEasyWay Mohan Gilley
PDF
95% (21)
LearnPriceActionTheEasyWay Mohan Gilley
59 pages
Iq Script
PDF
100% (1)
Iq Script
4 pages
Zalkantor SNR
PDF
No ratings yet
Zalkantor SNR
3 pages
The 7 Elements
PDF
No ratings yet
The 7 Elements
641 pages
The Truth About Fibonacci Trading
PDF
No ratings yet
The Truth About Fibonacci Trading
34 pages
CRB, Wtic & Gold
PDF
No ratings yet
CRB, Wtic & Gold
25 pages
Rahul Glycon
PDF
No ratings yet
Rahul Glycon
3 pages
BB Oversold Ve Rsi
PDF
No ratings yet
BB Oversold Ve Rsi
2 pages
Pine Editor
PDF
No ratings yet
Pine Editor
2 pages
MOST On RSI
PDF
No ratings yet
MOST On RSI
4 pages
Double RSI
PDF
No ratings yet
Double RSI
9 pages
RSI
PDF
No ratings yet
RSI
1 page
I.R.M.O.C. Merged
PDF
No ratings yet
I.R.M.O.C. Merged
7 pages
10indicators
PDF
No ratings yet
10indicators
8 pages
!三重MACDTrippleMACD
PDF
No ratings yet
!三重MACDTrippleMACD
4 pages
RSI
PDF
No ratings yet
RSI
4 pages
RSI, Stoch Rsi, EMA, SMA, & ROC - Nabyed0001
PDF
No ratings yet
RSI, Stoch Rsi, EMA, SMA, & ROC - Nabyed0001
1 page
rsi + money flowwww indexxxxxx
PDF
No ratings yet
rsi + money flowwww indexxxxxx
3 pages
RSI script
PDF
No ratings yet
RSI script
3 pages
Rsi
PDF
No ratings yet
Rsi
3 pages
rsi (1)
PDF
No ratings yet
rsi (1)
3 pages
RSI With Divergences Stoch MFI RVI Technical Ratings With
PDF
No ratings yet
RSI With Divergences Stoch MFI RVI Technical Ratings With
13 pages
RSI + Bollinger Bands
PDF
No ratings yet
RSI + Bollinger Bands
1 page
rsh
PDF
No ratings yet
rsh
3 pages
DD algo Strategy original_Buy
PDF
No ratings yet
DD algo Strategy original_Buy
2 pages
indicator 11
PDF
No ratings yet
indicator 11
2 pages
rrrsi
PDF
No ratings yet
rrrsi
8 pages
3M WR Dmi
PDF
No ratings yet
3M WR Dmi
4 pages
Heiken Ashi Algo Oscillator
PDF
No ratings yet
Heiken Ashi Algo Oscillator
7 pages
11111
PDF
No ratings yet
11111
27 pages
Orb+ Bb+ma BORMA
PDF
No ratings yet
Orb+ Bb+ma BORMA
3 pages
DAILY ALGO
PDF
No ratings yet
DAILY ALGO
12 pages
RMI Trend Sniper + AAFLI Merged by Lupen
PDF
No ratings yet
RMI Trend Sniper + AAFLI Merged by Lupen
11 pages
Rsi Divergence
PDF
No ratings yet
Rsi Divergence
8 pages
Zigzag Core with QQE MOD and Advanced Indicator
PDF
No ratings yet
Zigzag Core with QQE MOD and Advanced Indicator
5 pages
Kb Al_sat Kombi̇ne i̇ndi̇katör
PDF
No ratings yet
Kb Al_sat Kombi̇ne i̇ndi̇katör
12 pages
WPS Office-32
PDF
No ratings yet
WPS Office-32
13 pages
indicator 33
PDF
No ratings yet
indicator 33
2 pages
Script American
PDF
No ratings yet
Script American
4 pages
Reversal Master [Hawbash]
PDF
No ratings yet
Reversal Master [Hawbash]
29 pages
AlgoPoint Channels
PDF
No ratings yet
AlgoPoint Channels
3 pages
Momentum Cloud Bollinger Bands
PDF
No ratings yet
Momentum Cloud Bollinger Bands
4 pages
TRADE ALGO DUT
PDF
No ratings yet
TRADE ALGO DUT
11 pages
Reversal Master [AlgoPoint]
PDF
No ratings yet
Reversal Master [AlgoPoint]
29 pages
Temp_024439
PDF
No ratings yet
Temp_024439
3 pages
Sayan
PDF
No ratings yet
Sayan
3 pages
Trading Strategy
PDF
No ratings yet
Trading Strategy
2 pages
Accurate Trend Band Trading System
PDF
No ratings yet
Accurate Trend Band Trading System
6 pages
indicator 4
PDF
No ratings yet
indicator 4
3 pages
WPS Office-_33
PDF
No ratings yet
WPS Office-_33
12 pages
Stock - Warrior - Buy - Sale - Condition: For SL Chart
PDF
No ratings yet
Stock - Warrior - Buy - Sale - Condition: For SL Chart
30 pages
XC1
PDF
No ratings yet
XC1
5 pages
Untitled document
PDF
No ratings yet
Untitled document
3 pages
Scripts For Ta
PDF
No ratings yet
Scripts For Ta
1 page
Botscript 2.0
PDF
No ratings yet
Botscript 2.0
4 pages
Mutltiribbon Values
PDF
No ratings yet
Mutltiribbon Values
4 pages
3 in 1 final
PDF
No ratings yet
3 in 1 final
3 pages
MacD - Bollinger Bands B - RSI-Stochastic With Combined Volatility and Ticks V1-1
PDF
No ratings yet
MacD - Bollinger Bands B - RSI-Stochastic With Combined Volatility and Ticks V1-1
3 pages
Multi Ribbon Signal Everywhere
PDF
No ratings yet
Multi Ribbon Signal Everywhere
5 pages
Brahmos (2)
PDF
No ratings yet
Brahmos (2)
11 pages
Combine
PDF
No ratings yet
Combine
26 pages
This Source Code Is Subject To The Terms of The Mozilla Public License 2
PDF
No ratings yet
This Source Code Is Subject To The Terms of The Mozilla Public License 2
4 pages
Profound Python Data Science
From Everand
Profound Python Data Science
Onder Teker
No ratings yet
Introduction to PHP, Part 2, Second Edition
From Everand
Introduction to PHP, Part 2, Second Edition
Adam Majczak
No ratings yet
ZZ Algo MR Algo
PDF
No ratings yet
ZZ Algo MR Algo
4 pages
Technical Indicators - Explained
PDF
No ratings yet
Technical Indicators - Explained
28 pages
v1.5.3 Price Action ICT Toolkit-2
PDF
No ratings yet
v1.5.3 Price Action ICT Toolkit-2
65 pages
Magic Forex Divergence
PDF
100% (7)
Magic Forex Divergence
12 pages
Technical Analysis Library in Python
PDF
100% (1)
Technical Analysis Library in Python
38 pages
Introduction To Technical Analysis: Andrew Wilkinson
PDF
No ratings yet
Introduction To Technical Analysis: Andrew Wilkinson
37 pages
Eurotrader and ForexDoc Free PDF
PDF
No ratings yet
Eurotrader and ForexDoc Free PDF
10 pages
Pivot Cheat Sheet
PDF
No ratings yet
Pivot Cheat Sheet
1 page
BootcampX Day 2
PDF
No ratings yet
BootcampX Day 2
31 pages
Technical Analysis
PDF
100% (1)
Technical Analysis
28 pages
Japanese Candlesticks: Strategy Guide
PDF
100% (2)
Japanese Candlesticks: Strategy Guide
3 pages
3 Chart Patterns Cheat Sheet PDF
PDF
100% (1)
3 Chart Patterns Cheat Sheet PDF
7 pages
Nitin Intraday Nifty Banknifty Trend Finder
PDF
No ratings yet
Nitin Intraday Nifty Banknifty Trend Finder
11 pages
Dual Candlestick Patterns in Forex - HowToTrade
PDF
No ratings yet
Dual Candlestick Patterns in Forex - HowToTrade
13 pages
9 Advanced and Profitable Trading Strategies
PDF
83% (6)
9 Advanced and Profitable Trading Strategies
44 pages
Analisis Perubahan Harga Saham Dengan Menggunakan Grafik Candlestick
PDF
No ratings yet
Analisis Perubahan Harga Saham Dengan Menggunakan Grafik Candlestick
12 pages
Holigrail Afl For Amibroker
PDF
100% (1)
Holigrail Afl For Amibroker
27 pages
PAPA Concept 1 (2)
PDF
No ratings yet
PAPA Concept 1 (2)
24 pages
AlgoPoint Reversal Finder
PDF
No ratings yet
AlgoPoint Reversal Finder
34 pages
30 Important Candlestick Patterns and How Are They Read
PDF
No ratings yet
30 Important Candlestick Patterns and How Are They Read
20 pages
Balanced Price Ranges
PDF
No ratings yet
Balanced Price Ranges
7 pages
Moving Average Convergence-Divergence (MACD)
PDF
No ratings yet
Moving Average Convergence-Divergence (MACD)
4 pages
Pertemuan 13 (Dividend) 2
PDF
No ratings yet
Pertemuan 13 (Dividend) 2
20 pages
The Ichimoku Cloud
PDF
No ratings yet
The Ichimoku Cloud
3 pages
IFTA CFTe Syllabus
PDF
50% (2)
IFTA CFTe Syllabus
127 pages