
pine script - End of Line without line continuation - PineScript ...
Jan 30, 2025 · End of Line without line continuation - PineScript Asked 10 months ago Modified 10 months ago Viewed 277 times
pine script - Get current price, pinescript v5 - Stack Overflow
Jan 15, 2023 · I'm trying to figure out how to call current price when a certain condition exists. For example: if ta.crossover(short, long) get.price(current) := someInteger strategy.exit("closePositio...
TradingView. Pine-Script: Plotshape, using location.absolute and a ...
Sep 8, 2020 · In the TradingView PineScript programming language, the Plotshape command format is: plotshape (series, title, style, location, .... Where "Series is treated as a series of boolean values for …
Pinescript: Use text variable in Alerts - Stack Overflow
Jan 21, 2021 · Pinescript: Use text variable in Alerts Asked 4 years, 10 months ago Modified 1 year, 8 months ago Viewed 5k times
Heikin Ashi candle code in pine script V5 - Stack Overflow
May 27, 2023 · In pinescript version 4, the Heikin Ashi candle open is calculated as: ha_close = (open + high + low + close)/4 ha_open = na(ha_open[1]) ? (open + close)/2 : (ha_open ...
pine script - Pinescript line extend - Stack Overflow
Jul 22, 2022 · Trying to draw Bull/bear flags and make the lines extend as long as the price is still within the top and bottom lines. The problem is if the future prices comes back into where the flag lines woul...
Draw rectange box with vertical time interval - Stack Overflow
Jul 12, 2022 · How to draw rectangle with timeframe interval in pinescript? Besides that, I have issue construct the vertical line, which sometime the vertical line will be compress all the price's height into …
pine script - no viable alternative at character ' {' - Stack Overflow
Mar 6, 2023 · I keep getting this error message no viable alternative at character ' {' when trying to compile my code in pinescript version 5. My code is as follows: // Create ...
How to get timestamp in Pine script? - Stack Overflow
Nov 16, 2021 · Does this answer your question? Pinescript - How to pass current date in timestamp?
How to stick labels to the right scale? - Stack Overflow
Jan 28, 2023 · You cannot do that. There is chart.right_visible_bar_time built-in variable but it will point to the rightmost bar on your chart and not the right edge of your chart. It might come handy when …