How to keep chart data without a plot


Category:
0
0

Hello Pete,

I want to use this code, to show the stats(title and count) when i highlight a candle. However, I do not want the code to actually lot anything on the chart

 

#Count Trades and price neautralisng
declare zerobase;
plot Trades = Fundamental(FundamentalType.TICK_COUNT);

def neutralizing = trades < 20;
#———- Paint Candles
AssignPriceColor(if neutralizing then Color.black else Color.Current);

 

 

 

I have included a screenshot to this post.

 

Thank you

Attachments:
Marked as spam
Posted by (Questions: 22, Answers: 63)
Asked on February 25, 2019 5:13 pm
71 views
0
Private answer

Change the color of the plot to match the background color.

Marked as spam
Posted by (Questions: 37, Answers: 4117)
Answered on February 27, 2019 12:32 pm