
pine script - Alert in pinescript - Stack Overflow
Mar 8, 2023 · Alert in pinescript Asked 2 years, 10 months ago Modified 2 years, 5 months ago Viewed 4k times
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 …
optimization - How do I optimize my Pinescript script (make it faster ...
Jul 24, 2023 · How do I optimize my Pinescript script (make it faster and simpler to read)? Asked 2 years, 5 months ago Modified 1 year, 8 months ago Viewed 2k times
What's the difference between close and close[1] in pinescript
Aug 9, 2021 · What's the difference between close and close [1] in pinescript Asked 4 years, 5 months ago Modified 4 years, 5 months ago Viewed 7k times
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:
Plotting previous day high/low/close using pine script
Jan 25, 2022 · I have a pine script to draw previous day high/open/low as shown below: //@version=4 strategy ("Plot Lines", overlay=true) PDH = security (syminfo.tickerid,"D",high) PDO = security (
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 …
Overlay "true" and "false" at the same time in PineScript
Nov 5, 2024 · Recently I wrote a simple indicator with PineScript and published it on Tradingview so that my friends could use it. The code was like this: // This Pine Script™ code is subject to the terms of the
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 …
pine script - How do I plot a horizontal line on the high and low of a ...
Mar 24, 2022 · How do I plot a horizontal line on the high and low of a specific time in Pinescript? Asked 3 years, 9 months ago Modified 2 years, 7 months ago Viewed 23k times