TradeBot Containers
Last updated
Last updated
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
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Validates if all the signals agree.
Syntax: InsuranceContainer([ signals[] ])
Returns true if all the signals in the collection are true.
Return type: Boolean
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Checks a collection for active safety signals.
Syntax: SafetyContainer([ signals[] ])
Returns true if any of the signals is active.
Return type: Boolean
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
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
signals[]
EnumParams
False
Equals,DoSignal,PlotSignalEnum,ConvertSignal,IgnoreSignalIf,UseSignalIf,ReverseSignal,SignalWeight,SignalToBool,SignalMapper,SignalProperties,GetWeightedConsensusSignal,GetUnanimousSignal,GetConsensusSignal,TradeBotContainer,EasyABANDS,EasyADOSC,EasyAO,EasyAPO,EasyAROON,EasyAROONOSC,EasyBBANDS,EasyBOP,EasyCCI,EasyCMO,EasyCOPPOCK,EasyCRSI,EasyDMI,EasyDONCHIAN,EasyDPO,EasyDX,EasyICHIMOKU,EasyIMI,EasyKELTNER,EasyKRI,EasyLINEARREG,EasyMA,EasyMACD,EasyMFI,EasyMOM,EasyOBV,EasyPPO,EasyROC,EasyRSI,EasySSTOCH,EasySTOCH,EasySTOCHF,EasyTRIX,EasyTSI,EasyUDRSI,EasyWILLR,EasyZLMA,EasyAlice,EasyCDL,EasySLOWRSI,EasyFASTRSI,EasyBBANDSB,EasyBBANDSW,EasySTOCHRSI,EasyFIBONACCI,EasyKST,EasySAR,EasyDynamicLongShortLevels,EasyFixedLongShortLevels,EasyULTOSC
signals[]
BooleanParams
False
AbsolutePriceChange,DisableOnLosses,NeverExitWithLoss,OvercomeDoubleFeeCosts,OvercomeFeeCosts,PercentagePriceChange,StopLossCooldown,TradeOncePerBar,TradeOnlySideways,TradeOnlyTrending,WaitAfterTrade,NeverEnterWithALoss
signals[]
BooleanParams
False
ChandelierStopLoss,DynamicStopLoss,DynamicTakeProfit,StopLoss,TakeProfit,TrailingArmStopLoss,TrailingStopLoss,ShrinkingTrailingStopLossCommand,StopLossRoi,TakeProfitRoi,GrowingTrailingStopLoss,DeactivateAfterEnter,DeactivateAfterExit,DeactivateAfterXOrders,DeactivateAfterXPositions,DeactivateAfterXIdleMinutes,DeactivateAfterXActiveMinutes,DeactivateOnLoss,DeactivateOnProfit
safetySignal
Boolean
False
ChandelierStopLoss,DynamicStopLoss,DynamicTakeProfit,StopLoss,TakeProfit,TrailingArmStopLoss,TrailingStopLoss,ShrinkingTrailingStopLossCommand,StopLossRoi,TakeProfitRoi,GrowingTrailingStopLoss,DeactivateAfterEnter,DeactivateAfterExit,DeactivateAfterXOrders,DeactivateAfterXPositions,DeactivateAfterXIdleMinutes,DeactivateAfterXActiveMinutes,DeactivateOnLoss,DeactivateOnProfit,SafetyContainer
indicatorSignal
Enum
False
IndicatorContainer
insuranceSignal
Boolean
False
AbsolutePriceChange,DisableOnLosses,NeverExitWithLoss,OvercomeDoubleFeeCosts,OvercomeFeeCosts,PercentagePriceChange,StopLossCooldown,TradeOncePerBar,TradeOnlySideways,TradeOnlyTrending,WaitAfterTrade,NeverEnterWithALoss,InsuranceContainer