- Help Library
- ADL
- Arithmetic blocks
- Arithmetic blocks overview

return to:

Trading Blocks
Trading blocks overview
Instrument block
Field block
Market State block
Order block
Existing Order block
Discrete Order block
Single Order Container block
Time And Sales block
Price block

Discrete blocks
MsgInfoExtractor block
Value Accumulator block
Value Injector block
Value Extractor block
Value Bucket block
Generator block
State block
Branch block
Funnel block
Discrete Min/Max blocks
Sequence block
Demultiplexer block
Moving Average block

Arithmetic blocks
Arithmetic blocks overview
Add block
Subtract block
Multiply block
Divide block
Mod block
Round block
Average block
Math block
Formula block

Basic blocks
Logic blocks
Greater Than blocks
Less Than blocks
Equal block
And, Or, and Not blocks
If Then block
Once True block
IsNumber block

Miscellaneous blocks
Stopwatch block
Note block
Terminal block
Random Number block
Loop block
Alert block
Pnl block
Position Risk block

Jump blocks
Grouped blocks
Virtualized blocks
Library blocks
Arithmetic blocks

ADL provides a series of arithmetic blocks that allow you to perform calculations based on the outputs of other blocks. For example, you could use the **Multiply** and **Add** blocks to determine the tradable price two ticks about the inside market for an instrument or use the **Formula** block to define custom mathematical equations to support your algorithm.

Arithmetic blocks include:

- Add
- Subtract
- Multiply
- Divide
- Mod
- Round
- Average
- Math
- Formula