PROTECTED SOURCE SCRIPT
Atualizado

Draw Horizontal Lines

1 629
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 Lançamento
Changed space separated input to comma separated input.
Notas de Lançamento
Typo fix

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.