Download Improvian Guide
Transcript
Improvian Guide Contents Chapter 1 ........................................................................................................ 6 Introduction ................................................................................................... 6 Notation Conventions .....................................................................................6 Is it Easy to Learn a Language? .......................................................................7 Who Should Read This Guide?..........................................................................8 What is a Trading Technique? ..........................................................................9 What is Improvian? ........................................................................................9 What Can You Create? .................................................................................. 10 Technical Indicators................................................................................... 11 Trading Systems ....................................................................................... 12 Inputs and Targets for Neural Models ........................................................... 13 Alerts ...................................................................................................... 14 Studies .................................................................................................... 14 Scans ...................................................................................................... 14 Position Size Calculations ........................................................................... 14 Function .................................................................................................. 14 CHAPTER 2.................................................................................................... 16 The Basics of Improvian ............................................................................... 16 Processing Principles .................................................................................... 16 Price Data Identifiers .................................................................................... 18 Referencing Price Data.................................................................................. 19 Reserved Words .......................................................................................... 20 Skip Words ................................................................................................. 22 Expressions................................................................................................. 23 Statements and Punctuation .......................................................................... 24 Operators ................................................................................................... 25 Operator Precedence .................................................................................... 27 CHAPTER 3.................................................................................................... 28 Creating the First Custom Indicator.............................................................. 28 Using Indicator Builder ................................................................................. 28 Using the Improvian Editor............................................................................ 30 Using AutoComplete .................................................................................. 32 Improvian Editor Toolbar............................................................................ 33 Using Variables............................................................................................ 34 Declaring Variables.................................................................................... 35 Understanding Technique Branching ............................................................... 37 Program Flow and Branching....................................................................... 37 Understanding Operator If…Then ................................................................. 38 Simple operator If…Then ......................................................................... 38 Assigning Values to Variables...................................................................... 40 Using Inputs ............................................................................................... 41 CHAPTER 4.................................................................................................... 43 Creating the First Custom Study ................................................................... 43 Understanding Nested If...Then...................................................................... 43 Using Comparison Operators ......................................................................... 44 Relational Operators .................................................................................. 44 Using Logical Operators ................................................................................ 45 Logical Operators ...................................................................................... 47 Referencing Previous Values .......................................................................... 48 Using Study Builder...................................................................................... 49 3