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...
[FEBE] ParseOrderType
stableNecessary command for FEBE which converts order types to numbers and back to enums. More information about FEBE: https://www.haasscripts...
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...
RMA (mod)
stableJust a mod to enable/disable plot
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...
Strooths Candle Indicator
stableScans price chart for defined list of known bullish/bearish candle patterns and their directions. The patterns were found on http://thep...
Experimental: OBV- Should be manually set for only Exit, Weight should equal: 1 Wave- SHould be set for Only Long, Weight should Equal:...
Firetron's Fib
stableReturns the Fibonacci number at the specified index. Test Code: if not Load('done', false) then for i = 0, 30 do local fib = CC_F...
PercPriceMoveSHORT Added suggestions to use with PercPriceMoveSHORT: 2x Inputs: -For setting desired Percentage -To create a Logs true /...
Fixed the Exit SMA issue by using weighted consensus signal rather than consensus signal. Small change in the signal settings necessary ...
RSI smoothed with MA Type, select SourcePrices with InputSourcePrice, Delay BuySignal.
This is special EMA with HMA cross works wonders on 21/8 settings. Try it out :)
"the trend is your friend" Rather than a mean-reverting strategy, I wanted something that goes all-in once (instead of doubling down on ...
[cmd] CheckOpenOrder
stable--Usage local oid = CheckOpenOrder(Load('oid', ''))
SWMA - Sine Weighted Moving Average - ported to HaasScript by Bunka - optimized by Pshai Copyright (c) 2018-present, Alex Orekhov (everg...
Example: Last trades reading
stableThis 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...
This snippet checks for open positions and reports the lowest 'x' number of them in a Custom Report. Useful for Dashboard reporting and B...
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...
[CMD]CheckPositionId
stableUsage local positionid = CC_CheckPositionId(Load('positionid', NewGuid())) --- Run bot code, do blah, make teh profitz Save('positionI...
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...
[Snippet] [devHelper] Logger
stableHere it is; the humble hunchback of the debugger: LOGGER. Logger is a simple class object, which brings depth to debugging. You can foll...
Firetron's FractionGrab
stableGrabs a fractional range from an array, list, or table. Custom Command Dependencies: None Test code: if not Load('done', false) then ...
Firetron's Median
stableFinds 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...