Skip to content

Commit

Permalink
Update to the latest Haas definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiretronP75 committed Feb 7, 2024
1 parent e9b1472 commit b5f04af
Show file tree
Hide file tree
Showing 13 changed files with 197 additions and 78 deletions.
4 changes: 0 additions & 4 deletions haas-production-flex-numbers/hs.machine-learning.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
--- @return boolean. Output Suggestions: Or, And, IsTrue, IsFalse, Not, BoolToSignal, IfElse, Switch, IfElseIf, DoBuy, DoLong, DoSell, DoShort, DoExitPosition, DoFlipPosition, DoSignal, PlaceBuyOrder, PlaceSellOrder, PlaceGoLongOrder, PlaceGoShortOrder, PlaceExitLongOrder, PlaceExitShortOrder, PlaceExitPositionOrder, PlaceCancelledOrder
function IsAbnormal(dataset, multiplier) end

--- Looks to the crypto trading news and returns the sentiment of it
--- @return number | number[]. Output Suggestions: Equals, IsBiggerOrSmallerThan, IsSmallerThan, IsBiggerThan, Compare, Add, Sum, Sub, Mul, Mult, Div, AddPerc, AddPercentage, SubPerc, SubPercentage, Plot
function NewsSentiment() end

--- Reads the given data and tries to give a forecast
--- @param dataset number[] Dataset. Suggestions: AskPrices, BuyPrices, BidPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, Prices, HLPrices, HLCPrices, OCPrices, HeikenClosePrices, OHLCPrices, GetBodyHighPrices, GetBodyLowPrices
--- @param L number | number[] Length of the window on the series for building the trajectory matrix (L). Suggestions: Input
Expand Down
5 changes: 5 additions & 0 deletions haas-production-flex-numbers/hs.signal-helpers.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ function GetUnanimousSignal(signals) end
--- @return Enum Returns SignalLong, SignalShort, SignalExitPosition or SignalNone when there is a consensus or SignalNone when there is not. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function GetWeightedConsensusSignal(longWeight, shortWeight, exitWeight, signals) end

--- Uses hindsight to tell if its the best moment to long or short
--- @param period number | number[] Hindsight view period length. Suggestions: Input
--- @return Enum Returns a trading signal. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function HindSightSignal(period) end

--- Marks the signal to be ignored when it matches a certain signal.
--- @param signal Enum The original signal. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
--- @param signalToIgnore Enum The signal to ignore. SignalLong, SignalShort or SignalExitPosition. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
Expand Down
4 changes: 0 additions & 4 deletions haas-production/hs.machine-learning.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
--- @return boolean. Output Suggestions: Or, And, IsTrue, IsFalse, Not, BoolToSignal, IfElse, Switch, IfElseIf, DoBuy, DoLong, DoSell, DoShort, DoExitPosition, DoFlipPosition, DoSignal, PlaceBuyOrder, PlaceSellOrder, PlaceGoLongOrder, PlaceGoShortOrder, PlaceExitLongOrder, PlaceExitShortOrder, PlaceExitPositionOrder, PlaceCancelledOrder
function IsAbnormal(dataset, multiplier) end

--- Looks to the crypto trading news and returns the sentiment of it
--- @return number. Output Suggestions: Equals, IsBiggerOrSmallerThan, IsSmallerThan, IsBiggerThan, Compare, Add, Sum, Sub, Mul, Mult, Div, AddPerc, AddPercentage, SubPerc, SubPercentage, Plot
function NewsSentiment() end

--- Reads the given data and tries to give a forecast
--- @param dataset number[] Dataset. Suggestions: AskPrices, BuyPrices, BidPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, Prices, HLPrices, HLCPrices, OCPrices, HeikenClosePrices, OHLCPrices, GetBodyHighPrices, GetBodyLowPrices
--- @param L number Length of the window on the series for building the trajectory matrix (L). Suggestions: Input
Expand Down
5 changes: 5 additions & 0 deletions haas-production/hs.signal-helpers.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ function GetUnanimousSignal(signals) end
--- @return Enum Returns SignalLong, SignalShort, SignalExitPosition or SignalNone when there is a consensus or SignalNone when there is not. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function GetWeightedConsensusSignal(longWeight, shortWeight, exitWeight, signals) end

