SimpleTradingTechniques

STT Short Term Trend Bars

Green Candle = buy opportunities

Red Candle = sell opportunities
Remove from Favorite Scripts Add to Favorite Scripts
// Green Candle = buy opportunities
// Red Candle = sell opportunities
// By SimpleTrading Techniques
study(title="RSI Chart Bars",overlay = true, shorttitle="STT Short Term Trend Bars")
src = close, len = input(8, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))

//coloring method below

src1 = close, len1 = input(50, minval=1, title="UpLevel")
src2 = close, len2 = input(50, minval=1, title="DownLevel")
isup() => rsi > len1
isdown() => rsi < len2
barcolor(isup() ? green : isdown() ? red : na )
Youtube: https://www.youtube.com/watch?v=JZxW3NpetSE Register Free Webinars: https://goo.gl/forms/vF9zj56pZjm9CRPE3 Learn trading: https://www.udemy.com/trading-engulfing-candle-top-trend-continuation-strategy/?couponCode=ECS0001

Related Ideas

Would it be possible to make it "alert-friendly" ?
Reply
SimpleTradingTechniques PRO AB-Trading
10 months ago
Look for sell opportunities at the close of the daily candlestick for both WTI and Brent.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out