Insider 3000 :  Features  |  Forum  |  Help on Line  |  FAQ  |  Download  
Home  |   Trading Systems and Indicators  |   Upcoming release news  |   News
Order Insider 3000   |   Resellers - Agents
English    English    Italiano
    Open security
Workgroups
Data file Explorer
Layout
    Windows
Inner Windows
Tooltips
AutoRefresh
Print Chart
    Zoom
Zoom
    Control Panel
Introduction
Charts Properties
Windows Properties
Grids properties
Indicators Properties
Studies Properties
Trading Systems Properties
    Indicators and Studies
Adding an indicator
Modifying an Indicator
Transfer indicator between windows
Deleting an indicator
Adding Studies
Modifying an object
Deleting, coping, cutting, pasting an Object
Indicators Lists
    Data files Management
Introduction
Creating, deleting and modifying Archives
File Format
Historical DDE
Web Server
Archives Update
Edit periods
Deleting periods range
Copy Data to Clipboard
Text file import Wizard
Export data on text file Wizard
Rollover Wizard
Scheduled export on text file
    Analysis
User Indicators Management
Trading Systems Management
Explorers management
Real time alerts windows
Graphical alerts
Pivots Explorer
Candlestick Rules
Candlestick forecaster
Candlesticks signals on chart
Trading systems signals on chart
Statistics
Export - Import source code
    Real time data providers
Providers
    Find Window
Find Window
    Programming language
Introduction
Operators
Data types
Functions
Function, EndFunction
Return
Variables declaration: Dim
Comments
Warnings
The MAIN function
If, Then ... Else
Goto ... label
For ... Next
Do Until ... Loop
Select ... Case
Array
Error Handling
Module variables
Costants
Include (including secondary modules)
Properties
Option (trading systems options)
PRICE keyword (for trading systems)
DATABASE keyword
Special Functions (they change their output depending on the context)
System functions available in the programming language
Indicators Functions
Data Functions
Math Functions
Analysis tools Functions
Date Functions
Boolean Functions
String Functions
Other Functions
Programming Language Editor
    Send Email
Send Mail - Mailer
    Real Time - DDE
Introduction
Subscriptions
Data receiving
    Real Time - Web Server
Introduction
Web Server configuration
Subscriptions
Data receiving
    Real Time - Txt
Introduction
Text file configuration
Subscriptions
Data receiving
    Mailer
Introduction
Mailer Configuration
Emails list
PRICE keyword (for trading systems)

The keyword Price has been added to the programming language to help to enter or exit from a position at a price configured by the user, and not only closing or opening price, max and min which can be set from the Options table on the "Trading Systems Management" screen. This is the attempt to reduce at the minimum the possible incongruities between the trading system test and the real market conditions.

The correct syntax for the Price keyword is:

Price "numeric_expression"

where "numeric_expression" is any numeric expression which represent the position enter/exit price.

Let's see and example:

Option Opt1 (2, 20, 2)
Function Main()
    Price (Close - Close * 0.05)

    Return Close > CancMove(Close, Opt1)

EndFunction

Price can be used anywhere in the code, also inside other function of the same module, different from the Main function, provided they are somehow linked to it. The important part is that it has to be positioned before the Return keyword of the Main function.

Price, will have effect only in case the signal represented by the Main function will really be triggered (enter or exit from some position). In all other cases it will have no effect at all.

Also, Price, can be used in any of the trading systems modules, always with the same syntax. If we are in the "Enter Long" module, Price represents the entry price in a long position. If we are in the "Close buy positions" module,Price will be represent the exit price from buying position. The same concept is applicable at the Enter or exit from Short position.

If the price is not defined by the user with the Price keyword, the enter/exit price will be taken from closing/opening/max/min for the period, depending of what has been specified on the table "Options" on the screen Trading Systems Management.

Contact us    Collaboration
TraderSoft s.r.l. 2003-2010 - P.Iva 03808860286 - Copyright