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...
EnableHighSpeedUpdates(true) -- KGB: -- use 1 active slots per side. once slot order is filled, activate next and take the placement from -- the band value in the moment of fill. place take-profit taking the average entry price into account. -- use either hard SL -- or re-activate slots -- or decrease take-profit distance as time goes on (should have setting to allow it to move to the lo...
Hey! Happened to look back into this bot and.. Well. Ideas just started to fly around, OK!? So anyway. This time the approach is different. And the bot can ONLY do hedging! Currently, the bot will trigger ALL slots the price shoots through, so there…
-- 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: 3FRx1EkG4T4izrkaS34xeZHJFK4kQefHKf -- Smokyho BTC: 35KY1GPFtxKoJ6Bzri6sLYQPcmGZhHfRac -- -------------------------------------------------------------------------- EnableHighSpeedUpdates(true) HideOr...
This is a modified version of Phsai's amazing Simple Market Maker that intended ONLY FOR BINANCE FUTURES USDT/COIN HEDGE MODE ENABLED with dynamic maximum open position and slot size. The default mode is already set profitable for normal market movement but it won't survive something…
EnableHighSpeedUpdates(true) HideOrderSettings() -- market compatibility local isSpot = MarketType() == SpotTrading local buy_cmd = isSpot and PlaceBuyOrder or PlaceGoLongOrder local sell_cmd = isSpot and PlaceSellOrder or PlaceGoShortOrder InputGroupHeader('Entering') maxEntries = Input(' Max. Entries', 10, 'The maximum amount of entries allowed per position') entryTimeLimit...
"pshaiKo_b" MadHatter - Some mods.. a working work in progress.. added essentials: ProfitTrailerQuiet: [Kobalt updated sorted] Mad Hatter Indicators: v2.1 MHB BBands v2 MHB RSI v2 MHB MACD v2
-- --------------------------------- -- 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('SecondsTillCandleClose', '') local interval = DefineParameter(NumberType, 'interval', '', false, 0, 'CurrentInterval, InputInterval, Number') interval = interval > 0 and interval or CurrentInterval() local roundUp = function(x, a) return x + (a - (x % a)) end local next_candle_close_time = roundUp(Time(), interval * 60) local seconds_till_close = next_candle_close...
A custom command to return the seconds until candle close.
DefineCommand('Z_Score', 'Calculates and outputs the Z-score for a data series.') local series = DefineParameter(ListNumberType, 'series', 'Input data series', true, ClosePrices()) local length = DefineParameter(NumberType, 'length', 'Calculation period length', true, 30, 'Number, Input') local opt_length = DefineParameter(NumberType, 'opt_length', 'Optimization length. Use this to cut the am...
Handy custom command for transforming any data series into more normalized type: Z-score More information: Example: local close = ClosePrices() local zscore = CC_Z_Score(close, 30, 10) -- Plot(0, 'zscore', zscore, LineOptions(Red, Spiked, Solid, 1, 0, LeftAxis, '', true, false)) PlotHorizontalLine(0, 'z-zero', Gray, 0, Dashed, LeftAxis)…
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("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)
DefineCommand("ProfitTrailerQuiet", "A ProfitTrailer implementation by Pshai. Works like a safety and returns true when active.") local trailStartPrc = DefineParameter(NumberType, "trailStartPrc", "Profit level (as percentage) where the trailing starts.", true, 0, "Input") local trailDistPrc = DefineParameter(NumberType, "trailDistPrc", "Trailing distance (as percentage) from the highest recor...
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.
-- Budget local maxSizeM = Input('01. Max. Open '..AmountLabel(), 100000, 'Maximum open contracts at any given time also as minimum for Dynamic Max Open. After exceeding this value, the bot will dump a portion of position at a loss.') local autoMax = Input('01A. Dynamic Max Open', true, 'Dynamically change max open contracts based on available balanca') local leverage = Input('01B. Leverage', 5...
I posted my risk management method in It is very important to have risk management to avoid liquidation and to utilize the maximum leverage level so you can trade even if you have small ammunition. Leverage does not matter. What matter is the budget you…
NobwRAGmBcBMAMAaMBNGA2JYDqMsAk9kBxAVwEsATGVCS+AJVnIE8IA3AaQCEAFAdwDmAOwCGAKwA2LACxhkAFRYAHAKYZ4ARmQBhAPYBbA6OGUAcqIProYACKqAZuWGr9Rk9V17hLgMYAXPQAnGHAyKhphACMASQcAQQBVAFlE5RZNYQBWAGt+IIApRIZNcnkwfR9VAPJvAGcYYABdZF5RIMtVf1UQ6HALKxpVAA9q0m7ypTUYAGZkGLqGVQBHCiDVamgHUUk61Xm6/CpKVWEYbd39sAWAMXJVSU2LveR4yUk9fjNSd/Odl7sqjqviC5GU/lqZxs5QAyqRBIIgRDvI0ZrBNLBEGjNEg0fA5nj0Fj0doZjN4LiEJi8VlifAAJx0mSIGQADnxLPZz...
Changes: -Create a Position (thanks to Bunka (he already added it his version VirtualPositionCreationAndManagement_v2b) -temporarily disabled Return block until fixed more info and previous version: Useful to create, adjust or close a position to match the non virtual: real position size (if not 0) on…
-- ============================================================================ -- Firetron's InputAmountSpread -- -- Creates a group of inputs for Firetron's GetAmountSpread. -- -- Custom Command Dependencies: -- None -- -- Discord: @FiretronP75 -- ============================================================================ -- ========================================...
Creates a group of inputs for Firetron's GetAmountSpread. Custom Command Dependencies: None Test code: if not Load('done', false) then local p = {listDynamic = CC_InputAmountSpread('Amount Spread')} local spreadAmounts = CC_GetAmountSpread(p) for i = 1, #spreadAmounts do Log('Spread Amount: '..spreadAmounts[i]) end Save('done', true) end