Professional Documents
Culture Documents
Pinescript Basic Syntax Slides
Pinescript Basic Syntax Slides
Overview
In this tutorial, we will explore the fundamental features of Pine Script. By the end of this section you will
learn:
Study Strategy
● Can plot information on charts ● Can plot information on charts
● Contain calculations ● Contain calculations
● Cannot be used in backtesting ● Used to run backtests.
● Do Not contain strategy.* calls ● Contain strategy.* calls to generate buy and
● Can create and use alertcondition() sell orders
● Can create, but NOT use alertcondition()
Strategies cannot use
alerts!
Lines & Indentation