Miscellaneous

128 scripts available

Finds the middle value of a fractional portion of a table of values. Custom Command Dependencies: Firetron’s FractionGrab Firetron’s Med...

Firetron 👁 1,128 💬 0 Apr 2021

ArrayFilter command that works with numbers and text too. Example of use: -- build test arrays local array1 = {} -- will contain GUID v...

pshai 👁 1,127 💬 0 Aug 2022

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...

Strvinmarvin 👁 1,124 💬 0 Dec 2021

[CMD]GetColor

stable

A custom command for setting color in scripts which use multiple positions and is used in my mod of plot average enter price Default co...

Strooth 👁 1,122 💬 0 Mar 2021

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 ...

Strooth 👁 1,122 💬 0 Apr 2021

Another one for the rabbit hole, creating meta table like objects without the table commands. Use this framework to handle the recordin...

Strooth 👁 1,121 💬 0 Jul 2021

Gets the time of start to the time of finish of backtest for custom report on length. Usage CC_ElapsedTime(Time())

Strooth 👁 1,119 💬 0 Dec 2021

Any potential updates or changes can be found in HaasOnline Discord server. Here's my implementation for a switch-case system. Usage: ...

pshai 👁 1,115 💬 0 Feb 2024

Checks if the bot has any open positions.

Firetron 👁 1,109 💬 0 Aug 2020

Creates a spread of amounts that can be used in orders. Custom Command Dependencies: Firetron’s Fib

Firetron 👁 1,107 💬 0 Dec 2020

Gets the time of an event for custom reports. CC_EventTime(Time())

Strooth 👁 1,105 💬 0 Dec 2021

Sorts a table using the bubble sorting algorithm. Custom Command Dependencies: None Test Code: if not Load('done', false) then local...

Firetron 👁 1,104 💬 0 Mar 2021

Custom command to concatenate list values into a single string.

pshai 👁 1,099 💬 0 Apr 2021

The original High Speed Prices by Pshai - Mod by me to include bid, ask, avg high, avg low and some syntax changes.

Strooth 👁 1,098 💬 0 Nov 2021

For use where ArrayDistinct() is not available.

Strooth 👁 1,098 💬 0 Dec 2021

Creates a settings objects for SuperInput. This is required when using SuperInput.

pshai 👁 1,095 💬 0 Nov 2020

Convert 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...

Strooth 👁 1,075 💬 0 Nov 2021

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...

Strooth 👁 1,072 💬 0 Jul 2021

A handy custom command to (maybe) make it a little easier to place orders in VE.

pshai 👁 1,064 💬 0 Jan 2021

Last version optimised for v4 [[The (InputButtons used) are NOT compatible with V3.]] -before merging with virtual actual order interim...

Kobalt 👁 1,044 💬 1 Aug 2022

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...

smokyho 👁 1,011 💬 2 Jan 2021

Gets the order direction as a signal enum - signallong, siignalshort, signalexitlong, signalexitshort, signalbuy, signalsell Usage - l...

Strooth 👁 1,010 💬 0 Oct 2021

Converts a list of numbers to a list of strings. Example: local tests = 100 local t StartTimer() CC_ListToStringList(ClosePrices()) t ...

pshai 👁 1,006 💬 0 Apr 2021

https://www.haasscripts.com/t/firetrons-command-template/ further refine is welcome The color mapping should get some thought, maybe dy...

Kobalt 👁 1,004 💬 0 Aug 2022