To get started select the Edit menu on the main screen, and then use your mouse to click on the Blox item on the drop down menu to select.  You can optionally use the F4 key on your keyboard, but some laptops require the Function-Key to use the F-Keys.  Either way the Trading Blox Editor will appear:

Select Blox Editor Menu F4

 

Trading Blox -- Blox Edtor will appear and show the Group Listing and available Blox modules on the left.  In the center the selected Blox module's script sections will appear, and below the script sections will be the listings of the Block Permanent Variables, Instrument Permanent Variables types, then the, module's user parameters, and at the bottom the user created indicators:

Trading Blox - Blox Editor Screen Example

 

Our next step is to create a new Blox module:

Blox Editor Create New Blox Module Menu

When the mouse is released a new dialog will appear that will allow you to name the new Blox and to also decide on what type of Blox your will be creating, and whether you want to add the common script sections for this blox type included in the Blox automatically when it appears:

Blox Editor New Blox Creation Dialog

Name this new Block the "Tutorial Entry Exit Lesson 1" by typing in the blox name in the Name field.  

Next check to see if the Entry and Exit option is the selected item in the Block Type section of the dialog.  If Entry and Exit is not selected, select it now so the correct type of blox is created.  

Our last step is the enable the option to "Include Default Scripts" so we won't have to manually add them later.  

When you've completed these steps press OK so the module will appear in the Default Group Listing.

 

Note:

You could have changed the Group name to something other than Default Group.  For example, you could have named a new group to be "My Work".  When a Group name is entered in the Group field and it doesn't exist in the Group List, Trading Blox will automatically create the Group name and then place the Blox module into that Group section.

 

We now have a new block in the list, and ready to begin adding rules.  When we created this tutorial block we elected to add all the common default scripts.  When we review the list of scripts we find there are 13 names in the our list:

Entry&Exit Default Script Details

When we created our block, we enabled the Default Script option so the often used scripts in this type of module would be added and shown for this tutorial.  Had we not used that option and if we needed a script section, it could have been easily added by right-clicking on any of the script names in the script list section and then selecting the "Add" menu item:

Blox Editor Add Missing TB Script Dialog

When then "Add" menu item is selected another dialog will appear with a drop down listing where all the scripts that are available in Trading Blox can be selected and added to the current module, should the selected script not exists:

Blox editor Add TB Script Item Selection Dialog

Is is also possible to add a Custom Script section, but that is an advanced topic that will be explained in the Custom Script Topic section.   New Custom scripts can be called using the Script.Execute function.  In addition scripts can be copied from one bloc to another block using copy and paste.  They can be deleted from a block if they are not being used, and they moved up or down for visual clarity by using the Alt-Up-Arrow and Alt-DownArrow key sequence.

Blox Editor Move Script Section Up or Down Menu

 

This completes this topic with the information we need to move on to the step in this tutorial.


Edit Time: 9/25/2017 09:09:54 AM


Topic ID#: 432

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software