You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- @returnboolean Returns true if the input has any elements or if 'value' is defined when any of the elements matches the value. 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
--- @returnboolean Returns true if the input has any elements or if 'value' is defined when any of the elements matches the value. 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
--- Returns a new list with only unique elements. In other words; removes all duplicates.
40
40
--- @paraminputany Source data.
41
-
--- @returnany Returns the list.
41
+
--- @returnany Returns the unique values of the input.
42
42
functionArrayDistinct(input) end
43
43
44
44
--- The optional parameters of ArrayFilter.
@@ -106,12 +106,12 @@ function ArrayRemove(input, index) end
106
106
--- @paraminputany Source data.
107
107
--- @paramoldValueany The old value.
108
108
--- @paramnewValueany The new value.
109
-
--- @returnany Returns true if.
109
+
--- @returnany The input with replaced values.
110
110
functionArrayReplace(input, oldValue, newValue) end
111
111
112
112
--- Remove an item from the beginning of an array.
113
113
--- @paraminputany Source data.
114
-
--- @returnany Returns the input array.
114
+
--- @returnany The input without the first value
115
115
functionArrayShift(input) end
116
116
117
117
--- The optional parameters of ArraySort.
@@ -141,7 +141,7 @@ function ArraySum(input, key) end
141
141
--- Adds an element to the beginning of an array.
142
142
--- @paraminputany Source data.
143
143
--- @paramelementany Element which to add to the array.
144
-
--- @returnany Returns the input array.
144
+
--- @returnany The input with the element added in front of the array
145
145
functionArrayUnshift(input, element) end
146
146
147
147
--- The optional parameters of Count.
@@ -192,13 +192,13 @@ function Range(input, offset, count) end
192
192
--- @shape OptionalParametersOf_SourceManager
193
193
--- @fieldintervalnumber | nil The interval on which the data is based. Default is the selected main interval.
194
194
--- @fieldcapnumber | nil Maximum size of the collection.
195
-
--- @fieldinitialValuesnumber[] | nil
195
+
--- @fieldinitialValuesnumber[] | nil The initial values when source in initialized
196
196
197
197
--- Stores numeric values in a collection. Only adds the new value when the candle on the specified interval closed. This results in interval based data.
198
198
--- @paramnewValuenumber This value will be added in front of the collection when the candle closed.
199
199
--- @paramintervalnumber Optional - The interval on which the data is based. Default is the selected main interval. Suggestions: InputInterval, CurrentInterval
200
200
--- @paramcapnumber Optional - Maximum size of the collection.
201
-
--- @paraminitialValuesnumber[] Optional -
201
+
--- @paraminitialValuesnumber[] Optional - The initial values when source in initialized
0 commit comments