OPEN-SOURCE SCRIPT
Atualizado Near N Bars Real Body High and Low Support and Resistance

This indicator dynamically identifies support and resistance levels based on the highest and lowest values of the real bodies (open and close prices) of the most recent N bars. Users can interactively select the starting bar by clicking on the chart, and the script calculates the highest high and lowest low within the specified range, drawing horizontal support and resistance lines accordingly. The lines can be extended to the left and right according to user inputs. This tool helps traders visually identify key price levels for technical analysis based on recent price action.
Notas de Lançamento
A higher timeframe setting has been added. It should be noted that if a higher timeframe is set and the anchor arrow is dragged on a lower timeframe chart to select a new bar, it will automatically round up to the next bar of the higher timeframe.For example, if the higher timeframe is set to 1 hour (1H) and the initial bar is at 17:00, dragging the arrow on a 5-minute chart to 17:10 will change the initial bar to 18:00.
Notas de Lançamento
Updated the drawing of the wick highest/lowest lines, the corresponding timezone labels, and enabled switching between display modes.Notas de Lançamento
Add the arrow backScript de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.