I have no programming experience and had to struggle initially to learn this simple PineScript programming. I had to take help of some of my engineer friends and traders familiar with coding. During my journey to learn this simple yet powerful PineScript, I thought of sharing my learning experience with other traders for their benefit. This book is for non-programmers with no prior coding experience by a non-programmer. This book will surely enable you to make quick codes with simple instructions.
ALL VERSION 5 UPDATES INCLUDED
Table of Contents
Lesson 1: The TradingView Platform
Lesson 2: Making your first indicator
study, strategy, and overlay
Lesson 3: Plotting multiple indicators: Saving Subscription
Adding more moving averages to Price Chart
Changing the color of the plot
Do it yourself
Lesson 4: Variables and Built-in Variables
How data is stored in pinescript?
Built-in Variables
Coding using the Concepts learned so far
Type of data
Variables
Lesson 5: Operators
Why they are called operators?
Relational Operators
Logical Operators
Coding using the concepts learned so far
Lesson 6: Conditional Statements
The "iff" statement
The "if .... else..." condition
Bar marking when open = high[1]
Lesson 7: Drawing Shapes/text / Labels on chart
The plotshape & plotchar function
The label function
Label function inside a conditional block
A label can print variables
Label as debugging tool
Lesson 8: Loops - Repeating Task
The "for" Loop
The break Statement
Lesson 9: Setting up Alert
Setting Alert from TradingView Interface
Setting Custom Alert
Engulf Screener through PineScript
Explanation to Screener Code
Lesson 10: Functions
Built inTechnical Indicators
Average True Value
Exponential Moving Average
Parabolic SAR
Correlation
Chande Momentum Oscillator
Center of Gravity
Money Flow Index
Stoch
Bollinger Bands
Williams %R
Keltner Channels
Directional Movement Index
SuperTrend
Other major built-in functions
Pivot high and Pivot lows
The crossover and crossunder function
Barssince
The valuewhen function
User Defined Functions
Example Marking Doji Pattern
Library
Chapter 11: Coding Auction Failure