
pinescript: ta.pivothigh misunderstanding - Stack Overflow
Mar 24, 2024 · I'm trying to understand what the ta.pivothigh method is doing in pinescript V5. I was expecting that it was looking nearby for the highest price, but when I use a simple script like this: float …
Difference between := and = operator in pine script
Jan 17, 2021 · I'm super new to TradingView Pine Script and I didn't find a proper reference for understanding the difference between the := and = operators. Does anyone have a reference or …
Newest 'pine-script' Questions - Stack Overflow
Mar 6, 2026 · 0 votes 1 answer 453 views Pinescript input line style I am new to pinescript and wrote this simple script to show me daily, weekly and monthly candle open lines by piecing together …
pine script - pinescript, date/day formatting - Stack Overflow
Feb 17, 2022 · I'm fairly new to pinescript and I'm having a couple of issues. I am attempting to project a vertical line with a label ahead of the current price which needs to appear each day and or on specific ...
pine script - Alert in pinescript - Stack Overflow
Mar 8, 2023 · Alert in pinescript Asked 3 years ago Modified 2 years, 7 months ago Viewed 4k times
PineScript order entry, stop loss and take profit - Stack Overflow
May 6, 2022 · I am just getting to grips with PineScript and more specifically writing strategies to place orders/trades however, have a quick question. I want to create a basic template strategy that will …
Pinescript Arrays- multidimensional arrays - Stack Overflow
Jan 12, 2023 · Pinescript Arrays- multidimensional arrays Asked 3 years, 1 month ago Modified 3 years, 1 month ago Viewed 4k times
I want to make a PineScript V5 Strategy with ADX and RSI But keep ...
Mar 23, 2023 · It just seems that I can't figure out the correct script for my strategy, which is the following: Buy signal when the ADX is above 46 and at the same time the RSI is oversold at or below …
How do I use both stop loss and take profit in pinescript v5 ? (Three ...
Jan 3, 2023 · I'd like to get the stop loss and take profit to trigger and print on the chart. The stop loss and take profit should both be set to 1% from the entry for both long and short positions. Method 1:
How to overcome "Compiled script code is too long" in Pine Script
Feb 25, 2021 · The below theoretical example includes 1000 in function a () and 500 in b). PineScript cannot compile this as Compiled script code is too long: 79979. The limit is 60000. However, the …