TradingView
HPotter
١٩ أيار مايو ٢٠١٤ ٠٤:٤٠

RSI Strategy 

الوصف

The RSI is a very popular indicator that follows price activity.
It calculates an average of the positive net changes, and an average
of the negative net changes in the most recent bars, and it determines
the ratio between these averages. The result is expressed as a number
between 0 and 100. Commonly it is said that if the RSI has a low value,
for example 30 or under, the symbol is oversold. And if the RSI has a
high value, 70 for example, the symbol is overbought.
التعليقات
HPotter
WARNING:
This script to change bars color in RED if position is short, and GREEN if position is long. This colors not equals bar color.
ell0214
rookiecoderfromDelhi
Thanks. How can I add a strategy code, to see the backtest results?
125santiagosuarez
Please.!!
dharmeshbusa150
Nice
tartigradia
There is a bug, the overbought area is never shown, it's instead always colored blue (neither oversold nor overbought). Replace nz(pos[1], 0) by 0 to fix the bug.
HPotter
@tartigradia, What symbol do you use?
HPotter
@HPotter, On my KRAKEN:XBTUSD all working fine.
bharathkumar251987
Nice
vasuchee
Ok
المزيد