Miscellaneous
128 scripts available
Firetron's XTR
stableFinds the average, maximum, median, or minimum true range or percent true range. Supports specifying a fraction of the range to use. Supp...
[cmd] CheckOpenOrder
stable--Usage local oid = CheckOpenOrder(Load('oid', ''))
Credits to Bunka, CZ... and everyone who made this possible... Converts user input USD value to coin amount So you don't have to. Sudde...
This is an example script to show how to send text messages to external sources like (in this case) Slack. Please note: This script only...
[Snippet] [devHelper] Logger
stableHere it is; the humble hunchback of the debugger: LOGGER. Logger is a simple class object, which brings depth to debugging. You can foll...
Example: Orderbook reading
stableThis example shows how you can read the contents of the orderbooks. NOTE: Orderbook data is real-time data and can not be backtested, on...
Firetron's Median
stableFinds the middle value of a table of values. If there is an even number of elements, takes the average of the 2 middle values. Custom Co...
Firetron's InputDebugOptions
stableCreates a group of inputs for debug options: fee, logging, plotting, reporting, verbose, verbosityInterval. Custom Command Dependencies:...
[pshaiCmd] ArrayRemove2
stableSimple command to remove value(s) from the array. Usage testample: local testArr1 = {'a', 'a', 'b', 'c', 'a', 'b'} local testArr2 = {1, ...
Firetron's PlaceSpreadOrder
stableCreates a spread of orders. Custom Command Dependencies: None Test Script: if not Load('done', false) then local currentPrice = Curr...
Firetron's FractionGrab
stableGrabs a fractional range from an array, list, or table. Custom Command Dependencies: None Test code: if not Load('done', false) then ...
Command to easily throw in your scripts which plots the balance monitor Can be called without any settings, the defaults should work wit...
Firetron's GetKeltnerSpread
stableCreates a spread of prices based on Keltner channels. Custom Command Dependencies: Firetron’s XTR Test Code: local LogList = function (...
Firetron's Fib
stableReturns the Fibonacci number at the specified index. Test Code: if not Load('done', false) then for i = 0, 30 do local fib = CC_F...
Firetron's UpdateOnInterval
stableCalls a function on an interval, and remembers the previous result between the update intervals. Works the same as OptimizedForInterval/D...
A custom command you can easily add to any script to sync open positions with exchange on start for example. Tested working with Binance...
PercPriceMoveSHORT Added suggestions to use with PercPriceMoveSHORT: 2x Inputs: -For setting desired Percentage -To create a Logs true /...
Example: Last trades reading
stableThis example shows how you can read the contents of the orderbooks in HaasScript. NOTE: Last trades is real-time data and can not be bac...
[CMD]CheckPositionId
stableUsage local positionid = CC_CheckPositionId(Load('positionid', NewGuid())) --- Run bot code, do blah, make teh profitz Save('positionI...
Maximum Drawdown in a Custom Command format, made for educational purposes. The command uses GetBotProfit to get the peak and trough. NO...
This is an example script to show how to send text messages to external sources like (in this case) Twitter. Please note: This script on...
This is a command to easily control positions in unmanaged trading scripts and increment slots if needed. Simply load the command at th...
Firetron's ZeroPad
stablePads a number with zero to have the specified number of digits like 04.200