--- Uses hindsight to tell if its the best moment to long or short
--- @param period number Hindsight view period length. Suggestions: Input
--- @return Enum Returns a trading signal. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function HindSightSignal(period) end

--- Marks the signal to be ignored when it matches a certain signal.
--- @param signal Enum The original signal. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
--- @param signalToIgnore Enum The signal to ignore. SignalLong, SignalShort or SignalExitPosition. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
Expand Down
7 changes: 7 additions & 0 deletions haas-staging-flex-numbers/hs.input-fields.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ function InputTable(options, ...) end
--- @return any Returns the options objects.
function InputTableColumn(name, ...) end

--- Creates an table column options object for InputTable() with a dropdown
--- @param name string Column name.
--- @param options any Dropdown options. For example { "options-A", "options-B" }
--- @vararg any Optional - Default values.
--- @return any Returns the options objects.
function InputTableColumnDropdown(name, options, ...) end

--- The optional parameters of InputTableOptions.
--- @shape OptionalParametersOf_InputTableOptions
--- @field title string | nil Name of the table.
Expand Down
4 changes: 0 additions & 4 deletions haas-staging-flex-numbers/hs.machine-learning.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
--- @return boolean. Output Suggestions: Or, And, IsTrue, IsFalse, Not, BoolToSignal, IfElse, Switch, IfElseIf, DoBuy, DoLong, DoSell, DoShort, DoExitPosition, DoFlipPosition, DoSignal, PlaceBuyOrder, PlaceSellOrder, PlaceGoLongOrder, PlaceGoShortOrder, PlaceExitLongOrder, PlaceExitShortOrder, PlaceExitPositionOrder, PlaceCancelledOrder
function IsAbnormal(dataset, multiplier) end

--- Looks to the crypto trading news and returns the sentiment of it
--- @return number | number[]. Output Suggestions: Equals, IsBiggerOrSmallerThan, IsSmallerThan, IsBiggerThan, Compare, Add, Sum, Sub, Mul, Mult, Div, AddPerc, AddPercentage, SubPerc, SubPercentage, Plot
function NewsSentiment() end

--- Reads the given data and tries to give a forecast
--- @param dataset number[] Dataset. Suggestions: AskPrices, BuyPrices, BidPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, Prices, HLPrices, HLCPrices, OCPrices, HeikenClosePrices, OHLCPrices, GetBodyHighPrices, GetBodyLowPrices
--- @param L number | number[] Length of the window on the series for building the trajectory matrix (L). Suggestions: Input
Expand Down
5 changes: 5 additions & 0 deletions haas-staging-flex-numbers/hs.signal-helpers.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ function GetUnanimousSignal(signals) end
--- @return Enum Returns SignalLong, SignalShort, SignalExitPosition or SignalNone when there is a consensus or SignalNone when there is not. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function GetWeightedConsensusSignal(longWeight, shortWeight, exitWeight, signals) end

--- Uses hindsight to tell if its the best moment to long or short
--- @param period number | number[] Hindsight view period length. Suggestions: Input
--- @return Enum Returns a trading signal. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function HindSightSignal(period) end

--- Marks the signal to be ignored when it matches a certain signal.
--- @param signal Enum The original signal. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
--- @param signalToIgnore Enum The signal to ignore. SignalLong, SignalShort or SignalExitPosition. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
Expand Down
7 changes: 7 additions & 0 deletions haas-staging/hs.input-fields.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ function InputTable(options, ...) end
--- @return any Returns the options objects.
function InputTableColumn(name, ...) end

--- Creates an table column options object for InputTable() with a dropdown
--- @param name string Column name.
--- @param options any Dropdown options. For example { "options-A", "options-B" }
--- @vararg any Optional - Default values.
--- @return any Returns the options objects.
function InputTableColumnDropdown(name, options, ...) end

--- The optional parameters of InputTableOptions.
--- @shape OptionalParametersOf_InputTableOptions
--- @field title string | nil Name of the table.
Expand Down
4 changes: 0 additions & 4 deletions haas-staging/hs.machine-learning.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
--- @return boolean. Output Suggestions: Or, And, IsTrue, IsFalse, Not, BoolToSignal, IfElse, Switch, IfElseIf, DoBuy, DoLong, DoSell, DoShort, DoExitPosition, DoFlipPosition, DoSignal, PlaceBuyOrder, PlaceSellOrder, PlaceGoLongOrder, PlaceGoShortOrder, PlaceExitLongOrder, PlaceExitShortOrder, PlaceExitPositionOrder, PlaceCancelledOrder
function IsAbnormal(dataset, multiplier) end

