Cannot add marker to the price chart while having plot

vinluvie

Member
Joined
Feb 26, 2021
Posts
5
Likes
1
Hi,

So I have an indicator that has 2 plots below the price chart, and I am also trying to add a marker to the price chart and it actually ends up adding to the first plot below the chart. is there a way I can make it draw on the chart?

thank you
 

Spin

Well-known member
Joined
May 22, 2019
Posts
474
Likes
189
A classic we all struggle(d) with :)

When a Study draws on more than one 'Plot', you need to define on which one to plot this specific object

Try something along these lines:

Java:
addFigure(Plot.PRICE, SomeMarker);
 
Top