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.
-- Modified version of Phsai's amazing Simple Market Maker that intended -- ONLY FOR BINANCE FUTURES USDT/COIN HEDGE MODE ENABLED -- ---------------------------------------------------------------------------- --Log('Update 7') EnableHighSpeedUpdates(true) HideOrderSettings() HideTradeAmountSettings() -- inputs InputGroupHeader('Bot Settings') local okLong = Input('01. Allow...
Modification of SMMD V2.51. -FIX budget value option Additional method to set the budget balance. The value is NOT percentage but the fiat/coin amount you want to allocate for the bot. This option is not compounding profit into budget balance. If your wallet balance <…
-- Simple Market Maker -- by pshai @ 2020 -- -- Introduction: -- This simple market maker makes the market! -- It doesn't stop, it has no limits (other than max. pos. size) -- and it's amazing. Get familiar with the bot before using it! -- I strongly suggest doing backtests and especially running it -- using a simulated account until you are confident that you know that -- this bot knows...
Simple Market Maker by pshai @ 2020 Introduction: This simple market maker makes the market! It doesn't stop, it has no limits (other than max. pos. size) and it's amazing. Get familiar with the bot before using it! I strongly suggest doing backtests and especially…
— Author – Strooth – Find me on discord – strooth#4739 — Feel free to donate to support my work or if my script helped you in any way <3 — BTC Adress: 33MsEAbA8tg7SpohgnCpSrmPTBih2UkhxQ — InputGroupHeader('Main') local allowshort = Input('Enable Short', true, 'Enable short positions') local allowlong = Input('Enable Long', true, 'Enable long positions') local allowshortx = ...
Basic bot/template for managing multiple positions and single order per position with stoploss and take profit Get a signal from where ever you like either from another script or remote signal and it will manage multiple positions both long and short. Requires my other custom…
-- [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…
-- AlphaTrend indicator (by author Kivanc Ozbilgic (TV)) -- HaasScript version by Bunka -- Mod by Smokyho DefineCommand("AlphaTrendSMOD","AlphaTrend Indicator ") local market = DefineParameter(StringType, "AlphaTrend Market", "AlphaTrendMarket", false, PriceMarket()) local interval = DefineParameter(NumberType,"AlphaTrend interval", "AlphaTrend interval", false, 0) local source = DefinePa...
Modification of Bunka's port of AlphaTrend by by Kivanc Ozbilgic. Features: 1. The output now is Signal. 2. Plotting 2 lines to generate signal on crossover event. 3. If AlphaTrend lines cross over and close > lines then SIgnalLong, marked by a green dot. Short…
-- [DMcL] -- https://www.tradingview.com/support/solutions/43000707882-stochastic-momentum-index-smi/ DefineCommand('Stochastic_Momentum_Index', 'SMI out') local c = ClosePrices() local h = HighPrices() local l = LowPrices() local lengthK = DefineParameter(NumberType, 'LengthK', 'LengthK', true, 10) local lengthD = DefineParameter(NumberType, 'LengthD', 'LengthD', true, 3) local leng...
from Trading View
-- original script by jdehorty on tradingview -- Author: DMcL EnableHighSpeedUpdates(true) DefineCommand('Nadaraya_Watson_Kernel_v2', 'Signals long or short when kernel changes bullish/bearish') OptimizedForInterval(0, function() -- Parameters local alpha = DefineParameter(NumberType, 'Alpha', 'NQK Alpha', true, 2) local h = DefineParameter(NumberType, 'Lookback Window', 'Look...
-- original indicator by jdehorty --
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
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:
-- Author: Kobalt DefineCommand("PTpExits", "last step to including Interim managed order placement--only add the result trigger, order specs..check inputOrderOptions integration A price-based ProfitTrailer implementation by Pshai TEST InterimManaged handle order placements inside--Loging--verbose logging") local ptqname = DefineParameter(StringType, "name", "Name to distinguish it from others i...
early test will further look into Firetron's OrderOptions this needs to be cleaner.. But Trailing, logging, plotting and fwd compatibillity should be better with the reduceOnly addition, to only use PlaceSellOrder, PlaceBuyOrder on Spot and on Leverage use PlaceShortOrder, PlaceLongOrder with isReduceOnly enabled to close,…
-- [pshaiCmd] Trailing Arm Stop-Loss (TASL) -- Author: pshai DefineCommand('TrailingArmStopLoss', 'Educational TASL') local percentage = DefineParameter(NumberType, 'percentage', 'Trailing distance in percentage', true, 1) local arm = DefineParameter(NumberType, 'arm', 'Activation distance in percentage', true, 0.2) local positionId = DefineParameter(StringType, 'positionId', 'Optional po...
A custom command implementation of the built-in TrailingArmStopLoss command for educational purposes.
-- 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…