Pine Script

  • Pine script is a programming language used for creating indicators and strategy studies in tradingview. 
  • It has 4 versions.
  • It is case-sensitive.
  • There are two types of scripts: Indicator and Strategy.
  • study() function is used to determine whether it is an indicator script or strategy script.
  • Overlay in the study() means that the indicator is plotted on the chart rather than its own box.
  • plot(variable, color, transp, linewidth) function is used to plot the thing.
  • If we press CTRL+SPACE it displays the appropriate inbuilt functions.
  • The input(title, type, defval, minval) function is used to get variable inputs from the user directly from the interface.

Comments