HaasOnline’s purpose is to help more people gain control of their financial freedom as the new age of finance evolves. As a trusted partner to investors and a leading provider of financial technology, our customers look to us for the solutions they need when designing and executing on their most important trading strategies.
-- [HaasOnline] Flash Crash Bot -- Author: pshai EnableHighSpeedUpdates(true) HideOrderSettings() HideTradeAmountSettings() --=================================================================== -- == Miscellaneous Usefulness -- deep clone an object function clone(original) local copy = {} for k, v in pairs(original) do if GetType(v) == A...
The FlashCrashBot recreated in HaasScript is here! Ugh.. Almost 1900 lines of code! It was a challenge to create this bot, I can tell you that... This bot differs from the original Custom Bot version, as it contains a bit more safeties, a StartControl and…
-- Modified version of Phsai's amazing Simple Market Maker that intended -- ONLY FOR BINANCE FUTURES USDT/COIN HEDGE MODE ENABLED -- -- Consider donating to support our work! -- Phsai -- BTC : 1MTEdma4LgdN2hSadRppeZ6PxsyXQNuxS2 -- USDT: 0x2f052efde92ded10e05e00277f4a5cdfd9c280ca -- Smokyho -- BTC : 35KY1GPFtxKoJ6Bzri6sLYQPcmGZhHfRac -- USDT: 0x7720A90d0D1973eFcc258b9145...
This is a modified version of Phsai's amazing Simple Market Maker that intended ONLY FOR BINANCE FUTURES USDT/COIN & BYBIT FUTURES USDT with HEDGE MODE ENABLED with dynamic maximum open position and slot size. *Attention on Bybit; if you get order rejected that could be…
NobwRAGmBcCMAcAmADAGjATRgFm2sA6jPgBLHoDiArgJYAmMYA1gIYBmARgF4AqAdgGMAbAAUALjzoBbAM4BWAJ4cAonwAiYdDwUAHAKYwA7MmQBmdAGEA9lKks+dAHIspB6GB4AnFnT0AhKzFrPjEWGj49T00wYIiBMSso6HBqekYARQx0mU8ZAA9DHkQhAEE2CAApAC0AMRIAGSoiSys+OLEaVpkYYABddBEWb1cxSJhwZ1dGPTy9ASpR6O19GHMwAEkZACU9AEdaTz0GaDYWABsZPXRNknpfPhhTi6uNmRqaPTPjp8v0ErOzlYAO6OKgAx7nX5gNR6GQCTw0HQdVqMaIAZSoAHNMbDkQ9oMBTIhYIhUETYGgiWYySghDTYLAyaYTDTkKSqXJW...
[kob] HB 3.0: Ichimoku, MACD, VolumeRSI , CCI, - Used available cc and all the Easy ones. It's profitable right away so no need to look for settings...
-- [pshaiBot] Triangle-Arbitrage, PROOF-OF-CONCEPT -- Author: pshai --[[ -- WARNING, PLEASE READ -- This bot executes trades based on estimations and on the assumption that prices do not change when orders are sent out! Please do not use this bot for actual trading, unless you want to prove to yourself that this type of trading IS NOT profitable! ]] EnableHighSpe...
Hey fellas! Here is an actual trading tri-arb bot. However, I don't have much else to say than this: -- WARNING, PLEASE READ -- This bot executes trades based on estimations and on the assumption that prices do not change when orders are sent out!…
--If you would like to buy me a cup of coffee or diamond: --ENS: smokyho.eth EnableHighSpeedUpdates() HideTradeAmountSettings() -- Inputfields InputGroupHeader('Bot Settings') local startingBalance = Input('Starting Balance '..ProfitLabel(), 0) local startingAmount = Input('Starting exposure '..AmountLabel(), 1) local amountFactor = Input('Trade amount facto...
My modification for Haasonline's original Zone Recovery Bot for HEDGE trading mode. The bot use balance ratio as stop loss and not position size like the original bot. "Closing all positions when working balance (total used margin - total unrealized profit) / bot balance (starting…
--[[ MK4.2.2 If you would like to buy me a cup of coffee or diamond ENS: smokyho.eth --]] EnableHighSpeedUpdates(true) HideOrderSettings() HideTradeAmountSettings() --INPUTS InputGroupHeader('Trade Settings') local mainInterval = CurrentInterval() local okLong = Input('Long Entry', false, 'Allow bot to open Long') local okProfitL = Input('Long Exit', fa...
Hi guys...thank you for everyone who use my previous bots and everyone who inspired me with their snippets and sharing their knowledge in DIscord. So..version 4 now. The basic trading risk management is the same as MK3. Still using balance risk to determine the order…
-- [pshaiTool] Buy & Sell buttons -- Author: pshai if not init then EnableHighSpeedUpdates(true) HideTradeAmountSettings() HideOrderSettings() order_size_types = { 'Base', 'Quote', '% of Total Wallet', '% of Available Wallet', } lpid = NewGuid() spid = NewGuid() init = true end local order_size = Input('Ord...
From GPT: The [pshaiTool] Buy & Sell buttons script is an advanced trading tool designed to streamline the process of executing buy and sell orders directly from a trading platform interface. Created by pshai, this tool enhances user experience by providing a simplified, high-speed method…
-- Potentially very counter-intuitive trading strategy -- Author: pshai ma_len = Input('MA Length', 13) ma_type = InputMaTypes('MA Type', EmaType) bb_len = Input('BB Length', 3) bb_dev = Input('BB Deviation', 2) bb_type = InputMaTypes('BB Type', EmaType) bw_thres = Input('BBand Width Threshold %', 0.7) / 100 cci_len = Input('CCI Length', 50) cci_br = Input('CCI Base Range', 100) cci_ar...
Hey folks! In search of dynamic and counter-intuitive (but smart) trading strategies, I happened to create this. It's a bi!@$ to finetune... But it looks good on the charts. :pepeshrug: Let me know if you want to see a full bot using this strategy! ~May…
DefineCommand('VPCI_Signal', 'Signal generation using Volume Price Confirmation Indicator (VPCI) with Plots and Highlight Breaches') -- Define parameters and inputs local name = DefineParameter(StringType, 'name', 'Unique name of the indicator.', false, 'VPCI_Indicator', 'Text') local chartIndex = DefineParameter(NumberType, 'chartIndex', 'The index on which to chart', false, 6, 'Number') ...
Signal generation using Volume Price Confirmation Indicator (VPCI) with Plots and Highlight Breaches' Developed by Buff Dormeier, VPCI won 2007 Charles H Dow award by the MTA. VPCI plots the relationship between price trend and the volume, as either being in a state of confirmation…
DefineCommand("GetOrderbookImpact", "Calculates the impact on orderbook based on trade amount, returns the price impact in percentages.") local tradeAmount = DefineParameter(NumberType, 'tradeAmount', 'The trade amount to calculate with. Default is TradeAmount()', false, TradeAmount(), 'TradeAmount, MaxLongAmount, MaxShortAmount, LongAmount, ShortAmount') local isLong = DefineParameter(Boolean...
Found another one... Old script, never got published anywhere iinm. The command simply "Calculates the impact on orderbook based on trade amount, returns the price impact in percentages." Hope you find good use for it! ~pshai
NobwRAGmBcBsAsAGANGAmjATJlYDqMuAEoagOICuAlgCYz7wCMATgFIDmRAdgFYByXAMYAjAMoBOAEIBZGgGsAZgGcwqACoBPAA4BTGI0SJGqAMIB7ALYWAhlxp9rFvdDB8dANx3MAogA8qAC54gQAWADJmSiqmZlxcOoIBZsww4JS09GHwcgDSACKi1gCq7ADuEACOeewA8iZKAKwmsBSqYOZxCQFUsSrQwAC6qAAK1syOOgFeqa4T9Dq+CRRTbZq6MADMqACSSgBKOhXUzDp00ArWADZKOjtKRLQ0OlwwF9e3YLsAYlQ6l2dvG6oACCl0uZlKfAoYNeVyBYDyOiUgmYVC03Vi9Daogo7HYSIxL36G0wjEwyBJBgpOC2JMQsGpjGMGw2hmpiHJd...
StopLossCooldown OvercomeFeeCosts NoLoss set 0 what you don't use.
NobwRAGmBcBMAMAaMBNGBGByDqMlgAk9kBxAVwEsATGMAIQBsUAHAFQEUBJAaQAsqGAdgBiARwBa2XhXEBnWWGSsAnswCmMAGzx0yAMIB7ALZGAhgDsqAOVNGN0MABE1AMwrm1hkxZr6D5jwBjABcDACcYcHJqWl4CPW4CNVgAdwB5SwAvACMAVlMAK3Ng81MGRTBDALUQin8FaGAAXWQABVMw2zVgtQjocBs7WjUADxqyHoqVdRgAZmROWQAlNVFKMLUaaBcy2TUF2QJqKjVzGB2GPYPhCjUGLYursABBBgYDFKsyN/Pd/ac1LJAmEKMxgnUzg4KgBlMgAczhgPB/hgwFmsEwiHR6CQ6Pg8zxmixGN0s1m8FxCFgxPguRpAE4aQAWRBMgAc+NZH...
InsuredMH: StopLossCooldown + OvercomeDoubleFeeCosts
-- [pshaiCmd] Trailing Arm Stop-Loss (TASL) ---- TrailBlaze Author: Giankam --- modified TrailBlazeArmStopLoss by @Criptics DefineCommand('TrailBlazeArmStopLoss', 'Educational TASL') InputGroupHeader('TBA_StopLoss Settings ') local arm = DefineParameter(NumberType, 'arm', 'Activation distance in percentage. Default is 0.2%.', false, Input('Arm', 1.5), 'Number') local atrLength = Defin...
TrailBlazeArm Stop-Loss (TBASL) Overview The TrailBlazeArm Stop-Loss (TBASL) is an advanced trading script designed to help traders protect their positions by dynamically adjusting stop-loss levels based on market conditions. This script, originally authored by Giankam and modified by @Criptics, combines several market indicators to calculate…
-- Author: tedo -- SuperTrend Trailing Stop-Loss with Enhanced Features (Integration of Trail_Blaze) DefineCommand('STTSLXL', 'SuperTrend Trailing Stop-Loss Enhanced EXTRA') -- Parameters local atr_len = DefineParameter(NumberType, 'atr_len', 'ATR Period length', true, 20) local atr_mult = DefineParameter(NumberType, 'atr_mult', 'ATR Multiplier', true, 2) local interval = DefineParameter(N...
This script represents a dynamic approach to managing trailing stop-loss orders in trading. It is a culmination of strategic methodologies originally inspired by "pshai's" SuperTrend Stop-Loss strategy, with an integration of the "Trail Blaze" function from "Giankam". How It Works Dynamic Trailing Stop-Loss Calculation: At…
DefineCommand("PTQpamt", "ProfitTrailer Quiet, Plotting, ROI, pamt, NO Inputs, 0, 0") local trailStartPrc = DefineParameter(NumberType, "trailStartPrc", "Profit level (as percentage) where the trailing starts.", true, 12, "Input") local trailDistPrc = DefineParameter(NumberType, "trailDistPrc", "Trailing distance (as percentage) from the highest recorded profit.", true, 3, "Input") local tra...
custom ProfitTrailing to log, log verbose, plot start, if logging only when position is not closed. dependency in:
-- Switch-case implementation for HaasScript -- Author: pshai function switch(args) local t = args.select local rf = args.run_funcs or false for c, r in pairs(args.cases) do if t == c then if rf and GetType(r) == FunctionDataType then return r() end return r end end end...
Any potential updates or changes can be found in HaasOnline Discord server. Here's my implementation for a switch-case system. Usage: local c = ClosePrices() local len = 20 local indicator = 'sma' local values = switch({ select = indicator, run_funcs = true, cases = {…
-- Modified by Strvninmarvin on 2021-11-02 -- ============================================================================ -- Strvinmarvin's ReportMaxMargin -- -- Adds a custom report on your maximum margin used. -- -- * Note: Thanks to Firetron, for I have shamelessly ripped off his ReportMaxRiskPoint -- command and used the template and framework to make this. ...
Adds a custom report on your maximum margin used.
DefineCommand('Volatility_Trader_Tools', '[Kobalt] Volatility_Trader_Tools (VOLTT) Keltner Channel based ATR Bands, StdDeviation BBands VWAP bands (the big 3) added ATR as oscillator to confirm the exhaustion points(reversal best dip, peak)') local pIsBt = DefineParameter(BooleanType, 'isBacktestt', '', true, true) local pPlotIndex = DefineParameter(NumberType, 'index to plot', 'For ATR sub ch...
Add MFA to Max Draw Down/MAE for back testing/reports What does MFE mean? MFE stands for Maximum Favorable Excursion. MFE marks the highest price during a long trade and the lowest price during a short trade. This shows you what the highest profit was during…