The “When Bar Updates” section contains logic that is executed on each eligible bar update event, which could be the close of a bar, a tick representing a last trade, or some other kind of bar update event.
Click the “Add Trading Logic” link button at the bottom of this section to get started, or if this section already contains logic, place your mouse pointer over one of the items in this section and click either the icon that appears in the upper right of the item or click on any empty space within the item. A context menu will appear with a list of menu items containing all the things that you can do at the location where you clicked. To learn more about a given menu item, place your mouse pointer over the icon on the left of the menu item and a tooltip will appear.
To learn more about any item in this section, place your mouse pointer over the icon in the right or upper right of the item or place your mouse pointer over the label next to any editable field and a tooltip will appear.