Browse Scripts

399 scripts available

Volume Adjusted Moving Average "Time-based moving averages make the assumption that all trading days are equal. Important trading days a...

pshai 👁 1,384 💬 1 Dec 2021

Delayed Double HullMA (DDHMA) and EasyHullMA Used the pre-Easy separate blocks to create the cc for more detail Set default index to 0 Ad...

Kobalt 👁 1,383 💬 0 Mar 2020

RMA (mod)

stable

Just a mod to enable/disable plot

Strooth 👁 1,382 💬 0 Jul 2022

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

Stephan 👁 1,382 💬 0 Oct 2020

Logs a rule (horizontal line).

Firetron 👁 1,382 💬 0 Aug 2020

Scans price chart for defined list of known bullish/bearish candle patterns and their directions. The patterns were found on http://thep...

Strooth 👁 1,381 💬 0 May 2021

Experimental: OBV- Should be manually set for only Exit, Weight should equal: 1 Wave- SHould be set for Only Long, Weight should Equal:...

Rob 👁 1,378 💬 3 Jul 2021

Add this code to your existing script to report max draw down of positions after a back test completes. You will have to supply the tradi...

Firetron 👁 1,377 💬 1 Apr 2020

Returns 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 👁 1,374 💬 0 Nov 2020

Fixed the Exit SMA issue by using weighted consensus signal rather than consensus signal. Small change in the signal settings necessary ...

Rob 👁 1,363 💬 1 Jul 2021

PercPriceMoveSHORT Added suggestions to use with PercPriceMoveSHORT: 2x Inputs: -For setting desired Percentage -To create a Logs true /...

Kobalt 👁 1,359 💬 0 Jul 2020

--Usage local oid = CheckOpenOrder(Load('oid', ''))

Strooth 👁 1,358 💬 0 Nov 2021

RSI smoothed with MA Type, select SourcePrices with InputSourcePrice, Delay BuySignal.

Kobalt 👁 1,356 💬 3 Sep 2022

"the trend is your friend" Rather than a mean-reverting strategy, I wanted something that goes all-in once (instead of doubling down on ...

dmaclennan 👁 1,355 💬 0 Jun 2023

This is special EMA with HMA cross works wonders on 21/8 settings. Try it out :)

Rob 👁 1,354 💬 0 Dec 2021

SWMA - Sine Weighted Moving Average - ported to HaasScript by Bunka - optimized by Pshai Copyright (c) 2018-present, Alex Orekhov (everg...

Bunka 👁 1,349 💬 1 Dec 2021

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

Stephan 👁 1,339 💬 0 Oct 2020

This snippet checks for open positions and reports the lowest 'x' number of them in a Custom Report. Useful for Dashboard reporting and B...

Strvinmarvin 👁 1,338 💬 0 Dec 2021

A mod of FireTron's DCADipper script. Added a minimum price delta option, so the bot will only buy if the price has moved more than the m...

AVWcTL 👁 1,338 💬 0 Jul 2021

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

Stephan 👁 1,337 💬 0 Nov 2020

Usage local positionid = CC_CheckPositionId(Load('positionid', NewGuid())) --- Run bot code, do blah, make teh profitz Save('positionI...

Strooth 👁 1,330 💬 1 Nov 2021

Here it is; the humble hunchback of the debugger: LOGGER. Logger is a simple class object, which brings depth to debugging. You can foll...

pshai 👁 1,330 💬 0 May 2021

Pads a number with zero to have the specified number of digits like 04.200

Firetron 👁 1,325 💬 0 Aug 2020

Grabs a fractional range from an array, list, or table. Custom Command Dependencies: None Test code: if not Load('done', false) then ...

Firetron 👁 1,324 💬 0 Apr 2021