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...
[pshaiCmd] ArrayFilter2
stableArrayFilter command that works with numbers and text too. Example of use: -- build test arrays local array1 = {} -- will contain GUID v...
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...
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 ...
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 InputPriceSpread
stableCreates a group of inputs for Firetron's GetPriceSpread. Custom Command Dependencies: None Test Script: if not Load('done', false) then...
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.
Another one for the rabbit hole, creating meta table like objects without the table commands. Use this framework to handle the recordin...
Firetron's BubbleSort
stableSorts a table using the bubble sorting algorithm. Custom Command Dependencies: None Test Code: if not Load('done', false) then local...
[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...
The original High Speed Prices by Pshai - Mod by me to include bid, ask, avg high, avg low and some syntax changes.
[cmd] ListDistinct
stableFor use where ArrayDistinct() is not available.
[cmd] EventTime
stableGets the time of an event for custom reports. CC_EventTime(Time())
[pshaiCmd] PlaceAnyOrder
stableA handy custom command to (maybe) make it a little easier to place orders in VE.
Last version optimised for v4 [[The (InputButtons used) are NOT compatible with V3.]] -before merging with virtual actual order interim...
[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...
Creates a settings objects for SuperInput. This is required when using SuperInput.
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...
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...
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...
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 ...