Pinescript problems
I am not a coder or programmer, et. just old man trying to figure out a script that is a strategy. When I place it in TradingView I get all kinds of error messages. I will try to attach it here if someone could please help me? Thank you very much.
Chickou Span Crossover
Let me explain the problem. Chikou Span is the current price shown 26 points in the past. I want the cross of the chikou span with the price bar bar as buy signal.
How to buy sell on the pivot high & low signals
I am new to pine script & would like to ask you the simple code where it should buy at the pivotHigh & sell at the pivotLow. Thanks in advance for your help…
pine script indicator cant close trade when label changes
Hello i want to implement an sctrategy(code below) but this dosen’t work. iwant to open a trade when the label buy appear and if a sell position is open it shoulbe close, instead for sell label close buy position and open a sell trade.
Pine Script: strategy.exit Error with Trailing Stop and Stop Loss
I’m working on a Pine Script strategy for TradingView, and I’m encountering an error with my strategy.exit function. The error message is:
PineScript: Get the IPO date of a ticker, and get the open prices of that ticker and SPY on that day
For example, I want to get the IPO day of NVDA
(or the very first data in the history). Which was 1999-01-22 on TradingView. Then, get the open
prices of NVDA
and SPY
on that day (1999-01-22). Which was 0.0438 and 122.13, respectively.
Pine Script Fibonacii breakout signal
anyone can help me with small correction.
Normalize the close series data by today’s close value
The following code will plot the close
series data:
Adding pinescript tags
I am adding a label on top of a bar in Pine Script. However, the label’s position changes with each new candle because the bar index changes. How can I add a label fixed to a specific index?
Getting error and don’t know how to solve it – Object has no field all
closelong = (n1 < n2 and p < n2 and confidence < dt) or (strategy.opentrades.profit(strategy.opentrades.size(strategy.opentrades.all)) < SL) or (strategy.opentrades.profit(strategy.opentrades.size(strategy.opentrades.all)) > TP) I dont know how to solve it. Many Thanks! i want that total number is all but ‘strategy.opentrades.all’ is wrong. pine-script New contributor user25598400 is a new contributor to this site. Take care in […]