Browse Scripts

399 scripts available

PlotReference

stable

Plots a reference price dark grey [dotted]. behind main market or 50:50 horizontal price charts. (50:50 split is now false by default) [D...

Kobalt 👁 1,294 💬 0 Oct 2020

Modification of Bunka's port of AlphaTrend by by Kivanc Ozbilgic. https://www.haasscripts.com/t/alphatrend-indicator/ Features: 1. The o...

smokyho 👁 1,292 💬 0 Jan 2024

Creates a group of inputs for Firetron's GetAmountSpread. Custom Command Dependencies: None Test code: if not Load('done', false) then ...

Firetron 👁 1,284 💬 0 Dec 2020

A simple command to get bots used position margin information.

pshai 👁 1,283 💬 2 May 2022

[cmd] Unpack

stable

Should be part of LUA as standard however due to sandboxing it appears unavailable - usually comes from the C# side but recreated as comm...

Strooth 👁 1,279 💬 0 Nov 2021

TWAP script with user defined intervals - first interval is to draw/plot/record TWAP values, second interval is the TWAP reset.

ajd1107 👁 1,274 💬 0 Nov 2022

Formats a number to have two digits like 04.

Firetron 👁 1,274 💬 0 Jul 2020

A template to help you format your command code like the Firetron.

Firetron 👁 1,272 💬 1 Oct 2020

While the Hull Ribbon is great, and 2 Ribbons are better, at the end of the day it's still a moving average with no consideration for Vol...

ajd1107 👁 1,269 💬 0 Jul 2022

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

Firetron 👁 1,268 💬 0 Mar 2021

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,265 💬 0 Dec 2021

This command plots a line that is interrupted, when you provide no values. It might be usefull, for instance, when you have a trailing s...

romdisc 👁 1,264 💬 1 Jul 2022

[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,264 💬 0 Mar 2021

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

pshai 👁 1,262 💬 0 Aug 2022

Dependency to revised tripple MA bot by Ratimbum

Rob 👁 1,262 💬 0 Jul 2021

A leveraged scalper that uses Smoothed RSI (Special thanks to King-Pshay) to exit positions and simple MA cross to enter long. This bot d...

Rob 👁 1,260 💬 0 Jul 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,252 💬 0 Apr 2021

Hey fellas! This CC is based on the example I shared here: https://www.haasscripts.com/t/example-position-sizing-based-on-pre-determined...

pshai 👁 1,246 💬 1 Apr 2024

Creates a spread of values that can be used for order amounts or prices. Custom Command Dependencies: Firetron’s Fib Test code: if not ...

Firetron 👁 1,241 💬 0 Feb 2021

Custom command for Chaikin Money Flow indicator

pshai 👁 1,237 💬 0 Apr 2021

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

Firetron 👁 1,232 💬 0 Dec 2020

Hey folks! In search of dynamic and counter-intuitive (but smart) trading strategies, I happened to create this. It's a bi!@$ to finetun...

pshai 👁 1,230 💬 0 Mar 2024

This script implements a comprehensive trading safety mechanism that includes trailing stops, fallback protection, and break-even safety ...

tedo 👁 1,228 💬 0 Jun 2024

Custom command to concatenate list values into a single string.

pshai 👁 1,228 💬 0 Apr 2021