Browse Scripts

399 scripts available

Logs a rule (horizontal line).

Firetron 👁 1,377 💬 0 Aug 2020

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

pshai 👁 1,375 💬 1 Dec 2021

Necessary command for FEBE which converts order types to numbers and back to enums. More information about FEBE: https://www.haasscripts...

pshai 👁 1,374 💬 0 Oct 2020

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,373 💬 0 Oct 2020

RMA (mod)

stable

Just a mod to enable/disable plot

Strooth 👁 1,371 💬 0 Jul 2022

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,370 💬 1 Apr 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,368 💬 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,365 💬 3 Jul 2021

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,363 💬 0 Nov 2020

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

Kobalt 👁 1,352 💬 0 Jul 2020

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

Rob 👁 1,351 💬 1 Jul 2021

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

Kobalt 👁 1,350 💬 3 Sep 2022

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

Rob 👁 1,347 💬 0 Dec 2021

"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,343 💬 0 Jun 2023

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

Strooth 👁 1,342 💬 0 Nov 2021

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

Bunka 👁 1,339 💬 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,331 💬 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,328 💬 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,326 💬 0 Jul 2021

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

Strooth 👁 1,324 💬 1 Nov 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,321 💬 0 Nov 2020

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,317 💬 0 May 2021

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

Firetron 👁 1,316 💬 0 Apr 2021

Finds 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 👁 1,315 💬 1 Mar 2021