Browse Scripts

399 scripts available

This is a short only strategy that does really well on large time frames. The defaults work well on BTC_USD on the 1 hour time frame. I...

r4stl1n 👁 1,455 💬 3 Mar 2022

per request whipped up this snippet, 'might change appearance on rare random occurances depeding if on offset and volatile, but perfectly...

Kobalt 👁 1,451 💬 0 Oct 2022

An indicator for signaling on pivot points - fib, cam, woodie, td and also mashed up my own custom one using a blend of them all and thre...

Strooth 👁 1,450 💬 0 Jun 2021

A memory for custom indicator calculations and other things that might cause "repaint of history". A good example of this "repaint" issu...

pshai 👁 1,449 💬 0 Dec 2021

Conversion of the LazyBear's VMA indicator: https://www.tradingview.com/script/6Ix0E5Yr-Variable-Moving-Average-LazyBear/ Command takes ...

pshai 👁 1,441 💬 0 Feb 2021

[CMD] Sleep

stable

Simple command to sleep/pause scripts and includes a switch to disable in backtest. To sleep for 10 seconds for example CC_Sleep(10) ...

Strooth 👁 1,434 💬 2 May 2021

[FEBE] Orders

stable

Order settings command for FEBE. More information about FEBE: https://www.haasscripts.com/blog/guides/first-ever-bot-engine-febe-for-haa...

pshai 👁 1,432 💬 0 Oct 2020

RSI Ssa v10

alpha

A little idea for a scalper, feel free to expand on this idea :) Updated: - unmanged trading - upper threshold added - entry order offset

dmaclennan 👁 1,429 💬 0 Sep 2023

Simple moving vwap window to use for trend validation Example Usage: https://www.haasscripts.com/t/simple-vwap-window-strategy/

r4stl1n 👁 1,427 💬 2 Mar 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,422 💬 1 Apr 2020

Formats a boolean to a string so it can be logged.

Firetron 👁 1,418 💬 1 Jul 2020

Added some fun stuff signal and KST, KSTsignal outputs, several inputs, disabled included inputs "Even if it's no sure thing, it's sure ...

Kobalt 👁 1,408 💬 0 Jul 2021

SuperSmoother ported from a TradingView script. Usage: local hlc = HLCPrices() local mean_line = OptimizedForInterval(0, || CC_SuperSmo...

pshai 👁 1,406 💬 0 May 2022

early test will further look into Firetron's OrderOptions this needs to be cleaner.. But Trailing, logging, plotting and fwd compatibi...

Kobalt 👁 1,400 💬 0 Jul 2022

This example shows how you can read the contents of the orderbooks. NOTE: Orderbook data is real-time data and can not be backtested, on...

Stephan 👁 1,400 💬 0 Oct 2020

Creates a group of inputs for debug options: fee, logging, plotting, reporting, verbose, verbosityInterval. Custom Command Dependencies:...

Firetron 👁 1,399 💬 0 Nov 2020

Simple command to remove value(s) from the array. Usage testample: local testArr1 = {'a', 'a', 'b', 'c', 'a', 'b'} local testArr2 = {1, ...

pshai 👁 1,399 💬 0 May 2020

Creates a spread of orders. Custom Command Dependencies: None Test Script: if not Load('done', false) then local currentPrice = Curr...

Firetron 👁 1,397 💬 0 Oct 2020

Positive Volume Index indicator - PVI The theory behind the indexes is as follows: On days of increasing volume, you can expect prices ...

Bunka 👁 1,396 💬 0 Mar 2022

Had to have a value instead if a signal for a relatively shitty indicator, use this one both or neither to err on the side of caution... ...

Kobalt 👁 1,396 💬 0 Jul 2021

Finds the average, maximum, median, or minimum true range or percent true range. Supports specifying a fraction of the range to use. Supp...

Firetron 👁 1,394 💬 0 Apr 2021

Template for using https://www.haasscripts.com/t/bot-engine-strooth-version-febe-mod/

Strooth 👁 1,393 💬 1 Jun 2021

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

pshai 👁 1,387 💬 0 Oct 2020

— Inverse Fisher Transfor on RSI indicator — — About INVERSE FISHER TRANSFORM: — — The purpose of technical indicators is to help with yo...

GnAsHeR 👁 1,385 💬 0 Jul 2021