TradingView
zkdev
5 de Mar. de 2023 4:16

Short Term Bubble Risk 

Bitcoin all time history indexINDEX

Descripción

This risk indicator uses the extension of the closing price to the 20W SMA and displays a color-coded risk oscillator. The higher the oscillator is, the greater the short-term risk and vice-versa. This indicator has historically worked well for estimating the short-term risk of Bitcoin and Ethereum on a weekly timeframe.

Notas de prensa

Bumped version to v5 and added smoothing inputs with SMA and EMA.

Notas de prensa

Updated the risk color by using HSL gradient and added a toggle to enable/disable the fill.

Notas de prensa

- Added a vertical and horizontal gradient toggle alongside the existing fill toggle

Notas de prensa

- Removed dead code
Comentarios
kaigouthro
it could look like:

or


if you used:

import kaigouthro/hsvColor/15

:)

that's your indicator, with a. uhm.. some mustard on it.
zkdev
@kaigouthro, looks pretty cool! Is there any documentation or example scripts I could use to implement that?
NASDAQ-Trading
@legroszach, extColor(ext) =>
if ext > 100
color.new(#b22623, 1)
else if ext >= 75
color.new(#eb6f39, 1)
else if ext >= 50
color.new(#f0b74b, 1)
else if ext >= 25
color.new(#f4ff5f, 1)
else if ext >= 0
color.new(#7df653, 1)
else if ext >= -25
color.new(#78f9f5, 1)
else if ext >= -50
color.new(#0600f0, 1)
else
color.new(#05008d, 1) Please color display horizontally.
zkdev
@NASDAQ-Trading, I posted an update to the indicator recently.
NASDAQ-Trading
@legroszach, oh. yea thanks. but, this color is vertically. Would you please, Horizontally? can possible?
zkdev
@NASDAQ-Trading, I made a new update where you can toggle between a vertical and horizontal gradient in the indicator settings. You can also disable the fill and have a line plot.
NASDAQ-Trading
oh good Then, I'll order one more expression.
This is a different story.

Based on the above index color expression,
%k value in stochastics slow 10.5.5
Yellow when over 80, red when over 90.
Green when below 20, Black when below 10.
How are you? Thank you very much.
zkdev
@NASDAQ-Trading, I'm not sure I totally understand your request. Are you asking for a stochastic oscillator of this risk metric with coloration or you're asking for a generic stochastic oscillator with coloration?
NASDAQ-Trading
@legroszach, Please coding the Stochastic Slow 10 5 5 %K with overbought starting at 80 and oversold starting at 20 or below.
culturalLemur59476
thank you😍😍😍 it is replica of Benj Koen indicator.
Más