Browse Scripts

399 scripts available

Adds a custom report on your maximum margin used.

Strvinmarvin 👁 1,443 💬 0 Jan 2023

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,441 💬 3 Mar 2022

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

pshai 👁 1,438 💬 0 Dec 2021

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,433 💬 0 Jun 2021

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

pshai 👁 1,429 💬 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,425 💬 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,421 💬 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,419 💬 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,419 💬 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,412 💬 1 Apr 2020

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

Firetron 👁 1,406 💬 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,398 💬 0 Jul 2021

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

pshai 👁 1,397 💬 0 May 2022

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

Firetron 👁 1,390 💬 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,390 💬 0 May 2020

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

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

Kobalt 👁 1,388 💬 0 Jul 2022

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

Firetron 👁 1,388 💬 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,387 💬 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,387 💬 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,387 💬 0 Apr 2021

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

Strooth 👁 1,382 💬 1 Jun 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,378 💬 0 Mar 2020

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

GnAsHeR 👁 1,377 💬 0 Jul 2021