Top "Pine-script" questions

Pine Script is a domain-specific language for coding custom technical indicators and strategies on TradingView.

how to draw lines in Pine script (Tradingview)?

Pine editor still does not have built-in functions to plot lines (such as support lines, trend lines). I could not …

line finance pine-script
What is the equivalent of console.log in pine-script?

How does one console.log variables, or the results of functions in pine-script? I'd like to convert a pine-script script …

pine-script algorithmic-trading
How to draw a vertical line in TradingView pine script?

I'm trying to use the web based TradingView platform to make my own custom scripts to display various financial market …

pine-script
I got TradingView's 'end of line without continuation' error with Pine Script

I am using this code in Pine Script but getting the "mismatched input 'a' expecting 'end of line without line …

pine-script
Pine Script Drawing a horizontal line to the right of bars

I am currently trying to write up a script in Pine Script for TradingView, and am having difficulties drawing a …

pine-script horizontal-line
pinescript - plot cross when EMA crosses over SMA while above/ below 200 moving average

I am very NEW to pinescript and I am stuck at this point... I would like to plot a cross …

plot moving-average pine-script
Tradingview Pine script - how can I make custom volume indicator behave like a built-in Vol

I made a custom volume indicator, but when applied to the chart, it doesn't autoscale like the built-in one, doesn't …

pine-script
Tradingview Pine Script strategy.exit() how to stop loss move to break even

Firstly, sorry my english. Im not native speaker. I send a strategy skeleton written on pine script. As you seen …

pine-script