Pine Script history reference (e.g. [1])
How does the history reference (e.g. [1]) work on UDTs defined with the var
keyword in the new Pine Script version 6?
Order execution data in pine-script indicator
Is there a way to get the order execution data in a pine-script indicator? I’m looking to plot order executions on a chart. I’m not interested in the strategy tester or backtesting. This is for a live chart.
How to Draw a Horizontal Line on TradingView Based on the Highest Volume Day in the Last 200 Days?
“I want to draw a horizontal line on a TradingView chart. The process is as follows:
Pinescript – strategy TP works sometimes, sometimes not
I use a strategy with 2 levels for TP based on ATR bands. First TP is 40% of total position, second TP is 20 %, the remaining 40% goes on until strategy reverses from long to short and viceversa. So far, no problems.
Trying to Count FVGs for Various Time Frames in Pine
I am trying to count the number of consecutive bullish or bearish Fair Value Gaps for multiple time frames (count resets to zero when we flip from a bullish to bearish or vice versa).
Use dayofweek user input
I’m trying to highlight a specific day of the week and I want the day to be user definable. I’m getting errors related to type casting but don’t know how to fix it. THis is my code:
Market data custom indicator
Please, is there a (easy) way in pine to get to binance (market) trading data (such as oi, l/s ratio etc/) – to build a custom indicator? Any example/manual article (link to)? Thanks.
Anchored VWAP in Pine Script
The method of calculating AVWAP and plotting it is straightforward, but the challenge that I am facing is how to plot it separately for each of the events that you are anchoring to. For example if you want to plot separate AVWAP at the beginning of each day opening gap.
PineScript calculation of nearest 50 number of current price
I am trying with a PineScript to find out dynamically the ATM strike price of Indian indices, say Nifty (nearest 50) or NiftyBank (nearest 100).
Trading View – Display indicator only on the symbol it was started on
I have an indicator in Pine Script that analyse data specific to the symbol of the chart it is displayed on. When I change the symbol the indicator is not applicable anymore and it should not be displayed anymore.