49
All features indicated on the chart.
A simple higher period call of 5 period RSI that shows what we all know that OB/OS conditions are some of the best parts of a move.
color bars can be turned off. RSI can be shown in a traditional format with a smoothed line (current period). Trend bars can be turned on or off. Blank areas on the bottom line denote non OB/OS conditions on the higher time frame.
Not to be used as a signal generator per se, but does a good job in backtesting anyway. I would use this as a 'permission' signal more than anything, keeps you on the right side of the move, far more often than not.
Enjoy,
Trade responsibly
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?
//@version=2
study("Trend V2.1", overlay=true)
tf = period=="1"?"3":period=="3"?"5":period=="5"?"15":period=="15"?"30":period=="30"?"45":
      period=="45"?"90":period=="60"?"120":period=="120"?"180":period=="180"?"240":period=="240"?"D":
      period=="D"?"W":period=="W"?"M":period=="M"?"3M":period
overlay = input(true, title="Show Trend Color?")
mode    = input(true, title="RSI mode?")
Period  = input(5, title="Length")
Period2 = input(3, title="Signal")
src     = input(close, title="Source", type=source)
rsi     = rsi(security(tickerid, tf, src, false), Period)
OB      = input(80)
OS      = input(20)
trend   = rsi>=OB?teal:rsi<=OS?maroon:na
trendid = rsi>=OB?1:rsi<=OS?-1:0
barcolor(overlay?trend:na, color=trend)
plotshape(overlay==false and trendid==1?trendid:na, style=shape.square, color=teal, location=location.bottom, transp=0)
plotshape(overlay==false and trendid==-1?trendid:na,style=shape.square, color=maroon,location=location.bottom, transp=0)
plot(overlay==false and mode?rsi(src,Period):na, color=black, transp=0)
plot(overlay==false and mode?sma(rsi(src,Period),Period2):na, color=maroon, transp=0)
plot(overlay==false and mode?OB:na, color=maroon, transp=0)
plot(overlay==false and mode?OS:na, color=teal, transp=0)