TradeBot Containers
IndicatorContainer
Merges multiple signals into a single list and determines the unanimous and consensus signal.
Syntax: IndicatorContainer([ signals[] ])
Returns a list with on index 1 the array with signals, on index 2 the unanimous and on index 3 the consensus signal.
Return type: Dynamic
InsuranceContainer
Validates if all the signals agree.
Syntax: InsuranceContainer([ signals[] ])
Returns true if all the signals in the collection are true.
Return type: Boolean
SafetyContainer
Checks a collection for active safety signals.
Syntax: SafetyContainer([ signals[] ])
Returns true if any of the signals is active.
Return type: Boolean
TradeBotContainer
Checks the safety, indicator & insurance signal. If a safety is active, DoExitPosition() will be executed. When there are no safeties active, the indicator signal will be executed if the insurances agree.
Syntax: TradeBotContainer([ safetySignal ], [ indicatorSignal ], [ insuranceSignal ])
Return type: Void
Last updated