Miscellaneous

128 scripts available

I'm linking and recommending this further refined SE version by strooth: https://www.haasscripts.com/t/cmd-vpm-haasscript-version/ Chan...

Kobalt 👁 2,933 💬 4 Dec 2020

This is an example script to show how remote signals can be read inside HaasScript and how to handle it for managed leverage trading.

Stephan 👁 2,396 💬 1 Oct 2020

Adds a custom report on your worst point of liquidation risk. Custom Command Dependencies: Firetron’s FormatDateTime Test Script: if no...

Firetron 👁 2,201 💬 0 Jul 2020

HighSpeedPrices - Returns OHLCV data arrays with latest ticker data added. A custom command to keep you in the now. UPDATE: Added HL, HL...

pshai 👁 2,185 💬 0 Jun 2020

This is an example script to show how remote signals can be read inside HaasScript and how to handle it for managed spot trading.

Stephan 👁 2,165 💬 1 Oct 2020

Written in HaasScript but taken from the original visual editor version here VPM3 Manage and fix positions from Haas Script Bots as per ...

Strooth 👁 2,106 💬 3 May 2021

Adds a custom report on your open positions. Includes a sum of all open position profits. Custom Command Dependencies: Firetron’s Format...

Firetron 👁 2,064 💬 0 Jul 2020

This is an example script to show how to send text messages to external sources like (in this case) Telegram. Please note: This script o...

Stephan 👁 2,049 💬 4 Oct 2020

Added screenshot of unspecified_price (default 0) closed with VPM ROI will be different.. Virtual Position Management for adjusting or cl...

Kobalt 👁 2,043 💬 3 Sep 2020

Formats a number to be rounded and have the quote currency symbol. Custom Command Dependencies: Firetron’s QuoteDecimals

Firetron 👁 2,043 💬 0 Jul 2020

If long, percent profit of current bid vs entry price. If short, percent profit of current ask vs entry price. This is not the same as th...

Firetron 👁 1,998 💬 0 Aug 2020

This is an example script to show how remote signals can be produced inside HaasScript. Please note: This script only works in Version 4...

Stephan 👁 1,937 💬 0 Oct 2020

Returns true every interval and false in between intervals.

Firetron 👁 1,876 💬 1 Aug 2020

Add MFA to Max Draw Down/MAE for back testing/reports What does MFE mean? MFE stands for Maximum Favorable Excursion. MFE marks the h...

Kobalt 👁 1,862 💬 0 Nov 2022

Don't rememberz how I got this... "Great artists steal. They don't do homages." ---=-Quentin Tarantino

Kobalt 👁 1,813 💬 4 Oct 2020

Returns the number of decimal places in a number.

Firetron 👁 1,802 💬 2 Aug 2020

Updated version of VPM for V4 using buttons and can still be called from another script using old logic for multi market controller scrip...

Strooth 👁 1,734 💬 1 Nov 2021

When converting from PineScript to HaasScript, it's pretty common to find colors changing on some condition. This function imitates TV's...

ProfGhibli 👁 1,729 💬 1 Dec 2021

A handy custom command for useful information in backtests and live bots! Information displayed via CustomReport()'s. Usage testample: l...

pshai 👁 1,726 💬 0 Jun 2020

Returns the number of decimal places supported by the QuoteCurrency. Custom Command Dependencies: Firetron’s CountDecimals

Firetron 👁 1,719 💬 1 Aug 2020

Formats a unix datetime number (to "YYYY-MM-DD at HH:MM" by default). Custom Command Dependencies: None Test Script: if not Load('done'...

Firetron 👁 1,689 💬 0 Jul 2020

Update: see at the bottom for important note from pshai about using memory in CCs! I wanted to port some open-source scripts from Tradi...

ProfGhibli 👁 1,676 💬 0 Oct 2022

Formats a number to be rounded and have the percent symbol. Custom Command Dependencies: None Test code: if not Load('done', false) the...

Firetron 👁 1,667 💬 0 Jul 2020

Different ways for handling arrays/tables in SE

pshai 👁 1,660 💬 3 Nov 2020