Search found 1 match

Go to advanced search

by Wesley7104
Thu Jan 04, 2024 2:52 am
Forum: Pine Script Q&A
Topic: Applying Trailing Stop Indicator to STrategy
Replies: 4
Views: 57871
 
Jump to post

Re: Applying Trailing Stop Indicator to STrategy

I ran into this problem as well with the provided code on the website under the trailing stop example. The fix is to simply add "style=plot.style_linebr" within your plot parameters. This setting plots the data when it is valid and omits the data when it is "na" or not available. for example: plot(t...

Go to advanced search