Bulltrading
WebsiteLaunch AppYoutube(FR)Youtube(EN)
  • πŸ“˜Preface
  • Bulltrading Designer
    • βš’οΈDesigner
    • πŸ’»Editor
      • My indicators
      • MarketPlace
      • Create your first indicator
    • πŸ“ˆMy strategies
      • Publish
        • Personal Strategy
        • Strategy To Rent
    • πŸ‘¨β€πŸ’»Pinescript
      • First indicator
      • Pine Scriptβ„’ v5 User Manual
        • Pine Scriptβ„’ Execution Model
        • Time Series
        • Pine Script Structure
        • Identifiers
        • Operators
        • Variable declarations
        • Conditional structures
        • Loops
        • Type system
        • Built-ins
        • User-Defined Functions
      • Built-ins
        • Variables
          • Candles
          • Colors
          • Math
          • Ta
        • Functions
          • Indicator
          • Input
          • Plot
          • Na - Nz
          • Math
          • Ta
      • Bulltrading vs TradingView
  • Bulltrading tokens (BLT)
    • πŸͺ™BLT Tokenomics
    • 🧾BLT Contract
    • 🏦Hold Program
    • πŸ”’BLT Audit
    • 🎯[EN] How to buy BLT ?
    • 🎯[FR] Acheter du BLT
  • Other
    • ⁉️Frequently Asked Question
    • πŸ“ΊVideo Tutorials
    • πŸ“’Glossary
  • πŸ“Ί[FR] Youtube
  • πŸ“Ί[EN] Youtube
  • 🦊Twitter
  • 🦊Discord
  • 🦊Telegram
Powered by GitBook
On this page
  1. Bulltrading Designer
  2. Pinescript
  3. Built-ins
  4. Functions

Plot

plot

Definition: Plots a series of data on the chart.

Syntax: plot(series, title, color, linewidth, type) β†’ void

Returns: A plot object, that can be used in fill.

Arguments:

Name
Type
Description

series

series int/float

Series of data to be plotted. Required argument.

title

const string

Title of the plot.

color

string

Color of the plot. You can use constants like 'color=color.red' or 'color='#ff001a'. Optional argument.

linewidth

simple int

Width of the plotted line. Default value is 1. Not applicable to every style.

type

simple int

Type of plot. Possible values are: 0 (line on the main graph), 1 (line on the output graph). Default value is 0.

Example:

csharpCopy code//@version=5
indicator("plot")
plot(high+low, title='Title', color=color.red, linewidth=2, type=0)
plot(open)
plot(close)
PreviousInputNextNa - Nz

Last updated 1 year ago

πŸ‘¨β€πŸ’»