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.
-- ============================================================================ -- Firetron's Hedged DCA Dipper -- -- Runs a long and a short each doing dollar cost averaging strategy. -- Expands positions on an interval and exits whenever there is a profit. -- Only expands a position when its profit is less than a trigger. -- -- Custom Command Dependencies: -- Firetron'...
Runs a long and a short each doing dollar cost averaging strategy. Expands positions on an interval and exits whenever there is a profit. Only expands a position when its profit is less than a trigger. Custom Command Dependencies: Firetron’s CurrentVsEntry Firetron’s FormatRoundedPercent Firetron’s FormatRoundedQuoteCurrency…
-- 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…
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...
-- Modified version of Phsai's amazing Simple Market Maker that intended -- ONLY FOR BINANCE FUTURES USDT/COIN and BYBIT FUTURES USDT with HEDGE MODE ENABLED -- -- Consider donating to support our work! -- Phsai BTC: 3FRx1EkG4T4izrkaS34xeZHJFK4kQefHKf -- Smokyho BTC: 35KY1GPFtxKoJ6Bzri6sLYQPcmGZhHfRac -- ORtchi BTC: 1MuMTfRSbVLuBJwz8bhZzhKckoC2iL6dY4 -- ETH: 0x0bafde44120a9512e2e57c...
Moved the slots into tables and added the main code into a go function which is called with optimized for interval and now backtesting works for me Original Post
-- Modified version of Phsai's amazing Simple Market Maker that intended -- ONLY FOR BINANCE FUTURES USDT/COIN and BYBIT FUTURES USDT with HEDGE MODE ENABLED -- -- Consider donating to support our work! -- Phsai BTC: 3FRx1EkG4T4izrkaS34xeZHJFK4kQefHKf -- Smokyho BTC: 35KY1GPFtxKoJ6Bzri6sLYQPcmGZhHfRac -- ORtchi BTC: 1MuMTfRSbVLuBJwz8bhZzhKckoC2iL6dY4 -- ETH: 0x0bafde44120a9512e2e57c...
Many thanks for the basics and ideas from PSHAI and smokyho! Without you, the script would not have been created! I have been trying to put my ideas into the script over the last few months and it has grown and grown. You can see…
-- Modified version of Phsai's amazing Simple Market Maker that intended -- ONLY FOR BINANCE FUTURES USDT/COIN and BYBIT FUTURES USDT with HEDGE MODE ENABLED -- -- Consider donating to support our work! -- Phsai BTC: 3FRx1EkG4T4izrkaS34xeZHJFK4kQefHKf -- Smokyho BTC: 35KY1GPFtxKoJ6Bzri6sLYQPcmGZhHfRac -- ORtchi BTC: 1MuMTfRSbVLuBJwz8bhZzhKckoC2iL6dY4 -- ETH: 0x0bafde44120a9512e2e57c...
Many thanks for the basics and ideas from PSHAI and smokyho! Without you, the script would not have been created! I have been trying to put my ideas into the script over the last few months and it has grown and grown. You can see…
-- Bunka's port of "KDJ_indicator" -- from TV pinescript from creator "iamaltcoin" DefineCommand("KDJ_indicator", "KDJ_indicator") local interval = DefineParameter(NumberType,"KDJ interval", "KDJ inteval", false, InputInterval("KDJ interval", 1, "KDJ interval", "KDJ indicator")) local ilong = DefineParameter(NumberType, "KDJ period", "KDJ period", false, Input("KDJ period", 9, "KDJ period...
KDJ indicator, useful to detect those moments in time... use with caution and combine with some other indicator(s) Bunka's HS port of "KDJ_indicator" from pinescript (TV) created by "iamaltcoin"
-- Author: [email protected]
DefineCommand('VMA_LB', 'Conversion of the LazyBears VMA indicator')
local src = DefineParameter(ListNumberType, 'source', 'Source data for VMA', true, ClosePrices(), 'Price Data')
local l = DefineParameter(NumberType, 'length', 'VMA calcualtion period length', true, 10, 'Number, Input, SessionGet')
DefineIntervalOptimization(CurrentInterval(src)) -- inter...
Conversion of the LazyBear's VMA indicator: Command takes in price data and a number, and spits out the VMA values which you can plot and use. ~pshai
-- --------------------------------- -- Script: RSI Price Bands (https://www.tradingview.com/script/zmvOIVUw-RS-JR-RSI-Price-Bands/) -- Ported by pshai -- --------------------------------- -- ||--------------------------------------------------------------------------------------------------------------------------|| -- ||--- INPUTS: --------------------------------------------...
RSI Bands from the old days... Came across it again and revised it a little, as it used some of the old input commands.
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
-- ============================================================================ -- Name AutoRiskManagement -- -- Description. AutoRiskManagement as a command so it can be easily used in all your scripts -- -- -- Discord: @strooth -- ============================================================================ -- ======================================================== -- ...
Took the dynamic max open size and used firetrons template to make it a nice and neat command you can call in any of your scripts. Also uses a custom debug logger Simple test showing how to it works local maxSize = CC_AutoRiskManagement(walletBal, maxSizeM, autoMax,…
DefineCommand("ProfitTrailerQ", "ProfitTrailer (Quiet, Inputs, trailStart 2, trailDistance 0.6)") local trailStartPrc = DefineParameter(NumberType, "trailStartPrc", "Profit level (as percentage) where the trailing starts.", false, 0, "Input") local trailDistPrc = DefineParameter(NumberType, "trailDistPrc", "Trailing distance (as percentage) from the highest recorded profit.", false, 0, "Input...
Much loved PT by pshai, Logging silenced by Firetron A ProfitTrailer implementation by Pshai. Works like a safety and returns true when active. Modded by Firetron to have parameters to toggle the logging and verbose logging. used in a MadHatter script. This has Inputs and...more…
DefineCommand('STTSL', 'SuperTrend Trailing Stop-Loss') 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(NumberType, 'interval', 'Interval for data', false, 0, 'InputInterval, Number') local position_id = DefineParameter(StringType, 'posit...
SuperTrend-based trailing stop-loss safety command. What else... ;) Usage: if CC_STTSL(50, 1.75) then DoExitPosition('STTSL Triggered Exit') end (In the screenshot's bottom chart, you see CCI with its SuperTrend_Ext line)
-- ============================================================================ -- Firetron's BubbleSort -- -- Sorts a table using the bubble sorting algorithm. -- -- Custom Command Dependencies: -- None -- -- Discord: @FiretronP75 -- ============================================================================ -- =======================================================...
Sorts a table using the bubble sorting algorithm. Custom Command Dependencies: None Test Code: if not Load('done', false) then local table = {8, 3, 45, 23, 7, 2} Log(table) Log('Unsorted Table:') CC_BubbleSort(table) Log(table) Log('Sorted Table:') Save('done', true) end
DefineCommand('PlotAEP', 'Average Enter Price') local pposId = DefineParameter(DynamicType, 'posId', 'The long positionId', true, 0, 'Number, Input') local aep = GetPositionEnterPrice(pposId) local isLong = GetPositionDirection(pposId) == PositionLong and true or false if aep > 0 and isLong then Plot(0, 'AvgEP Long', aep, {c=Teal, id=pposId, w=2}) ChartSetOptions(0, 'Average Ent...
Grabbed this from pshai's work and made it into a cmd that I can call on any script easily just give it the position id and thats it! -- Plot Finalize(CC_PlotAEP(hedge_longPosId)) Finalize(CC_PlotAEP(hedge_shortPosId))
-- ============================================================================ -- Firetron's InputSpread -- -- Creates a group of inputs for Firetron's GetSpread. -- -- Custom Command Dependencies: -- None -- -- Discord: @FiretronP75 -- ============================================================================ -- ====================================================...
Creates a group of inputs for Firetron's GetSpread. Custom Command Dependencies: None Test code: if not Load('done', false) then local p = {omni = CC_InputSpread('Spread')} local spread = CC_GetSpread(p) for i = 1, #spread do Log('Spread Value: '..spread[i]) end Save('done', true) end