Raj
Raj

Reputation: 47

Export Data with Flag on Tradingview chart

I have manually marked some flag on tradingview chart. I hve a premium account and I can export chart data. I want to include these flags in my export. Does anyone knows how can I do that?

enter image description here

Upvotes: 0

Views: 3770

Answers (1)

PineCoders-LucF
PineCoders-LucF

Reputation: 8789

You cannot export the position of manually drawn objects on the chart.

You can export the value of script plots to a CSV file using the burger menu's Export chart data..., so if you have a script like this generating the "Buy" labels, you will get a 1 in your CSV file when the label is plotted:

//@version=4
study("", "", true)
plotshape(rising(close, 10), "Buy Signal", shape.labelup, location.belowbar, color.green, text = "Buy", textcolor = color.white)

enter image description here enter image description here

Upvotes: 1

Related Questions