
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 …
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 - How to get the latest closing price in pinescript ...
Oct 15, 2022 · I would like to get the latest closing price in pinescript. I thought this is a simple thing to do, yet I face difficulty. I tried close but this returns the closing price of the bar selected by the
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
Newest 'pine-script' Questions - Stack Overflow
Mar 6, 2026 · I am new to pinescript and wrote this simple script to show me daily, weekly and monthly candle open lines by piecing together information I could find. This works well but I would like to add …
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 …
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 …
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: