why time series in global and function scop is not save value
I am a novice in pine script
I have encountered a problem in understanding time series
Create a box for only the last 5 bars: A Simple Problem I can’t crack
I want to create a box around the last 5 bars. I only want to draw one box on the chart.
Pine Error: Version number must be an integer value from range [1, 2] (passed “5”)
I keep getting this error:
How can you create an input with Line Thickness images as the dropdown options using PineScript?
To clarify I am trying to recreate the input as it appears on the default Fib Retracement drawing tool
How to add a text on line in pine script. So the text stays in the right of screen all of the time and in any timeframe
How do you add text on a line in Pinescript that stays on the right of the screen at all times and in any timeframe, similar to when we manually draw a line and add text to it on the right or left?
How do you create a drop down of line style options using PineScript on TradingView?
On TradingView some of their default indicators have dropdown menus where the menu options offer ability to change line style, or line thickness
Picture of the Fib Retracement Indicator menu
Pine Script – buy sell logic
My question is to generate buy signal and sell signal
How do you control alignment of elements in TradingView’s settings menu using PineScript5?
I’m putting together a fib retracement indicator, I defined a bunch of inputs and grouped them up side by side by using inline
Pine Script – Sum of Digits Logic
Trying to Achieve Logic 435 –> 12 —> 3
Strategy Backtesting Help: Imported Indicator Values in Strategy Not Updating Historically
I’m developing a strategy that imports numerical values (1, -1, or 0) from a separate indicator to represent market regimes (e.g., Bullish, Bearish, Neutral).
These values are then converted to boolean flags in my strategy.