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...
local src_types = { 'Close', 'Open', 'HL', 'HLC', 'OHLC' } InputGroupHeader('Timeframe Settings') local tf_update = InputInterval('1. Update Timeframe', 1440, 'Update timeframe, how frequently does the bot logic update.') local tf_price = InputInterval('2. Prices Timeframe', 1440, 'Prices timeframe to use.') InputGroupHeader('SuperTrend Settings') local st_atr_le...
Happy holidays everyone! This masseve trend trader is my present for you all wonderful people! Ideal setups will be found in the higher timeframes (or labs, lol), as this bot is designed to ride trends. Required custom commands: - CC_SuperTrendExt ~May the profits be with…
-- 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…
NobwRAGmBcBsAsAGANGAmjAjAJkSsA6jPgBLGoDiArgJYAmMYAdlUwCoD2saAhgPIBjAGI8qHAOY0ArABtsALwCmYVGwCeAB2Vw8qAMIcAtoZ5M6AOR6HtYPXoD6QgKIAhJ/b4AnOos8BnFVsOJiZFAQAXDk8YcGp6Rj88ISoAJRS2ABE9DTonc0QAaUwASW8GfWDQiJpggOhgAF1UAAUeTytFcN8YsEtrRkUADzCqLsD1LRgAZlRivxTFAEdaT0UGaAAzHhk/RVm/EnofJhgtnb2wOaEaRRl1s93UAEEZGQ4Ad3MqV9Ptx7AMoo/AJPDQNOEaidoGBAgBlKjicRAiHBGDAKbYHDIDGYFAYxAzfGwbGYzDYqa6fHYEmIKQ0gCcNPgyHgAA4CSz2c...
I created this simple template for you to start your bot building faster! I hope you find it useful. **PSST! If you havent already heard about FEBE, you can check that out here:** ~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('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('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.
NobwRAGmBcBMAMAaMBNGBGeSwHUbYAl9kBxAVwEsATGSAWQFEApAZwCsBrAFQFUAzFlQBaAeQDKAJwBuARQAW6AEZhkXAJ4AHAKYwAbPHTIAwgHsAtmYCGAOyoA5S2Z3QwAES18K1raYs2axibW3gDGAC4mEjDg5NS0ZEJSAB4cInRqVDJMBBo81mYA0gDMAGoAMgDsKmCmwVrhFEEsMMAAusgACpYSjlphWlHQ4A5OtFpJ9WT91eraMEXIAJIsAEpaAI6UElo00HyWADYsWkssBNRUWtYw+0cnYMsAYhRaB7u3x8gAggcHJgDudjIvxuh0+bi0LBCEgoGjCjWuLmqYjIAHNUZD4UEWkVYOhYIhcZhCQgFrj4LoSehDEUilgSfACeSAKwMgCcDIA...
[kobalt] Safety: SuperSafeStops: StopLoss, StopLossROI, TrailingArmStopLoss, DeactivateOnLoss, [pshai] EasyProfitTrailer, DefineIntervalOptimization, HighSpeedUpdates MH extended: Indicator Consensus Named Input Groups Various Stop Loss options % Price Change before Buy / Sell DisableOnLoss ProfitTrailer Take Profit Signal Management / Enum OvercomeDoubleFee HighSpeedUpdates You will need these: modified mh…
-- 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