Available translations

Distance To Trading Event

foundations.png
distance-to-trading-event.png
Distance to trading event features counters indicating how many periods (candles) have passed since the last occurrence of certain events, in the context of the episode.
Content
The information may be used from within strategies, for example, to leave a cool-down period in-between positions, to separate orders in specific intervals, or to achieve any particular logic that may require counting how much time has passed since the last time a specific event was triggered.
Distance To Trading Event Menu
The Distance To Trading Event node has the following Node Menu items:
The Add Missing Children menu item has the following properties:
  • action: Add Missing Children
  • label: Add Missing Children
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Distance To Trading Event Children
The Distance To Trading Event node has the following childrenNodesProperties:
The Trigger On node property features the following properties:
  • name: triggerOn
  • type: node
  • autoAdd: true
The Trigger Off node property features the following properties:
  • name: triggerOff
  • type: node
  • autoAdd: true
The Take Position node property features the following properties:
  • name: takePosition
  • type: node
  • autoAdd: true
The Close Position node property features the following properties:
  • name: closePosition
  • type: node
  • autoAdd: true
The Next Phase node property features the following properties:
  • name: nextPhase
  • type: node
  • autoAdd: true
The Move To Phase node property features the following properties:
  • name: moveToPhase
  • type: node
  • autoAdd: true
The Create Order node property features the following properties:
  • name: createOrder
  • type: node
  • autoAdd: true
The Cancel Order node property features the following properties:
  • name: cancelOrder
  • type: node
  • autoAdd: true
The Close Order node property features the following properties:
  • name: closeOrder
  • type: node
  • autoAdd: true
Distance To Trading Event Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Distance To Trading Event with other nodes:
Compatible Types: