#Create a New Project

In the Builder, go to File -> New project, select the type and programming language of the project, give it a name and click Create.

Create a New Project

#Create New Blocks

In the Builder, there is a list of blocks that you can create and a big empty field. Pick a block from the list, drag it and drop it somewhere over the empty field.

Create a New Block

#Connecting Blocks

If you have a block that is not connected to another block, it is not included in the final strategy! Leave blocks alone only if you want to keep them for later use, but don't forget that they are not used in the strategy.

Each block has one input and one or two outputs. The input is the white semi-circle at the top, and the outputs are at the bottom.

Block Input and Outputs

The meaning of the outputs is as follows:

  • Normal Output - becomes active after the block runs and does its job successfully.
  • Inverted Output - it's active when
    is not, but there are exceptions.
  • Error Output - used in trading and action blocks where the outcome is either success or failure. This output becomes active when there is an error and the block fails to do its job properly.

To connect one block with another, drag the output of the first block and drop it over the input of the other:

Connecting Blocks

Now when the first block runs and does its job, through the connection it will make the other block run.

#Disconnected Blocks Do Not Work

If you want a block to do something, it must be connected to another block. Disconnected blocks do not participate in the final strategy. You can have them around in case you want to connect and use them later, but otherwise, they are useless.

fxDreema - Pass Block

If you still want to run only one block, connect it with a Pass block. Pass is just an empty block and does not have side effects.

#You can Right-Click and Double-Click

  • Right-click on a block to open a context menu with options.
  • Double-click on a block to open the window with its specific properties.
fxDreema - Right & Double Click

#You Can Have Multiple Branches Of Blocks

It's not mandatory to start with a single block and connect everything else below that block. You can have multiple branches of blocks and each one of them would work its job. In the picture below you see two branches ob blocks - one that starts with block #1 and another one that starts with block #4. Because both branches are in the on Tick event, both of them would be executed on every tick. Just imagine that the on Tick button is a block and is connected to blocks #1 and #4.

fxDreema - Branches of Blocks

#Block Numbers - When They Matter?

When you have two or more blocks parallel to each other (not visually, but logically), there is an order in which they run. The rule is that the block with a lower number runs first.

fxDreema - Branches of Blocks

#Block Numbers Could Be Text

You can replace any block's number with text and use it as a label.

fxDreema - Block Numbers are Text

Note: Better use only latin characters and numbers.

#Copy/Cut Blocks

You can cut or copy one or more blocks within the same project or from one project to another. Select the blocks with the mouse, right-click on any of them, click Copy (or Cut), right-click on an empty space where you want to place them, and click Paste. For a single block, you can just right-click on it without selecting it.

Note: Avoid having the same group of blocks copied many times in the same project. When possible, try to reuse one group.