PROTECTED SOURCE SCRIPT
Actualizado

Draw Horizontal Lines

2 775
This script will draw horizontal lines at user-specified levels on a trading chart, which is especially useful for marking key support and resistance levels.

Explanation:

Indicator Definition: The indicator function sets up the script with the name "Draw Horizontal Lines" and specifies that it should overlay the price chart.

Processing Levels: The space-separated string of levels is split into an array using str.split.

Notas de prensa
Changed space separated input to comma separated input.
Notas de prensa
Typo fix

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.