Available translations

Incoming Signals

incoming-signals.png
This node defines the location within a Trading System at which an incoming Signal will be made available.
Content
In other words, an Incoming Signal node receives the signal information and then injects this data into a specific part of a trading system.
Types of Signals
There are three types of signals that can be received:
Candle Sync Signals
Keeping the bots of provider and recipient on the same candle is vital for trading signals to actually be useful. Therefore, Candle Sync signals are the foundational use of the Incoming Signal node. It communicates the candle on which the current incoming signal belongs. This allows your bots to identify the exact same candle on which the provider sent the signal allowing yours and the provider's bot to stay in sync.
Receiving a candle sync signal can be achieved by attaching an Incoming Signal node to a Trading System node. Then adding a child Outgoing Signal Reference node. Then establishing a reference from the Incoming Signal Reference node to the Trading System Signal node held under the Social Trading Bot of the provider.
Event Signals
Event signals allow the signal provider to send information concerning trading system events. Examples of such events are the Trigger On Event, Trigger Off Event, Take Position Event, etc.
Receiving event signals is very straightforward. Follow these steps:
  • Add an Incoming Signals node to the appropriate event within your trading system.
Finally configure how you would like your Trading System to interpret the signal information:
To use signal information set up the logic to interpret the signal in the Javascript Code node of the Event's Condition node.
Here is a basic example the registers true when the event signal is received.
 if (signals !== undefined && signals.length > 0) {
    true
} else {
    false
}
Formula Signals
Formula Signals allow the signal provider to send information coming out of trading system formulas. Examples of such formulas are, Target Rate, Order Rate, Target Size In Base Asset, etc.
Receiving a formula signal is the same as receiving an event signal with a few differences on how to set up the logic to interpret the incoming signal data.
To use Formula Signal data set up the logic within the associated Formula node of that part of the Trading System.
Here is a basic example of receiving this data and putting it into variable called lastSignalFormulaValue:
 let lastSignalFormulaValue = 0
for (let i = 0; i < signals.length; i++) {
    let signal = signals[i]
    lastSignalFormulaValue = signal.source.tradingSystem.node.formula.value
}
lastSignalFormulaValue
Incoming Signals Menu
The Incoming Signals node has the following Node Menu items:
The Add Incoming Signal Reference menu item has the following properties:
  • action: Add UI Object
  • label: Add Incoming Signal Reference
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Trading-Signals
  • actionProject: Visual-Scripting
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
Incoming Signals Children
The Incoming Signals node has the following childrenNodesProperties:
The Incoming Signal References node property features the following properties:
  • name: incomingSignalReferences
  • type: array
  • autoAdd: false
Incoming Signals Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Incoming Signals with other nodes:
Compatible Types: