Skip to content
Discussion options

You must be logged in to vote

The options chart on TradingView.com uses Lightweight Charts “plugins” in several places to add UI/behavior that isn’t available out-of-the-box. Those specific plugins used on tradingview.com aren’t open-sourced.

To recreate the visual you shared:

  • Use a BaselineSeries for the main P/L plot (green/red fill) with baseline at 0.
  • Add a separate LineSeries for the dashed blue line.

Notes and tips:

  • The fill above/below zero comes from BaselineSeries options (e.g., top/bottom fill colors, line colors).
  • The dashed style for the blue line can be configured via line style options.
  • Custom hover behavior, composite tooltips, vertical guides, or any “special” interactions shown in the screenshot wi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SlicedSilver
Comment options

Answer selected by ArtyomVancyan
@ArtyomVancyan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants