Trade Actions (Managed)
Last updated
Last updated
Generates a buy signal on spot or a long signal on margin & leverage.
DoBuy([ note ])
Return Type: Void
Sends out a sell signal on spot or an exit positions signal on margin & leverage.
DoExitPosition([ note ])
Return Type: Void
Executes a DoLong() when the current position is short and an DoShort() the position is long.
DoFlipPosition([ note ])
Return Type: Void
Generates a buy signal on spot or a long signal on margin & leverage.
DoLong([ note ])
Return Type: Void
Generates a sell signal on spot or a short signal on margin & leverage.
DoSell([ note ])
Return Type: Void
Generates a sell signal on spot or a short signal on margin & leverage.
DoShort([ note ])
Return Type: Void
Processes a signal enum. Triggers a DoLong() when the signal equals SignalLong, a DoShort() when the signal equals SignalShort, a DoExitPosition() when the signal equals SignalExitPosition and does nothing when the signal is SignalNone.
DoSignal(signal, [ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
Parameter Name
Parameter Type
Required
Suggested
signal
Enum
True
GetConsensusSignal, GetUnanimousSignal, GetRemoteSignal
note
String
False
Text, Input, SessionGet, Load