Skip to content

Constants

197 enumerations across 16 categories.

Categories


Enumerations Array filter Types

ArrayFilterExclusiveType

ArrayFilterExclusiveType()

Exclusive filter type; will exclude all matching values.

Returns: enum

Returns the ArrayFilterExclusiveType enum.


ArrayFilterGreaterThanType

ArrayFilterGreaterThanType()

GreaterThan filter type; will include all greater values.

Returns: enum

Returns the ArrayFilterGreaterThanType enum.


ArrayFilterInclusiveType

ArrayFilterInclusiveType()

Inclusive filter type; will include all matching values.

Returns: enum

Returns the ArrayFilterInclusiveType enum.


ArrayFilterLessThanType

ArrayFilterLessThanType()

LessThan filter type; will include all lesser values.

Returns: enum

Returns the ArrayFilterLessThanType enum.


Enumerations Candle Pattern

AbandonedBabyType

AbandonedBabyType()

Enumeration, returns an enum for AbandonedBabyType type.

Returns: enum

Returns the AbandonedBabyType enum.


AdvanceBlockType

AdvanceBlockType()

Enumeration, returns an enum for AdvanceBlockType type.

Returns: enum

Returns the AdvanceBlockType enum.


BeltHoldType

BeltHoldType()

Enumeration, returns an enum for BeltHoldType type.

Returns: enum

Returns the BeltHoldType enum.


BreakawayType

BreakawayType()

Enumeration, returns an enum for BreakawayType type.

Returns: enum

Returns the BreakawayType enum.


ClosingMarubozuType

ClosingMarubozuType()

Enumeration, returns an enum for ClosingMarubozuType type.

Returns: enum

Returns the ClosingMarubozuType enum.


ConcealBabysWallType

ConcealBabysWallType()

Enumeration, returns an enum for ConcealBabysWallType type.

Returns: enum

Returns the ConcealBabysWallType enum.


CounterAttackType

CounterAttackType()

Enumeration, returns an enum for CounterAttackType type.

Returns: enum

Returns the CounterAttackType enum.


DarkCloudCoverType

DarkCloudCoverType()

Enumeration, returns an enum for DarkCloudCoverType type.

Returns: enum

Returns the DarkCloudCoverType enum.


DojiStarType

DojiStarType()

Enumeration, returns an enum for DojiStarType type.

Returns: enum

Returns the DojiStarType enum.


DojiType

DojiType()

Enumeration, returns an enum for DojiType type.

Returns: enum

Returns the DojiType enum.


DragonflyDojiType

DragonflyDojiType()

Enumeration, returns an enum for DragonflyDojiType type.

Returns: enum

Returns the DragonflyDojiType enum.


EngulfingType

EngulfingType()

Enumeration, returns an enum for EngulfingType type.

Returns: enum

Returns the EngulfingType enum.


EveningDojiStarType

EveningDojiStarType()

Enumeration, returns an enum for EveningDojiStarType type.

Returns: enum

Returns the EveningDojiStarType enum.


EveningStarType

EveningStarType()

Enumeration, returns an enum for EveningStarType type.

Returns: enum

Returns the EveningStarType enum.


GapSideSideWhiteType

GapSideSideWhiteType()

Enumeration, returns an enum for GapSideSideWhiteType type.

Returns: enum

Returns the GapSideSideWhiteType enum.


GravestoneDojiType

GravestoneDojiType()

Enumeration, returns an enum for GravestoneDojiType type.

Returns: enum

Returns the GravestoneDojiType enum.


HammerType

HammerType()

Enumeration, returns an enum for HammerType type.

Returns: enum

Returns the HammerType enum.


HangingManType

HangingManType()

Enumeration, returns an enum for HangingManType type.

Returns: enum

Returns the HangingManType enum.


HaramiCrossType

HaramiCrossType()

Enumeration, returns an enum for HaramiCrossType type.

Returns: enum

Returns the HaramiCrossType enum.


HaramiType

HaramiType()

Enumeration, returns an enum for HaramiType type.

Returns: enum

Returns the HaramiType enum.


