About 50 results
Open links in new tab
  1. 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 …

  2. pine script - Alert in pinescript - Stack Overflow

    Mar 8, 2023 · Alert in pinescript Asked 2 years, 11 months ago Modified 2 years, 6 months ago Viewed 4k times

  3. 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:

  4. pine script - Pinescript Multiple Time Frame - Stack Overflow

    May 1, 2022 · Pinescript Multiple Time Frame Asked 3 years, 9 months ago Modified 3 years, 9 months ago Viewed 7k times

  5. 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 (

  6. 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 …

  7. 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 …

  8. Pinescript Arrays- multidimensional arrays - Stack Overflow

    Jan 12, 2023 · Pinescript Arrays- multidimensional arrays Asked 3 years ago Modified 3 years ago Viewed 4k times

  9. 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 ...

  10. How to move x and y location for label.new in pinescript?

    Apr 16, 2023 · How to move x and y location for label.new in pinescript? Asked 2 years, 9 months ago Modified 1 year, 11 months ago Viewed 2k times