Miscellaneous
128 scripts available
[CMD]GetColor
stableA custom command for setting color in scripts which use multiple positions and is used in my mod of plot average enter price Default co...
This is an example of how to use the loop method 'for key in pairs' on a Lua Array, as well as how to construct an Array manually and how...
[pshaiCmd] ArrayFilter2
stableArrayFilter command that works with numbers and text too. Example of use: -- build test arrays local array1 = {} -- will contain GUID v...
Rework of the Plot exposure command, which is a bit easier on the eye and to understand, at least for me anyway. Hope others find useful ...
Firetron's GetSpread
stableCreates a spread of values that can be used for order amounts or prices. Custom Command Dependencies: Firetron’s Fib Test code: if not ...
Firetron's GetAmountSpread
stableCreates a spread of amounts that can be used in orders. Custom Command Dependencies: Firetron’s Fib
[pshaiCmd] StringJoinList
stableCustom command to concatenate list values into a single string.
Firetron's InputPriceSpread
stableCreates a group of inputs for Firetron's GetPriceSpread. Custom Command Dependencies: None Test Script: if not Load('done', false) then...
Firetron's BubbleSort
stableSorts a table using the bubble sorting algorithm. Custom Command Dependencies: None Test Code: if not Load('done', false) then local...
Another one for the rabbit hole, creating meta table like objects without the table commands. Use this framework to handle the recordin...
[cmd] ElapsedTime
stableGets the time of start to the time of finish of backtest for custom report on length. Usage CC_ElapsedTime(Time())
Get Throttled Templated
alphaPshai's Get Throttled in Firetron's command template. Added index keys for things to make your charting life easier. very much still in d...
[pshaiCmd] PlaceAnyOrder
stableA handy custom command to (maybe) make it a little easier to place orders in VE.
The original High Speed Prices by Pshai - Mod by me to include bid, ask, avg high, avg low and some syntax changes.
[cmd] EventTime
stableGets the time of an event for custom reports. CC_EventTime(Time())
Last version optimised for v4 [[The (InputButtons used) are NOT compatible with V3.]] -before merging with virtual actual order interim...
[cmd] ListDistinct
stableFor use where ArrayDistinct() is not available.
[cmd] ListToString
stableConvert List to String for Logging usually Usage - CC_ListToString({['a']={1,2,3,4},'d','g',1,4,8,3,'3','4',{1}, ok="AverageOrderbookS...
This simple snippet will help you when back testing your script/setting for SMM or any other bot that has size reduction setting. Now you...
I've come over a problem, I wanted to solve, that has to do with reaching deadlines in the future, like canceling a position or something...
Creates a settings objects for SuperInput. This is required when using SuperInput.
Here's one for the advanced scripters who will love this when they find it. Creating objects from an instance of a meta-class without th...
Example - Return multiple values from a function in SE
[pshaiCmd] ListToStringList
stableConverts a list of numbers to a list of strings. Example: local tests = 100 local t StartTimer() CC_ListToStringList(ClosePrices()) t ...