HignWaveType

HignWaveType()

Enumeration, returns an enum for HignWaveType type.

Returns: enum

Returns the HignWaveType enum.


HikkakeModType

HikkakeModType()

Enumeration, returns an enum for HikkakeModType type.

Returns: enum

Returns the HikkakeModType enum.


HikkakeType

HikkakeType()

Enumeration, returns an enum for HikkakeType type.

Returns: enum

Returns the HikkakeType enum.


HomingPigeonType

HomingPigeonType()

Enumeration, returns an enum for HomingPigeonType type.

Returns: enum

Returns the HomingPigeonType enum.


IdenticalThreeCrowsType

IdenticalThreeCrowsType()

Enumeration, returns an enum for IdenticalThreeCrowsType type.

Returns: enum

Returns the IdenticalThreeCrowsType enum.


InNeckType

InNeckType()

Enumeration, returns an enum for InNeckType type.

Returns: enum

Returns the InNeckType enum.


InvertedHammerType

InvertedHammerType()

Enumeration, returns an enum for InvertedHammerType type.

Returns: enum

Returns the InvertedHammerType enum.


KickingByLengthType

KickingByLengthType()

Enumeration, returns an enum for KickingByLengthType type.

Returns: enum

Returns the KickingByLengthType enum.


KickingType

KickingType()

Enumeration, returns an enum for KickingType type.

Returns: enum

Returns the KickingType enum.


LadderBottomType

LadderBottomType()

Enumeration, returns an enum for LadderBottomType type.

Returns: enum

Returns the LadderBottomType enum.


LongLeggedDojiType

LongLeggedDojiType()

Enumeration, returns an enum for LongLeggedDojiType type.

Returns: enum

Returns the LongLeggedDojiType enum.


LongLineType

LongLineType()

Enumeration, returns an enum for LongLineType type.

Returns: enum

Returns the LongLineType enum.


MarubozuType

MarubozuType()

Enumeration, returns an enum for MarubozuType type.

Returns: enum

Returns the MarubozuType enum.


MatchingLowType

MatchingLowType()

Enumeration, returns an enum for MatchingLowType type.

Returns: enum

Returns the MatchingLowType enum.


MatHoldType

MatHoldType()

Enumeration, returns an enum for MatHoldType type.

Returns: enum

Returns the MatHoldType enum.


MorningDojiStarType

MorningDojiStarType()

Enumeration, returns an enum for MorningDojiStarType type.

Returns: enum

Returns the MorningDojiStarType enum.


MorningStarType

MorningStarType()

Enumeration, returns an enum for MorningStarType type.

Returns: enum

Returns the MorningStarType enum.


OnNeckType

OnNeckType()

Enumeration, returns an enum for OnNeckType type.

Returns: enum

Returns the OnNeckType enum.


PiercingType

PiercingType()

Enumeration, returns an enum for PiercingType type.

Returns: enum

Returns the PiercingType enum.


RickshawManType

RickshawManType()

Enumeration, returns an enum for RickshawManType type.

Returns: enum

Returns the RickshawManType enum.


RiseFallThreeMethodsType

RiseFallThreeMethodsType()

Enumeration, returns an enum for RiseFallThreeMethodsType type.

Returns: enum

Returns the RiseFallThreeMethodsType enum.


SeparatingLinesType

SeparatingLinesType()

Enumeration, returns an enum for SeparatingLinesType type.

Returns: enum

Returns the SeparatingLinesType enum.


ShootingStarType

ShootingStarType()

Enumeration, returns an enum for ShootingStarType type.

Returns: enum

Returns the ShootingStarType enum.


ShortLineType

ShortLineType()

Enumeration, returns an enum for ShortLineType type.

Returns: enum

Returns the ShortLineType enum.


SimpleDoubleDownCandleType

SimpleDoubleDownCandleType()

Enumeration, returns an enum for SimpleDoubleDownCandleType type.

Returns: enum

Returns the SimpleDoubleDownCandleType enum.


SimpleDoubleUpCandleType

SimpleDoubleUpCandleType()

