Niraj Patel
Niraj Patel

Reputation: 11

How to add Mouse click event in Pine script in trading view?

I am trying to add mouse click event to get bar information for selected bar in traading view.

Upvotes: 0

Views: 1829

Answers (1)

PineCoders-LucF
PineCoders-LucF

Reputation: 8789

Can't be done in Pine. There is no visibility on the chart from Pine, and no way for a script to receive UI events other than through changes of inputs in the script's Settings/Inputs.

Upvotes: 3

Related Questions