Sign up here it's free and anyone can join! Already a member? login here.
Software

Drawing Scripts

Drawing scripts are used to draw points, lines and labels which form a 2D drawing that can be used to analyze the future price movements of stock, futures and FOREX symbols.

Drawing scripts can be used in three different ways:

  1. Trading strategy scripts, heat study scripts and even other drawings scripts, among others, can use a drawing script directly from their own code.
  2. Drawing scripts can be visually plotted on financial charts.

The IQBroker automated trading software ships with a library of premade drawing scripts that can be parameterized and customized without any programming, while custom scripts can be easily developed using the resource designer and IQLanguage.

Script Implementation

Each drawing is drawn using a predefined number of core point, that are either set manually by clicking on a financial chart or programmatically by a script. When a drawing is manually being drawn on a chart the OnDraw function is repeatedly called as the mouse moves over the chart, so that the drawing is constantly redrawn according to the mouse position. When a drawing is drawn programmatically the script using the drawing calls the OnDraw function indirectly by calling the drawing library function - DrawingDraw.

OnInitialize()
This function is called automatically when the script is first initialized.

OnDraw()
This function is used to set all of the drawing points, line and labels on a virtual canvas, whose x-axis values are the date and time of the symbol bars being analyzed and whose y-axis values are the symbol prices.

Introduction to Drawing Scripts

This tutorial provides a complete introduction to drawing scripts.

Drawing Resources

These drawing resources are pre-installed with IQBroker.

ID Name Author Last Update
AP Andrews Pitchfork Admin 2009-10-27
CIR Circle Admin 2009-06-17
ELLP Ellipse Admin 2009-06-17
EQC Equidistant Channel Admin 2009-06-17
FIBA Fibonacci Arc Admin 2009-06-17
FIBC Fibonacci Channel Admin 2009-06-17
FIBF Fibonacci Fan Admin 2009-06-17
FIBR Fibonacci Retracement Admin 2009-06-17
FIBTZ Fibonacci Time Zones Admin 2009-06-17
GANNF Gann Fan Admin 2009-06-17
GANNL Gann Line Admin 2009-06-17
HLINE Horizontal Line Admin 2009-06-17
LAB Label Admin 2009-06-17
LR Linear Regression Admin 2009-06-17
QL Quadrant Lines Admin 2009-06-17
RRC Raff Regression Channel Admin 2009-06-17
REC Rectangle Admin 2009-10-27
SRL Speed Resistance Lines Admin 2009-06-17
SDC Standard Deviation Channel Admin 2009-06-17
SEC Standard Error Channel Admin 2009-06-17
LINE Trendline Admin 2009-10-27
TRI Triangle Admin 2009-06-17
VLINE Vertical Line Admin 2009-10-27

Home :: Company :: Software :: Download :: Purchase :: Forums :: Support :: Partners
Copyright © 2008 - 2009 IQ Broker Technologies, Ltd. All rights reserved.