mgruner

Support and resistance zones

mgruner Actualizado   
Discretionary traders often use support and resistance zones that are based on past price action of the instrument traded.

This simple script is used to plot support and resistance zones for a given instrument. The data for the zones themselves has to be determined by the past price action of the instrument and are not based on the provided data by Tradingview.

The zones input has to come as a string. Each zone consists of a string with: "<low(number)>,<high(number)>,<"S"|"R"|"L">,<"Normal"|"Strong">"" The different zone strings have to be seperated by either new line or space.

An example for the zones input looks like:

3919.25,3919.25,L,Normal
3897.50,3906.50,R,Normal
3891.00,3894.50,S,Strong

I appreciate any feedback.
Notas de prensa:
- fix the start-bar of the boxes
- place labels after the last bar of the chart
Notas de prensa:
-Some more code clean-up
-move start of the zone to start of the day
Notas de prensa:
Allow for optional comments in one zone string, for example "3868.00,3878.00,S,Normal,My-comment_without_space"
Notas de prensa:
Fix label overlay on new bars.
Notas de prensa:
Fix: move Labels on a new bar
Notas de prensa:
Allow for zones boxes to be started some days back and not only today via input parameter.
Notas de prensa:
Adjusted the labels to not be centered, but left.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?