Enumeration, returns an enum for SimpleDoubleUpCandleType type.

Returns: enum

Returns the SimpleDoubleUpCandleType enum.


SimpleDownCandleType

SimpleDownCandleType()

Enumeration, returns an enum for SimpleDownCandleType type.

Returns: enum

Returns the SimpleDownCandleType enum.


SimpleUpCandleType

SimpleUpCandleType()

Enumeration, returns an enum for SimpleUpCandleType type.

Returns: enum

Returns the SimpleUpCandleType enum.


SpinningTopType

SpinningTopType()

Enumeration, returns an enum for SpinningTopType type.

Returns: enum

Returns the SpinningTopType enum.


StalledPatternType

StalledPatternType()

Enumeration, returns an enum for StalledPatternType type.

Returns: enum

Returns the StalledPatternType enum.


StickSandwichType

StickSandwichType()

Enumeration, returns an enum for StickSandwichType type.

Returns: enum

Returns the StickSandwichType enum.


TakuriType

TakuriType()

Enumeration, returns an enum for TakuriType type.

Returns: enum

Returns the TakuriType enum.


TasukiGapType

TasukiGapType()

Enumeration, returns an enum for TasukiGapType type.

Returns: enum

Returns the TasukiGapType enum.


ThreeBlackCrowsType

ThreeBlackCrowsType()

Enumeration, returns an enum for ThreeBlackCrowsType type.

Returns: enum

Returns the ThreeBlackCrowsType enum.


ThreeInsideType

ThreeInsideType()

Enumeration, returns an enum for ThreeInsideType type.

Returns: enum

Returns the ThreeInsideType enum.


ThreeLineStrikeType

ThreeLineStrikeType()

Enumeration, returns an enum for ThreeLineStrikeType type.

Returns: enum

Returns the ThreeLineStrikeType enum.


ThreeOutsideType

ThreeOutsideType()

Enumeration, returns an enum for ThreeOutsideType type.

Returns: enum

Returns the ThreeOutsideType enum.


ThreeStarsInSouthType

ThreeStarsInSouthType()

Enumeration, returns an enum for ThreeStarsInSouthType type.

Returns: enum

Returns the ThreeStarsInSouthType enum.


ThreeWhiteSoldiersType

ThreeWhiteSoldiersType()

Enumeration, returns an enum for ThreeWhiteSoldiersType type.

Returns: enum

Returns the ThreeWhiteSoldiersType enum.


ThrustingType

ThrustingType()

Enumeration, returns an enum for ThrustingType type.

Returns: enum

Returns the ThrustingType enum.


TristarType

TristarType()

Enumeration, returns an enum for TristarType type.

Returns: enum

Returns the TristarType enum.


TwoCrowsType

TwoCrowsType()

Enumeration, returns an enum for TwoCrowsType type.

Returns: enum

Returns the TwoCrowsType enum.


UniqueThreeRiverType

UniqueThreeRiverType()

Enumeration, returns an enum for UniqueThreeRiverType type.

Returns: enum

Returns the UniqueThreeRiverType enum.


UpsideGapTwoCrowsType

UpsideGapTwoCrowsType()

Enumeration, returns an enum for UpsideGapTwoCrowsType type.

Returns: enum

Returns the UpsideGapTwoCrowsType enum.


XSideGapThreeMethodsType

XSideGapThreeMethodsType()

Enumeration, returns an enum for XSideGapThreeMethodsType type.

Returns: enum

Returns the XSideGapThreeMethodsType enum.


Enumerations Charting

Candlestick

Candlestick()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the Candlestick enum.


CandlestickHLC

CandlestickHLC()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the CandlestickHLC enum.


CloseLine

CloseLine()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the CloseLine enum.


Dashed

Dashed()

Enumeration, returns a line decoration enum. Used by LineOptions() for example.

Returns: enum

Returns the Dashed enum.


Dotted

Dotted()

Enumeration, returns a line decoration enum. Used by LineOptions() for example.

Returns: enum

Returns the Dotted enum.


HeikinAshi

HeikinAshi()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the HeikinAshi enum.


HLC

