Getting Started
What Are Blox?
The Simplest System
Creating a New System
Adding  Money Management
Trading Blox Architecture
Working with Systems, Blox & Scripts
Working with Systems
Working with Blox
Working with Scripts
Basic Scripts
Process Flow
Simulation Loop
Blox Reference
Entry
Entry Orders Script
Entry Order Filled Script
After Instrument Open Script
Exit
Exit Orders Script
Exit Order Filled Script
After Instrument Open Script 
Adjust Stops Script
Entry/Exit
Entry/Exit/Money Manager
Portfolio Manager
Rank Instruments Script
Filter Portfolio Script
Money Manager
Unit Size Script
Risk Manager
Initialize Risk Management Script
Compute Instrument Risk Script
Compute Risk Adjustment Script
Adjust Instrument Risk Script
Can Add Unit Script
Can Fill Order Script
Statistic
Update Indicators
Update Indicators Script
Script Reference
Comprehensive Simulation Loop
Scripts Common to Many Blox
Before Simulation Script
Before Test Script
Before Trading Day Script
After Instrument Day Script
After Trading Day Script
After Test Script
After Simulation Script
Variables Reference
Series Indexing
Series Functions
Average
Correlation
CorrelationLog
CrossOver
Highest
HighestBar
Lowest
LowestBar
Median
RegressionSlope
RegressionValue
RegressionEnd
StandardDeviation
StandardDeviationLog
Sum
SwingHigh
SwingHighBars
SwingLow
SwingLowBars
VARIABLES Declaration
Block Permanent Variables
Instrument Permanent Variables
Naming Variables
Parameter Reference
Indicator Reference
Basic Indicators
Calculated Indicators
Custom Indicators
Indicator Access
Constants Reference
Trading Objects Reference
Instrument
Instrument Loading
LoadSymbol
LoadByLongRank
LoadByShortRank
LoadExternalData
Data Access Properties
DataFunctions
AddCommission
GetDayIndex
PriceFormat
RealPrice
RoundTickUp
RoundTickDown
RoundTick
Historical Trade Properties
Position Properties
Position Functions
SetUnitCustomValue
SetExitStop
SetExitLimit
Correlation Properties
Correlation Functions
ResetCloselyCorrelated
ResetLooselyCorrelated
AddCloselyCorrelated
AddLooselyCorrelated
Group Properties
Ranking Properties
Ranking Functions
SetLongRankingValue
SetShortRankingValue
Trade Control Properties
Trade Control Functions
AllowLongTrades
AllowShortTrades
AllowAllTrades
DenyLongTrades
DenyShortTrades
DenyAllTrades
Broker
Entry Order Functions
EnterLongOnOpen
EnterShortOnOpen
EnterLongOnStopOpen
EnterLongAtLimitOpen
EnterShortOnStopOpen
EnterShortAtLimitOpen
EnterLongOnStop
EnterShortOnStop
EnterLongAtLimit
EnterShortAtLimit
EnterLongOnClose
EnterShortOnClose
EnterLongOnStopClose
EnterShortOnStopClose
EnterLongAtLimitClose
EnterShortAtLimitClose
Exit Order Functions
ExitAllUnitsOnOpen
ExitUnitOnOpen
ExitAllUnitsOnStopOpen
ExitAllUnitsAtLimitOpen
ExitUnitOnStopOpen
ExitUnitAtLimitOpen
ExitAllUnitsOnStop
ExitUnitOnStop
ExitAllUnitsAtLimit
ExitUnitAtLimit
ExitAllUnitsOnClose
ExitUnitOnClose
ExitAllUnitsOnStopClose
ExitUnitOnStopClose
ExitAllUnitsAtLimitClose
ExitUnitAtLimitClose
Position Adjustment Functions
AdjustPositionOnOpen
AdjustPositionOnStop
AdjustPositionAtLimit
Order
OrderProperties
OrderFunctions
SetFillPrice
SetQuantity
SetStopPrice
Reject
System
System Properties
System Functions
Accessing System Portfolio Instruments
Test
General Properties
Test Statistics
Equity Properties
Trade Properties
Test Functions
AddStatistic
AbortTest
AbortSimulation
SetAlternateSystem
UpdateOtherExpenses
Block
FileManager
OpenRead
OpenWrite
OpenAppend
Close
WriteLine
WriteString
ReadLine
EndOfFile
Email Manager
Email Connect
Email Send
EmailDisconnect
Blox Basic Reference
Statement Reference
IF
DO
FOR
WHILE
PRINT
ERROR
Assignment 
Operator Reference
Comparison
Comments
Debugger
FunctionReference
Mathematical Functions
AbsoluteValue
ArcCosine
ArcSine
ArcTangent
ArcTangentXY
Average
Correlation
CorrelationLog
Cosine
DegreesToRadians
EMA
Exponent
Hypotenuse
IfThenElse
IsUndefined
Log
Max
Min
RadiansToDegrees
Random
RandomSeed
Round
Sine
Square Root
StandardDeviation
StandardDeviationLog
SumValues
Tangent
Date Time Functions
CurrentDate
CurrentTime
DateToJulian
JulianToDate
DayOfMonth
DayOfWeek
Month
Year
Hour
Minute
TimeDiff
String Functions
ASCII
ASCIIToCharacters
FindString
LowerCase
LeftCharacters
StringLength
TrimLeftSpaces
MiddleCharacters
RightCharacters
TrimRightSpaces
TrimSpaces
UpperCase
GetNumberField
GetStringField
Type Conversion Functions
AsFloating
AsInteger
AsString
IsFloating
IsInteger
IsString
File
OpenFile
DeleteFile
CopyFile
MoveFile
General
LicenseName
PlaySound
Common Questions
The Life of a Test
How Stops Work
Shortcut Keys

© 2008, Trading Blox, LLC. All rights reserved.