How to plot time for a particular event?

desiben

New member
VIP
I am trying to plot the time when a particular event has happened.

For ex: Lets say I have price crossing over MA9. I want to track the time whenever this has happened and draw an AddVerticalLine.

I am looking to plot a Vertical line wherever this happened in the chart.

Can someone please help?

The reason I want this is because, I am creating a Dynamic watchlist based on a scanner (when price crosses MA9). If i have this I can sort it based on what came first in my Watchlist.
 

Similar threads

Top