HLC()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the HLC enum.


LeftAxis

LeftAxis()

Enumeration, returns the a chart axis enum. Used ChartSetAxisOptions() for example.

Returns: enum

Returns the LeftAxis enum.


Line

Line()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the Line enum.


LinearAxis

LinearAxis()

Enumeration, returns the a chart axis type enum. Used ChartSetOptions() for example.

Returns: enum

Returns the LinearAxis enum.


Mountain

Mountain()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the Mountain enum.


OHLC

OHLC()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the OHLC enum.


PercentageAxis

PercentageAxis()

Enumeration, returns the a chart axis type enum. Used ChartSetOptions() for example.

Returns: enum

Returns the PercentageAxis enum.


RightAxis

RightAxis()

Enumeration, returns the a chart axis enum. Used ChartSetAxisOptions() for example.

Returns: enum

Returns the RightAxis enum.


ShapeAdd

ShapeAdd()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeAdd enum.


ShapeCircle

ShapeCircle()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeCircle enum.


ShapeCross

ShapeCross()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeCross enum.


ShapeDash

ShapeDash()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeDash enum.


ShapeDiamond

ShapeDiamond()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeDiamond enum.


ShapeSquare

ShapeSquare()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeSquare enum.


ShapeText

ShapeText()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeText enum.


ShapeTriangleDown

ShapeTriangleDown()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeTriangleDown enum.


ShapeTriangleUp

ShapeTriangleUp()

Enumeration, returns the a shape type enum. Used PlotShapes().

Returns: enum

Returns the ShapeTriangleUp enum.


Smooth

Smooth()

Enumeration, returns a line style enum. Used by LineOptions() for example.

Returns: enum

Returns the Smooth enum.


Solid

Solid()

Enumeration, returns a line decoration enum. Used by LineOptions() for example.

Returns: enum

Returns the Solid enum.


Spiked

Spiked()

Enumeration, returns a line style enum. Used by LineOptions() for example.

Returns: enum

Returns the Spiked enum.


Spread

Spread()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the Spread enum.


SpreadCandle

SpreadCandle()

Enumeration, return a price plot enum. Used by PlotPrice() or ChartSetOptions()

Returns: enum

Returns the SpreadCandle enum.


Step

Step()

Enumeration, returns a line style enum. Used by LineOptions() for example.

Returns: enum

Returns the Step enum.


StepAfter

StepAfter()

Enumeration, returns a line style enum. Used by LineOptions() for example.

Returns: enum

Returns the StepAfter enum.


StepBefore

StepBefore()

Enumeration, returns a line style enum. Used by LineOptions() for example.

Returns: enum

Returns the StepBefore enum.


Enumerations Color

Aqua

Aqua([opacity])

