OPEN-SOURCE SCRIPT
Actualizado

Trading Ranges

223
I made this script to easily see how a instrument is trading compared to the previous larger timeframes trading ranges. I added 3 candles representing the larger timeframe eg: Daily on a 5 minute chart. The fill area is the range of the previous larger timeframe and there is a parameter to show the open and close lines, you can also set the gradient colors and transparency levels of the lines. I also added some basic alerts for breakout above and below the range. The code could be condensed into functions but I did it like this to get around some pinescript issues.
Notas de prensa
small code tidy up

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.