Teach Yourself Coding Indicators in PineScript

Af
Bog
  • Format
  • Bog, hæftet
  • Engelsk
  • 118 sider

Beskrivelse

Teach Yourself Coding Indicators in PineScript provides a good starting point for you in PineScript Version 5 programming. It covers important topics in PineScript and lays a solid foundation for a serious beginner. After reading this book, you will be able to write basic PineScript programs on your own to develop Indicators in tradingview platform. It is a simple book to read with to understand the concepts and programming skills introduced in the book. The best part is that this book offers many sample programs and exercises with clear explanations and answers, that makes the concepts of the PineScript easier to understand. If this is your first time learning any programming language, this book is written for you. In fact, in writing this book it is assumed that the readers have no prior programming experience.

Updated with version 5

This book has improved edition by the name "Tradingview Pine Script Programming from Scratch" which also includes trade strategies and arrays. It is recommended to purchase above improvised book.

Topics Covered

Introduction

Who Should Read This Book?

Programming Examples

Summary and Workshop

Chapter -1: Taking the First Step

What is PineScript?

Why do you need to learn PineScript?

Assumptions About You

Setting Up Your System

Chapter -2: Your first program in PineScript

A Simple PineScript Code

Compiling and running the script

What are the Builtin Functions?

Example of Other Built-in Functions

What are Builtin Variables?

Chapter -3: Plotting on the Chart

Moving Average Crossover

The plot function

Arguments to the plot function

Chapter -4: Understanding Data Types

Concept of DataType

Concept of Variable

Arithmetic Operations in Series Variable

Chapter -5: Operators in PineScript

Assignment Operator

Arithmetic Operators

Comparison Operators

Logical Operators

Identifying Doji

Drawing Shapes on Chart

Chapter -6 : Control-flow : Iteration

Flow Chart

Repeating task

The for loop statement

The while loop statement

Chapter -7 : Control-flow: Branching

The iff statement

The conditional ternary operator

The "if....else..." statement

The switch Statement

Chapter -8 : Functions

The need for user-defined functions

Understanding a function

Defining Custom Functions in Script

Scope of Variables

Library

Chapter-09: Examples using Functions

ZigZag Indicator

Identifying "Mark-Up" Bar

Chapter -10 : Built-in line function

Line Function

Example joining pivot points

Chapter -11 : Customizable script - Taking input from users

The input function

Boolean input provide toggle button

Integer input

Float input

Symbol input

Resolution input

Source input

Option argument of the input function

Chapter -12 : Indicators & code library

Built-in Indicators

Publishing Code to Trading View

Chapter 13 : Errors and their remedy

Cannot assign expression of type

Appendix A - Answers to quiz and exercises

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal118
  • Udgivelsesdato20-09-2020
  • ISBN139798688231274
  • Forlag Independently Published
  • Nummer i serien1
  • FormatHæftet
  • Udgave0
Størrelse og vægt
  • Vægt245 g
  • Dybde0,6 cm
  • coffee cup img
    10 cm
    book img
    20,3 cm
    25,4 cm

    Findes i disse kategorier...

    Velkommen til Saxo – din danske boghandel

    Hos os kan du handle som gæst, Saxo-bruger eller Saxo-medlem – du bestemmer selv. Skulle du få brug for hjælp, sidder vores kundeservice-team klar ved både telefonerne og tasterne.

    Om medlemspriser hos Saxo

    For at købe bøger til medlemspris skal du være medlem af Saxo Premium, Saxo Shopping eller Saxo Ung. De første 7 dage er gratis for nye medlemmer. Medlemskabet fornyes automatisk og kan altid opsiges. Læs mere om fordelene ved vores forskellige medlemskaber her.

    Machine Name: SAXO082