Browse Scripts

399 scripts available

[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,669 💬 2 May 2021

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

pshai 👁 1,668 💬 0 May 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,667 💬 1 Apr 2020

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

Kobalt 👁 1,663 💬 0 Oct 2022

Visual Script version of Volume-Weighted Moving Average custom command. Parameters: * source : Price source * volume : Volume source...

pshai 👁 1,659 💬 0 Oct 2019

For the main description see the original indicator Strooths Candle Indicator This one is modified so you can feed it a list as require...

Strooth 👁 1,652 💬 0 May 2021

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

pshai 👁 1,647 💬 0 Feb 2021

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,645 💬 0 Sep 2023

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

Rob 👁 1,641 💬 1 Jul 2021

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

pshai 👁 1,640 💬 1 Dec 2021

A custom command to return the seconds until candle close.

pshai 👁 1,640 💬 0 Oct 2020

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,628 💬 1 Apr 2020

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

Strvinmarvin 👁 1,623 💬 0 Dec 2021

Recreation of TTR – "Trending True Range" – original by alexgrover(TV) - description also Display a smoothed true range during...

Bunka 👁 1,623 💬 1 Jul 2020

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

pshai 👁 1,622 💬 0 Dec 2021

The DCA Spot Spaghetti Bots derives it’s name from the quality of my Haas Visual Code. It looks like tasty spaghetti to me. This is the S...

galselhard 👁 1,621 💬 1 Nov 2023

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

Firetron 👁 1,620 💬 1 Jul 2020

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

r4stl1n 👁 1,608 💬 2 Mar 2022

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

Kobalt 👁 1,603 💬 3 Sep 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,601 💬 0 Oct 2020

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,598 💬 0 Apr 2021

RMA (mod)

stable

Just a mod to enable/disable plot

Strooth 👁 1,593 💬 0 Jul 2022

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

Strooth 👁 1,585 💬 0 Nov 2021

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