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...
This is an example script to show how remote signals can be read inside HaasScript and how to handle it for managed leverage trading.
Adds a custom report on your worst point of liquidation risk. Custom Command Dependencies: Firetron’s FormatDateTime Test Script: if no...
[pshaiCmd] HighSpeedPrices
stableHighSpeedPrices - Returns OHLCV data arrays with latest ticker data added. A custom command to keep you in the now. UPDATE: Added HL, HL...
This is an example script to show how remote signals can be read inside HaasScript and how to handle it for managed spot trading.
Written in HaasScript but taken from the original visual editor version here VPM3 Manage and fix positions from Haas Script Bots as per ...
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...
Adds a custom report on your open positions. Includes a sum of all open position profits. Custom Command Dependencies: Firetron’s Format...
Added screenshot of unspecified_price (default 0) closed with VPM ROI will be different.. Virtual Position Management for adjusting or cl...
Formats a number to be rounded and have the quote currency symbol. Custom Command Dependencies: Firetron’s QuoteDecimals
Firetron's CurrentVsEntry
stableIf 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...
This is an example script to show how remote signals can be produced inside HaasScript. Please note: This script only works in Version 4...
Firetron's TrueOnInterval
stableReturns true every interval and false in between intervals.
Scripting Ideas: For [back] testing MFE Maximum Favorable Excursion. [and bonus comand] VOLTT
stableAdd MFA to Max Draw Down/MAE for back testing/reports What does MFE mean? MFE stands for Maximum Favorable Excursion. MFE marks the h...
Firetron's CountDecimals
stableReturns the number of decimal places in a number.
Don't rememberz how I got this... "Great artists steal. They don't do homages." ---=-Quentin Tarantino
Updated version of VPM for V4 using buttons and can still be called from another script using old logic for multi market controller scrip...
When converting from PineScript to HaasScript, it's pretty common to find colors changing on some condition. This function imitates TV's...
A handy custom command for useful information in backtests and live bots! Information displayed via CustomReport()'s. Usage testample: l...
Different ways for handling arrays/tables in SE
Firetron's QuoteDecimals
stableReturns the number of decimal places supported by the QuoteCurrency. Custom Command Dependencies: Firetron’s CountDecimals
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...
Firetron's FormatDateTime
stableFormats a unix datetime number (to "YYYY-MM-DD at HH:MM" by default). Custom Command Dependencies: None Test Script: if not Load('done'...
Custom command that creates all Heikin-Ashi prices. And since loops can be slow, you can optimize and set the amount of data you want it ...