--- Looks to the crypto trading news and returns the sentiment of it
--- @return number. Output Suggestions: Equals, IsBiggerOrSmallerThan, IsSmallerThan, IsBiggerThan, Compare, Add, Sum, Sub, Mul, Mult, Div, AddPerc, AddPercentage, SubPerc, SubPercentage, Plot
function NewsSentiment() end

--- Reads the given data and tries to give a forecast
--- @param dataset number[] Dataset. Suggestions: AskPrices, BuyPrices, BidPrices, SellPrices, OpenPrices, HighPrices, LowPrices, ClosePrices, Prices, HLPrices, HLCPrices, OCPrices, HeikenClosePrices, OHLCPrices, GetBodyHighPrices, GetBodyLowPrices
--- @param L number Length of the window on the series for building the trajectory matrix (L). Suggestions: Input
Expand Down
5 changes: 5 additions & 0 deletions haas-staging/hs.signal-helpers.def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ function GetUnanimousSignal(signals) end
--- @return Enum Returns SignalLong, SignalShort, SignalExitPosition or SignalNone when there is a consensus or SignalNone when there is not. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function GetWeightedConsensusSignal(longWeight, shortWeight, exitWeight, signals) end

--- Uses hindsight to tell if its the best moment to long or short
--- @param period number Hindsight view period length. Suggestions: Input
--- @return Enum Returns a trading signal. Output Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, TradeBotContainer
function HindSightSignal(period) end

--- Marks the signal to be ignored when it matches a certain signal.
--- @param signal Enum The original signal. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
--- @param signalToIgnore Enum The signal to ignore. SignalLong, SignalShort or SignalExitPosition. Suggestions: Equals, DoSignal, PlotSignalEnum, ConvertSignal, MapSignal, IgnoreSignalIf, UseSignalIf, ReverseSignal, SignalWeight, SignalToBool, SignalMapper, SignalProperties, GetWeightedConsensusSignal, GetUnanimousSignal, GetConsensusSignal, IndicatorContainer, 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
Expand Down
83 changes: 52 additions & 31 deletions src/command/sample/command-production.sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23971,6 +23971,58 @@ export const commandProductionSample: CommandRaw[] = [
],
"ChangeTypes": []
},
{
"CommandName": "HindSightSignal",
"Command": 8303,
"Description": "Uses hindsight to tell if its the best moment to long or short",
"ReturnDescription": "Returns a trading signal",
"Parameters": [
{
"Index": 0,
"Name": "period",
"Type": 1,
"IsRequired": true,
"IsHidden": false,
"IsField": false,
"AllowNull": false,
"Description": "Hindsight view period length.",
"ScriptType": null,
"Suggestion": [
3400,
4403,
4205
]
}
],
"CommandType": 1,
"Category": 31,
"OutputIndex": [],
"IsConstant": false,
"IsPrimary": true,
"RequiresCall": false,
"Resizable": false,
"OutputHidden": false,
"OutputType": 2,
"OutputSuggestions": [
3202,
3803,
424,
6012,
6007,
6010,
6008,
6015,
6018,
6016,
6017,
6014,
6006,
6002,
7000,
7003
],
"ChangeTypes": []
},
{
"CommandName": "HLC",
"Command": 1416,
Expand Down Expand Up @@ -34878,37 +34930,6 @@ export const commandProductionSample: CommandRaw[] = [
],
"ChangeTypes": []
},
{
"CommandName": "NewsSentiment",
"Parameters": [],
"Command": 8302,
"CommandType": 1,
"Category": 47,
"Description": "Looks to the crypto trading news and returns the sentiment of it",
"ReturnDescription": null,
"OutputIndex": [],
"IsConstant": false,
"IsPrimary": true,
"RequiresCall": false,
"Resizable": false,
"OutputHidden": false,
"OutputType": 1,
"OutputSuggestions": [
3202,
3204,
3209,
3205,
3201,
4008,
4033,
4025,
4018,
4000,
4041,
408
],
"ChangeTypes": []
},
{
"CommandName": "NilDataType",
"Command": 7901,
Expand Down
Loading

0 comments on commit b5f04af

Please sign in to comment.