Manuale Easyscript®

Total Page:16

File Type:pdf, Size:1020Kb

Manuale Easyscript® EasyScript® User’s Guide for beeTrader® v 1.10.10.72 latest update: 05/02/2021 1 Table of Contents Introduction to EasyScript®.....................................................................8 Foreword...........................................................................................8 Prerequisites......................................................................................8 How This Guide Is Organized................................................................8 The EasyScript® Programming Language...............................................9 Important Concepts.............................................................................9 Boolean Logic...................................................................................10 Program Structure.............................................................................10 Functions.........................................................................................11 Parameters / Variables.......................................................................11 Vector Programming..........................................................................12 Price Gaps and Volatility.....................................................................14 Technical Analysis..............................................................................15 Primitive Variables, Constants & Parameters.............................................17 Price Vector......................................................................................17 Time Vectors.....................................................................................17 Colors Constants...............................................................................18 Chromatic Constants..........................................................................18 Basic Constants.................................................................................19 Operators Constants (used in LOOP and BARLOOP functions)...................19 Moving Averages Constants.................................................................19 Trend Constants (used in the TREND function).......................................20 Points or Percent Constants (used in Volume Oscillator indicator)..............20 Interpolation Constants (used in INTERPOLATE Function)........................20 Candlestick Patterns Constants............................................................20 Function Scripts Variables...................................................................23 Signal or Indicator Scripts Parameters..................................................24 Money Management Parameters..........................................................24 User-defined Input Variables...............................................................25 Mathematical and Logical Operators........................................................27 Mathematical Operators.........................................................................27 Multiplication (*)...............................................................................27 Division (/ or \).................................................................................27 Power (^)........................................................................................27 Substraction (-).................................................................................27 Sum (+)..........................................................................................27 Logical Operators..................................................................................27 Equal (=).........................................................................................27 Greater Than (>)...............................................................................28 Less Then (<)...................................................................................28 Greater Than Or Equal To (>=)............................................................28 Less Than Or Equal To (<=)................................................................29 Not Equal (<> or !=).........................................................................29 AND (&&).........................................................................................29 OR (||)............................................................................................30 XOR (|)............................................................................................30 2 NOT (!)............................................................................................31 EQV (&)...........................................................................................31 Primitive and Mathematical Functions......................................................32 Primitive Functions................................................................................33 AVG.................................................................................................33 AVGOF.............................................................................................33 BARLOOP.........................................................................................33 CHANGEIF........................................................................................34 COUNTIF..........................................................................................35 CROSSOVER.....................................................................................35 CROSSUNDER...................................................................................36 FOLLOWME.......................................................................................36 IF....................................................................................................37 LASTIF.............................................................................................37 LOOP...............................................................................................38 MAX................................................................................................40 MAXOF.............................................................................................40 MIN.................................................................................................40 MINOF.............................................................................................41 NTHMAXOF.......................................................................................41 NTHMINOF.......................................................................................41 PRINT..............................................................................................42 REF.................................................................................................42 SUM................................................................................................43 SUMIF.............................................................................................43 SUMOF............................................................................................43 TREND.............................................................................................44 TRUEHIGH........................................................................................44 TRUELOW.........................................................................................45 Mathematical Functions.........................................................................46 ABS or POS......................................................................................46 ABSOLUTEMAXIMUM..........................................................................46 ABSOLUTEMINIMUM..........................................................................47 ARCCOS...........................................................................................47 ARCSIN............................................................................................47 ARCTAN...........................................................................................48 CEIL................................................................................................48 COS................................................................................................48 DEGTORAD.......................................................................................49 DIV.................................................................................................49 EXP.................................................................................................49 FIRSTVALIDVALUE.............................................................................50 FLOOR.............................................................................................50 FRACPORTION..................................................................................50 INTERPOLATE...................................................................................51 INTPORTION.....................................................................................51 ISLASTBAR.......................................................................................51 LOG.................................................................................................52 3 LOG10.............................................................................................52 MOD................................................................................................52 NEG................................................................................................53
Recommended publications
  • Copyrighted Material
    INDEX Page numbers followed by n indicate note numbers. A Arnott, Robert, 391 Ascending triangle pattern, 140–141 AB model. See Abreu-Brunnermeier model Asks (offers), 8 Abreu-Brunnermeier (AB) model, 481–482 Aspray, Thomas, 223 Absolute breadth index, 327–328 ATM. See Automated teller machine Absolute difference, 327–328 ATR. See Average trading range; Average Accelerated trend lines, 65–66 true range Acceleration factor, 88, 89 At-the-money, 418 Accumulation, 213 Average range, 79–80 ACD method, 186 Average trading range (ATR), 113 Achelis, Steven B., 214n1 Average true range (ATR), 79–80 Active month, 401 Ayers-Hughes double negative divergence AD. See Chaikin Accumulation Distribution analysis, 11 Adaptive markets hypothesis, 12, 503 Ayres, Leonard P. (Colonel), 319–320 implications of, 504 ADRs. See American depository receipts ADSs. See American depository shares B 631 Advance, 316 Bachelier, Louis, 493 Advance-decline methods Bailout, 159 advance-decline line moving average, 322 Baltic Dry Index (BDI), 386 one-day change in, 322 Bands, 118–121 ratio, 328–329 trading strategies and, 120–121, 216, 559 that no longer are profitable, 322 Bandwidth indicator, 121 to its 32-week simple moving average, Bar chart patterns, 125–157. See also Patterns 322–324 behavioral finance and pattern recognition, ADX. See Directional Movement Index 129–130 Alexander, Sidney, 494 classic, 134–149, 156 Alexander’s filter technique, 494–495 computers and pattern recognition, 130–131 American Association of Individual Investors learning objective statements, 125 (AAII), 520–525 long-term, 155–156 American depository receipts (ADRs), 317 market structure and pattern American FinanceCOPYRIGHTED Association, 479, 493 MATERIALrecognition, 131 Amplitude, 348 overview, 125–126 Analysis pattern description, 126–128 description of, 300 profitability of, 133–134 fundamental, 473 Bar charts, 38–39 Andrews, Dr.
    [Show full text]
  • Technical Analysis Masterclass
    TRADING: TECHNICAL ANALYSIS MASTERCLASS - Master The Financial Markets – Rolf Schlotmann & Moritz Czubatinski Copyright © 2019, Rolf Schlotmann, Moritz Czubatinski, Quantum Trade Solutions GmbH All rights reserved, including those of reprinting of extracts, photomechanical and electronical reproduction and translation. Any duplication, reproduction and publication outside the provisions of copyright law (Urheberrechtsgesetz) is not permitted as a whole or in part without the prior written consent of the author. This work is not intended to give specific investment recommendations and merely provides general guidance, exemplary illustrations and personal views. Author, publisher and cited sources are not liable for any loss or other consequences arising from the implementation of their thoughts and views. Any liability is excluded. The advice and information published in this book has been carefully prepared and reviewed by the author. Anyhow, a guarantee or other responsibility for their accuracy, completeness and timeliness cannot be given. In particular, it should be noted that all speculative investment transactions involve a significant risk of loss and are not suitable for all investors. It is strongly recommended not to rely solely on this book, but to conduct own investigations and analyses and, if necessary, to obtain advice from financial advisors, tax advisors and lawyers before making an investment decision. Company identity Quantum Trade Solutions GmbH Jahnstrasse 43 63075 Offenbach Germany Chairmen: Schlotmann, Rolf and Czubatinski, Moritz Publication date: 19.02.2019 1st version Financial charts have been obtained through www.tradingview.com Foreword Introduction 1. What is trading? 1.1 The profit potential 1.2 Decision-making 1.3 Short-term vs. long-term trading 2.
    [Show full text]
  • Data Visualization and Analysis
    HTML5 Financial Charts Data visualization and analysis Xinfinit’s advanced HTML5 charting tool is also available separately from the managed data container and can be licensed for use with other tools and used in conjunction with any editor. It includes a comprehensive library of over sixty technical indictors, additional ones can easily be developed and added on request. 2 Features Analysis Tools Trading from Chart Trend Channel Drawing Instrument Selection Circle Drawing Chart Duration Rectangle Drawing Chart Intervals Fibonacci Patterns Chart Styles (Line, OHLC etc.) Andrew’s Pitchfork Comparison Regression Line and Channel Percentage (Y-axis) Up and Down arrows Log (Y-axis) Text box Show Volume Save Template Show Data values Load Template Show Last Value Save Show Cross Hair Load Show Cross Hair with Last Show Min / Max Show / Hide History panel Show Previous Close Technical Indicators Show News Flags Zooming Data Streaming Full Screen Print Select Tool Horizontal Divider Trend tool Volume by Price Horizonal Line Drawing Book Volumes 3 Features Technical Indicators Acceleration/Deceleration Oscillator Elliot Wave Oscillator Accumulation Distribution Line Envelopes Aroon Oscilltor Fast Stochastic Oscillator Aroon Up/Down Full Stochastic Oscillator Average Directional Index GMMA Average True Range GMMA Oscillator Awesome Oscillator Highest High Bearish Engulfing Historical Volatility Bollinger Band Width Ichimoku Kinko Hyo Bollinger Bands Keltner Indicator Bullish Engulfing Know Sure Thing Chaikin Money Flow Lowest Low Chaikin Oscillator
    [Show full text]
  • The Cycle Trading Pattern Manual 2 Copyright © Walter Bressert, Inc
    TIMING IS EVERYTHING …And the use of time cycles can greatly improve the accuracy and success of your trading and/or system. There is no magic oscillator or indicator that will bring you THE CYCLE success in the markets. Knowledge of trading techniques and tools to improve TIMING and determine TREND is the key to low TRADING risk high probability trades that can bring you success. Knowledge, self-discipline and persistence are the true keys to PATTERN success in trading. Over time you will develop a trading style that fits your personality and trading skills. There are many tools to MANUAL help improve your trading, but only cycles will allow you to add By Walter Bressert the element of TIME into your trading. www.walterbressert.com Simple buy and sell signals do not consider the whole picture. By combining mechanical trading signals with daily and weekly cycles (or two intra-day time periods and cycles, such as a 45- minute and 180-minute, or a 5-minutes and 20-minute), retracements, trend Indicators and trendlines into Cycle Trading Patterns, you can greatly improve your accuracy and odds of making money on a trade or with a system. The following charts and trading concepts are based on trading the long side of a market. The same techniques and concepts work in mirror image fashion for trading the short side TABLE OF CONTENTS IDENTIFYING CYCLE TOPS AND BOTTOMS USING OSCILLATORS 2 Detrending Takes the Mystery Out of Cycles 3 Oscillators Show Cycle Tops and Bottoms 5 OSCILLATOR/PRICE PATTERNS GENERATE MECHANICAL TRADING SIGNALS 6 Detrended
    [Show full text]
  • The Global Investment Outlook – New Year 2019 Release U.S
    DEC 4 2018 (UPDATED TO NOV 30) Daniel E. Chornous, CFA Chief Investment Officer [email protected] Eric Savoie, MBA, CFA Senior Analyst, Investment Strategy [email protected] THE GLOBAL INVESTMENT OUTLOOK – NEW YEAR 2019 RELEASE U.S. 10-year T-Bond yield S&P 500 equilibrium Global purchasing managers' indices Equilibrium range Normalized earnings & valuations The S&P 500 Nov. '18 Range: 2141 - 3563 (Mid: 2852) is slightly below 65 16 5120 equilibrium (i.e. the band’s ISM Peak Aug 2018: 61.3 Our equilibrium model suggests an Nov. '19 Range: 2218 - 3691 (Mid: 2954)midpoint), and many Previous ISM Peak Feb 2011: 59.2 14 upward bias to interest rates for a very Current (30-November-18): 2760 other markets continue 60 long time into the future should 2560 to show significant discounts to their fair value. A significant rise in inflation and interest rates 12 inflation premiums and real rates of will eventually reduce the sustainable 55 interest ultimately return to their long- 1280 level for valuations, but normalizing 10 term norms. P/E’s and corporate profitability to Last Plot: 2.99% reflect current levels for these 50 8 Current Range: 2.12% - 3.90% (Mid: 3.01%) 640 critical variables suggests % stock market valuations are reasonable, but 45 6 320 certainly not Solid gains in “cheap” in all revenues and earnings 4 Led by the U.S., PMIs remain at 160 locations. propelled U.S. stocks in 40 particular, but threats to levels consistent with expansion, 2 But in the near-term, the pressure but the trend everywhere is both are accumulating.
    [Show full text]
  • Application of Machine Learning in High Frequency Trading of Stocks
    International Journal of Scientific & Engineering Research Volume 10, Issue 5, May-2019 1592 ISSN 2229-5518 Application of Machine Learning in High Frequency Trading of Stocks Obi Bertrand Obi Worldquant University 201 St. Charles Avenue, Suite 2500 New Orleans, LA 70170, USA [email protected] Abstract Algorithmic trading strategies have traditionally been centered on follwing the market trends and the use of technical indicators. Over the years High Frequency algorithmic Trading has been left only in the hands of institutional players with deep pockets and lots of assets under management, despite huge returns involved. In this project webuilt trading strategies by applying Machine Learning models to technical indicators based on High Frequency Stock data. The result is an automated trading system which when applied to any stock could generate returns which are ten times higher than the market returns without significant increase in volatility. With advancement in technology High Frequency Algorithmic trading can be undertaken even by individuals or retail traders with moderate initial investment and technical skills. Keywords:Machine Lerning; Prediction of stock prices movements; Classification reports; Algorithmic trading; High frequency trading; Key performace indicators IJSER 1. Introduction Not too long ago, Algorithmic Trading was only available for institutional players with deep pockets and lots of assets under management. Recent developments in the areas of open source, open data, cloud computing and storage as well as online trading platforms have leveled the playing field for smaller institutions and individual traders, making it possible to venture in this fascinating discipline with only a modern notebook and an Internet connection. Nowadays, Python and its eco-system of powerful packages is the technology platform of choice for algorithmic trading.
    [Show full text]
  • Trading Indicator Blueprint
    Effective use of the most popular trading indicators www.netpicks.com This information is prepared solely for general information and educational purposes and is not a solicitation to buy or sell securities or financial products mentions in the content, nor a recommendation to participate in any particular trading strategy. Please consult your broker for trading advice. The author is not a broker on a licensed investment advisor and is not licensed to give trading advice or any sort, nor make specific trading recommendations. Entire risk disclosure can be found at www.sec.gov Whether you are a new or experienced trader, you are probably familiar with the multitude of trading indicators available. I know when I started trading almost a decade ago, virtually every indicator ended up on my charts at one time or another. And it was frustrating! You may be able to relate to: Always searching for the “perfect” combination of indicators for high probability trading setups. Tweaking inputs over and over again trying to “fit” the indicator to past price to match the perfect trade. Looking to “catch the turn” to avoid adverse excursion and to take every pip or tick the market is willing to give. Adverse Excursion The amount of loss an open trade takes before completion with profit or a loss. The hard truth is that PERFECTION does not exist in trading. 1 Neither does the perfect indicator or perfect setting. You can use indicators as part of an overall trading system and although that requires a lot of work and testing, it can be done! So where do you start? The majority of indicators use price in their mathematical calculations before plotting on your chart.
    [Show full text]
  • Using the Z-Trend Oscillator for Long-Term Bond Market Timing
    Using the Z-TrendOscillator for Long-Term Bond Market Timing 6 Submitted by Robert T. Zukowski, CMT March4. 1996 Overview Because it reflects mass psychology, the Coppock Curve is labeled by tnost technicians attd traders as a setttimettt This paper examines the concept of modifying the indicator. As a result, the curve siguals market tops and Coppock Curve to better identify major tops attd bottoms bottoms quite well and proves to be a valuable addition to in the bond futures market for lottg-term positioning. The atty trader’s tool kit. Coppock combined art 1 l- and 14 modified versiott of the Coppock Curve is referred to as mouth ROC, smoothed over by a lo-tnottth weighted mov- the Z-Trend Oscillator. Most oscillators are used for trad- ing average, which cat1 be explaitted by the yearly titne ing periods of price consolidation, but the Z-Trend Oscil- cycles frequent in tnost tnarket indices. A buy signal oc- lator is specifically used for trading all market cottditiotts curs when the curve turns up or becotnes positively sloped from accumulation, to trending, to distribution. while below the zero litte. A sell sigttal occurs when the curve turns down or becomes negatively sloped while Introduction to Rate of Change and the above the zero line. Coppock Curve Otte of the older, sitnpler tcchttical ittdicators to un- The Problem - Indicator Consistency derstand is the rate of chattge or ROC for short. ROC catt When the Coppock Curve is applied to the monthly confirm tnarket trends and forewarn of market reversals. continuation chart of U.S.
    [Show full text]
  • A LOOK AHEAD January 2019
    Market Comment A LOOK AHEAD January 2019 As the saying goes, no one rings a bell at the top of the market. This well-known saying is certainly true. The reasons put forward for the correction seem somewhat far-fetched from our point of view; after all, rising interest rates and the trade conflict between the USA and China, in particular, have been talking points for months. Rather, it seems to us that after years of rising prices, the market was overpriced and overbought, and the mood among investors was over-optimistic. The sharp correction of the past few months did a lot of damage, especially in technical terms. Over the following pages, we explain why we first expect a significant countertrend rally before the stock markets continue their correction in 2019. Thus we recommend a highly defensive investment policy. A Look Back – Key Messages Last July Equities The current economic expansion is among the longest in history. Currencies But signs are mounting that the current cycle is mature and we We do expect the current dollar rally to be nearly over and see the risk of a recession by autumn 2019 the earliest. Taking the dollar to resume its downtrend in the second half of this into account that equity markets usually start to rollover months year. The Euro on the other hand is likely to retest major before a recession has become official, a top by the end of 2018 resistance at 1.25. In the big picture, we remain long-term seems possible. bearish on the dollar and view the current rally as only a From an Elliott Wave perspective, we continue to believe that the countertrend move within a long-term downtrend.
    [Show full text]
  • Trading Smart
    TRADING SMART 92 Tools, Methods and Helpful Hints to Help You Succeed at Futures Trading1 by Jim Wyckoff This publication is protected by International Copyright © 2003. All rights reserved. Reproduction in any form, electronic or mechanical, in whole or in part, is strictly prohibited without written permission from Jim Wyckoff. Hello, my name is Jim Wyckoff. I am the proprietor of the analytical, educational and trading advisory service, "Jim Wyckoff on the Markets." I am also the chief technical analyst for FutureSource.com and for the OsterDowJones newswire. I was also the head equities analyst at CapitalistEdge.com. For nearly 20 years I have been immersed in markets and trading. Indeed, markets, trading and educating traders are my passion. In this information-packed book, I will share with you—in plain English—the trading philosophies and methodologies that have allowed me to survive and succeed in a fascinating but very challenging field of endeavor: Trading futures. I will also touch upon other important topics about which traders need to know in order to survive and succeed in futures trading. I think you will enjoy the format of this book: short chapters that are easily comprehended. Too many times in this industry, books on trading have been so technical and complicated that traders find themselves swimming in a sea of market statistics, computer code or mathematical formulas. You will find none of that in this book. What you will find are important lessons and anecdotes that will move you up the ladder of trading success. You will also discover valuable trading tools that you can incorporate into your own trading plan of action.
    [Show full text]
  • Second Quarter 2016 Investor Letter
    Second Quarter 2016 Investor Letter Portfolio Comments The second quarter was characterized by weakening economic conditions, easier monetary stances by central banks and rising commodity prices. Thus, our natural resource holdings outperformed, especially gold miners. Our long-term Treasury positions benefitted from slowing economic growth, and our defensive large-cap US stocks performed better than US stock indices. All-in-all, the portfolios performed well, with our small hedge positions the only categorical underperformer. We anticipated uncertainty during the quarter, so the effects of the Brexit vote were positive for our portfolios, especially our short euro positions. Second Quarter Market Conditions In April, crude oil was the big winner for the month, with West Texas Intermediate (WTI) crude rising 20% to end the month at $45.92. Equity markets, however, decoupled from the crude markets, failing to rise appreciably. US equity markets started April slowly, rose during the middle of the month, but a late month swoon took equity indices back toward unchanged, leaving only small gains. The S&P 500 was up just 0.39%, the Dow Jones Industrial Average gained just over 0.50%, while the Nasdaq Composite fell almost 2%, led down by earnings disappointments in a number of companies, most notably Apple and Microsoft. The Energy, Materials, Financials and Healthcare sectors had good gains in April, while Technology, Utilities and Telecoms were down the most. European stocks outpaced US stocks, with the European Stoxx 600 up 1.2% for the month. In other markets, gold was a big winner during the month, rising 4.5% and ending at 1,289.20/oz, while silver gained 15.4% to end April at $17.89/oz; mining stocks were also up strongly.
    [Show full text]
  • GULF TIMES New Rating, Accreditation Programme to Benefit Qatar Smes
    WORLD ENERGY | Page 3 LARGEST DEAL | Page 15 Nearing peak Microsoft to fossil fuels for buy LinkedIn electricity for $26.2bn Tuesday, June 14, 2016 Ramadan 9, 1437 AH MOTC REPORT: Page 16 GULF TIMES High ICT penetration in Qatar indicates BUSINESS growth potential QP seen keeping robust New rating, accreditation financial profile despite lower crude oil prices By Santhosh V Perumal For the Barzan gas project, a programme to benefi t Business Reporter $10.4bn financing (including equity) was secured in December 2011. LNG (liquefied natural gas) Qatar Petroleum (QP), whose projects were developed via breakeven prices on most of its the RasGas and Qatargas joint projects are considerably lower ventures, with a combined annual than in most other hydrocarbon production capacity of 77mn Qatar SMEs: QDB offi cial producing countries, is expected to tonnes. show “robust” financial profile as Additional projects aimed at By Peter Alagos its depth and quality of cash flows diversifying Qatar’s customer base Business Reporter enable financial flexibility even in from the North Field included the case of low sustained oil price Dolphin Energy; the Pearl GTL levels, according to Moody’s, a (gas-to-liquids) project; Al Khaleej atar Development Bank global credit rating agency. gas project, the second phase of (QDB) has launched a new Despite the negative impact of which was inaugurated in May Qprogramme that exempts the plunge in oil and gas prices 2010; a second condensate refinery small and medium-sized enterprises since the second half of 2014 on its at Ras Laffan as well as other (SMEs) from tender bond fees, and revenue and cash flow generation, large industrial ventures operated provides local companies access to QP continues to have a very solid under the 51%-owned Industries government projects and contracts.
    [Show full text]