Enumeration, returns a color hex string. Can be used as Aqua, Aqua() or with a specific opacity Aqua(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of aqua (#00FFFF)


Black

Black([opacity])

Enumeration, returns a color hex string. Can be used as Black, Black() or with a specific opacity Black(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of black (#000000)


Blue

Blue([opacity])

Enumeration, returns a color hex string. Can be used as Blue, Blue() or with a specific opacity Blue(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of blue (#0000CC)


Color

Color(r, g, b, [a])

Creates an RGBA color string.

Parameters:

Name Type Required Description
r number Yes The red component value for the new color. Valid values are 0 through 255.
g number Yes The green component value for the new color. Valid values are 0 through 255.
b number Yes The blue component value for the new color. Valid values are 0 through 255.
a number No The alpha component value for the new color. Valid values are 0 through 255.

Returns: string

Returns an RGBA color string.


Cyan

Cyan([opacity])

Enumeration, returns a color hex string. Can be used as Cyan, Cyan() or with a specific opacity Cyan(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of cyan (#00CCCC)


DarkGray

DarkGray([opacity])

Enumeration, returns a color hex string. Can be used as DarkGray, DarkGray() or with a specific opacity DarkGray(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of darkgray (#808080)


DarkGreen

DarkGreen([opacity])

Enumeration, returns a color hex string. Can be used as DarkGreen, DarkGreen() or with a specific opacity DarkGreen(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of darkgreen (#008000)


Fuchsia

Fuchsia([opacity])

Enumeration, returns a color hex string. Can be used as Fuchsia, Fuchsia() or with a specific opacity Fuchsia(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of fuchsia (#FF00FF)


Gold

Gold([opacity])

Enumeration, returns a color hex string. Can be used as Gold, Gold() or with a specific opacity Gold(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of gold (#CC9900)


Gray

Gray([opacity])

Enumeration, returns a color hex string. Can be used as Gray, Gray() or with a specific opacity Gray(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of gray (#C0C0C0)


Green

Green([opacity])

Enumeration, returns a color hex string. Can be used as Green, Green() or with a specific opacity Green(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of green (#00FF00)


Maroon

Maroon([opacity])

Enumeration, returns a color hex string. Can be used as Maroon, Maroon() or with a specific opacity Maroon(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of maroon (#800000)


Olive

Olive([opacity])

Enumeration, returns a color hex string. Can be used as Olive, Olive() or with a specific opacity Olive(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of olive (#808000)


Orange

Orange([opacity])

Enumeration, returns a color hex string. Can be used as Orange, Orange() or with a specific opacity Orange(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of orange (#FF8000)


Purple

Purple([opacity])

Enumeration, returns a color hex string. Can be used as Purple, Purple() or with a specific opacity Purple(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of purple (#FF1a8c)


Red

Red([opacity])

Enumeration, returns a color hex string. Can be used as Red, Red() or with a specific opacity Red(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of red (#FF0000)


SkyBlue

SkyBlue([opacity])

Enumeration, returns a color hex string. Can be used as SkyBlue, SkyBlue() or with a specific opacity SkyBlue(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of skyblue (#33CCFF)


Teal

Teal([opacity])

Enumeration, returns a color hex string. Can be used as Teal, Teal() or with a specific opacity Teal(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of teal (#008080)


White

White([opacity])

Enumeration, returns a color hex string. Can be used as White, White() or with a specific opacity White(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of white (#FFFFFF)


Yellow

Yellow([opacity])

Enumeration, returns a color hex string. Can be used as Yellow, Yellow() or with a specific opacity Yellow(10).

Parameters:

Name Type Required Description
opacity number No The color opacity, 0-100. By default 100.

Returns: string

Returns hex string of yellow (#FFFF00)


Enumerations Data Types

ArrayDataType

ArrayDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the ArrayDataType enum.


BoolDataType

BoolDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the BoolDataType enum.


CommandDataType

CommandDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the CommandDataType enum.


FunctionDataType

FunctionDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the FunctionDataType enum.


HncDataType

HncDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the HncDataType enum.


NilDataType

NilDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the NilDataType enum.


NumberDataType

NumberDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the NumberDataType enum.


TextDataType

TextDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the TextDataType enum.


TupleDataType

TupleDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the TupleDataType enum.


UnknownDataType

UnknownDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the UnknownDataType enum.


UserDataDataType

UserDataDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the UserDataDataType enum.


VoidDataType

VoidDataType()

Enumeration, returns a data type enum.

Returns: enum

Returns the VoidDataType enum.


Enumerations Margin Mode

CrossMarginMode

CrossMarginMode()

Enumeration, returns a cross-margin mode enum. Used with Get-/SetMarginMode() and IsMarginModeSupported()

Returns: enum

Returns the cross-margin mode enum.


IsolatedMarginMode

IsolatedMarginMode()

Enumeration, returns isolated margin mode enum. Used with Get-/SetMarginMode() and IsMarginModeSupported()

Returns: enum

Returns the isolated-margin mode enum.


Enumerations Moving Averages

DemaType

DemaType()

Enumeration, returns an enum for DEMA type.

Returns: enum

Returns the DEMA Type enum.


EmaType

EmaType()

Enumeration, returns an enum for EMA type.

Returns: enum

Returns theDEMA Type enum.


KamaType

KamaType()

Enumeration, returns an enum for KAMA type.

Returns: enum

Returns the KAMA Type enum.


MamaType

MamaType()

Enumeration, returns an enum for MAMA type.

Returns: enum

Returns the MAMA Type enum.


SmaType

SmaType()

Enumeration, returns an enum for SMA type.

Returns: enum

Returns the SMA Type enum.


T3Type

T3Type()

Enumeration, returns an enum for T3 type.

Returns: enum

Returns the T3 Type enum.


TemaType

TemaType()

Enumeration, returns an enum for TEMA type.

Returns: enum

Returns the TEMA Type enum.


TrimaType

TrimaType()

Enumeration, returns an enum for TRIMA type.

Returns: enum

Returns the TRIMA Type enum.


WmaType

WmaType()

Enumeration, returns an enum for WMA type.

Returns: enum

Returns the WMA Type enum.


Enumerations Order Types

LimitOrderType

LimitOrderType()

Standard limit order type enum with a default timeout of 10 minutes. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the LimitOrderType enum.


MakerOrCancelOrderType

MakerOrCancelOrderType()

MakerOrCancel order type enum with a standard timeout of 10 minutes. When the exchange does not support this type, a normal limit order will be executed. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the MakerOrCancelOrderType enum.


MarketOrderType

MarketOrderType()

Standard market order type. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the MarketOrderType enum.


NoTimeOutOrderType

NoTimeOutOrderType()

Enumeration, returns an order type enum. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the NoTimeOutOrderType enum.


StopLimitOrderType

StopLimitOrderType()

Stop-Limit order type enum with a standard timeout of 10 minutes. When the exchange does not support this type, an error will be thrown and bot execution is stopped. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the StopLimitOrderType enum.


StopMarketOrderType

StopMarketOrderType()

Stop-Market order type enum. When the exchange does not support this type, an error will be thrown and bot execution is stopped. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the StopMarketOrderType enum.


TakeProfitLimitOrderType

TakeProfitLimitOrderType()

Take-profit limit order type enum with a standard timeout of 10 minutes. When the exchange does not support this type, an error will be thrown and bot execution is stopped. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the TakeProfitLimitOrderType enum.


TakeProfitMarketOrderType

TakeProfitMarketOrderType()

Take-Profit-Market order type enum. When the exchange does not support this type, an error will be thrown and bot execution is stopped. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the TakeProfitMarketOrderType enum.


TrailingStopMarketOrderType

TrailingStopMarketOrderType()

Trailing-Stop order type enum. When the exchange does not support this type, an error will be thrown and bot execution is stopped. Used by SetOrderType() or PlaceOrders commands.

Returns: enum

Returns the TrailingStopMarketOrderType enum.


Enumerations Parameter Type

BooleanType

BooleanType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the BooleanType enum.


CallbackType

CallbackType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the CallbackType enum.


DynamicType

DynamicType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the DynamicType enum.


EnumType

EnumType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the EnumType enum.


ListDynamicType

ListDynamicType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the ListDynamicType enum.


ListNumberType

ListNumberType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the ListNumberType enum.


NumberType

NumberType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the NumberType enum.


StringType

StringType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the StringType enum.


VoidType

VoidType()

Enumeration, returns a parameter enum. Used by DefineParameter() or DefineOutput() for example.

Returns: enum

Returns the VoidType enum.


Enumerations Position

NoPosition

NoPosition()

Enumeration, returns a bot position enum. Used by GetPositionDirection() for example.

Returns: enum

Returns the NoPosition enum.


PositionLong

PositionLong()

Aliases: PositionBought

Enumeration, returns a bot position enum. Used by GetPositionDirection() for example.

Returns: enum

Returns the PositionLong enum.


PositionShort

PositionShort()

Aliases: PositionSold

Enumeration, returns a bot position enum. Used by GetPositionDirection() for example.

Returns: enum

Returns the PositionShort enum.


Enumerations Position Mode

HedgePositionMode

HedgePositionMode()

Enumeration, returns a hedge position mode enum. Used with Get-/SetPositionMode() and IsPositionModeSupported()

Returns: enum

Returns the hedge-position mode enum.


OneWayPositionMode

OneWayPositionMode()

Enumeration, returns a one-way position mode enum. Used with Get-/SetPositionMode() and IsPositionModeSupported()

Returns: enum

Returns the one-way-position mode enum.


Enumerations Signal

SignalError

SignalError()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalError enum.


SignalExitLong

SignalExitLong()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalExitLong enum.


SignalExitPosition

SignalExitPosition()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalExitPosition enum.


SignalExitShort

SignalExitShort()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalExitShort enum.


SignalLong

SignalLong()

Aliases: SignalBuy

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalLong enum.


SignalNone

SignalNone()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalNone enum.


SignalReservedA

SignalReservedA()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalReservedA enum.


SignalReservedB

SignalReservedB()

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalReservedB enum.


SignalShort

SignalShort()

Aliases: SignalSell

Enumeration, returns a signal enum. Used by GetRemoteSignal() or custom commands for example.

Returns: enum

Returns the SignalShort enum.


Enumerations Signal Types

BothCenterCrossType

BothCenterCrossType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the BothCenterCrossType enum.


BothThresholdType

BothThresholdType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the BothThresholdType enum.


IndicatorCenterCrossType

IndicatorCenterCrossType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the IndicatorCenterCrossType enum.


IndicatorSignalCrossType

IndicatorSignalCrossType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the IndicatorSignalCrossType enum.


IndicatorThresholdType

IndicatorThresholdType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the IndicatorThresholdType enum.


SignalCenterCrossType

SignalCenterCrossType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the SignalCenterCrossType enum.


SignalThresholdType

SignalThresholdType()

Enumeration, returns a signal type enum. Used with GetSuperSignal().

Returns: enum

Returns the SignalThresholdType enum.


Enumerations Source Price Types

ClosePriceSource

ClosePriceSource()

Enumeration, returns an enum for Close Price Source type.

Returns: enum

Returns the Close Price Source type enum.


HighPriceSource

HighPriceSource()

Enumeration, returns an enum for High Price Source type.

Returns: enum

Returns the High Price Source type enum.


HLCPriceSource

HLCPriceSource()

Enumeration, returns an enum for HLC Price Source type.

Returns: enum

Returns the HLC Price Source type enum.


HLPriceSource

HLPriceSource()

Enumeration, returns an enum for HL Price Source type.

Returns: enum

Returns the HL Price Source type enum.


LowPriceSource

LowPriceSource()

Enumeration, returns an enum for Low Price Source type.

Returns: enum

Returns the Low Price Source type enum.


OHLCPriceSource

OHLCPriceSource()

Enumeration, returns an enum for OHLC Price Source type.

Returns: enum

Returns the OHLC Price Source type enum.


OpenPriceSource

OpenPriceSource()

Enumeration, returns an enum for Open Price Source type.

Returns: enum

Returns the Open Price Source type enum.


VolumePriceSource

VolumePriceSource()

Enumeration, returns an enum for Volume Source type.

Returns: enum

Returns the Volume Source type enum.


Enumerations Trading

LeverageTrading

LeverageTrading()

Enumeration, returns a market type enum. Used by MarketType()

Returns: enum

Returns the LeverageTrading enum.


MarginTrading

MarginTrading()

Enumeration, returns a market type enum. Used by MarketType()

Returns: enum

Returns the MarginTrading enum.


SpotTrading

SpotTrading()

Enumeration, returns a market type enum. Used by MarketType()

Returns: enum

Returns the SpotTrading enum.


Enumerations Trading LR

LR_Angle

LR_Angle()

Enumeration, returns an enum for LINEARREG().

Returns: enum

Returns the LR Angle enum.


LR_Default

LR_Default()

Enumeration, returns an enum for LINEARREG().

Returns: enum

Returns the LR Default enum.


LR_Intercept

LR_Intercept()

Enumeration, returns an enum for LINEARREG().

Returns: enum

Returns the LR Intercept enum.


LR_Slope

LR_Slope()

Enumeration, returns an enum for LINEARREG().

Returns: enum

Returns the LR Slope enum.


Auto-generated from HaasScript source code.