
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 …
Newest 'pine-script' Questions - Stack Overflow
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 input ...
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, 7 months ago Viewed 2k times
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 …
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:
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, 4 months ago Modified 4 years, 4 months ago Viewed 7k times
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 …
Try to code risk-reward ratio of 1:3 with PineScript
Dec 19, 2024 · unable to get the reward part working Hi, I'm trying to calculate the profit price target based on the distance between entry price and recentlow, then times 3 to get 1 to 3 risk-reward …