HFT V.2 EnhancedTitle: HFT V.2 Enhanced - ATR Dynamic Stop-Loss & Take-Profit
Description:
The HFT V.2 Enhanced strategy is designed for high-frequency trading with dynamic trade management and robust entry/exit logic. This strategy uses simple moving averages (SMA) for trend identification and the relative strength index (RSI) for momentum confirmation. In this enhanced version, the strategy also incorporates dynamic stop-loss and take-profit levels based on the Average True Range (ATR), offering better adaptability to market volatility.
Features:
Moving Average Crossover: Uses a fast and slow SMA to capture trend reversals and generate trade entries.
RSI Confirmation: Ensures momentum is in the direction of the trade by incorporating the RSI threshold for both long and short entries.
Dynamic Stop-Loss and Take-Profit: Stop-loss and take-profit levels are calculated based on the ATR, allowing the strategy to adjust its exit points according to market volatility. This helps manage risk more effectively and capture larger trends.
Auto-Close Opposing Positions: Automatically closes any open long positions when a short entry is triggered, and vice versa.
Once-Per-Bar Execution: Ensures that a position is entered only once per bar, avoiding multiple trades within the same bar.
Parameters:
Fast MA Length: Defines the length of the fast-moving average.
Slow MA Length: Defines the length of the slow-moving average.
RSI Length: Sets the period for the RSI indicator.
RSI Threshold: Controls the RSI level for confirming momentum (50 by default).
ATR Length: Determines the period for the ATR calculation.
ATR Multiplier for Stop-Loss/Take-Profit: Adjusts the sensitivity of the stop-loss and take-profit levels based on ATR.
How it Works:
Long Entry: The strategy opens a long trade when the fast SMA crosses above the slow SMA, and the RSI is above the user-defined threshold. A dynamic stop-loss is placed below the entry price, and a take-profit target is set based on ATR.
Short Entry: The strategy opens a short trade when the fast SMA crosses below the slow SMA, and the RSI is below the inverse threshold. A stop-loss is placed above the entry price, and a take-profit target is set using ATR.
Risk Management: The strategy adapts to changing market conditions by dynamically adjusting its stop-loss and take-profit levels, ensuring it remains responsive to market volatility.
This script is ideal for traders looking for a high-frequency strategy with advanced trade management, including dynamic exits and volatility-based risk management.
Disclaimer: Always backtest and optimize the parameters to fit your trading style and risk tolerance before using the strategy in live trading.
HFT
TopTenAlgo 2. HFT Algo for CryptoEN: High Frequency Trade Algo TVQ is an advanced algorithmic system developed using Volume Weighted / Exponential Moving Averages, vWap and Ichimoku . Said indicators are re-blended with the Volume Weighted Average ( vWap ) algorithm used by Merryl Lynch or Yapıkredi algorithms. It does not act like the classic Ichimoku or Moving Averages. TVQ was used instead of RSI . High Frequency Trade Algo's incorporate a 3-sided trading strategy that detects Risk Areas and allows you to stay Flat if necessary (red and white circles above the bars) or generates appropriate signals in the buy and sell regions, that measures the risk. In the triangle or flat / horizontal corrections you need to stay flat, it warns you beforehand that you are in the risky area, while the trend will occur, it warns you with a buy or sell signal.
This algorithm is prepared with @Top10Algo ... Optimization Risky and Wait Zone
TR: High Frequency Trade Algo TVQ, Hacim Ağırlıklı/Exponential Hareketli Ortalamalar, vWap ve Ichimoku kullanarak geliştirilen gelişmiş bir algoritmik sistemdir. Bahsi geçen göstergeler Merryl Lynch yada Yapıkredi algoritmalarının kullandığı Volume Weighted Average ( vWap ) algoritması ile yeniden harmanlanmıştır. Klasik Ichimoku yada Hareketli Ortalamalar gibi hareket etmez. RSI yerine TVQ kullanılmıştır. High Frequency Trade Algo’ lar Riskli Bölgeleri tespit edip gerekirse Flat kalmanızı sağlayan(barların üstündeki kırmızı ve beyaz daireler) yada alım ve satım bölgelerinde uygun sinyaller üreten yani riski ölçen 3 taraflı bir trading stratejisini içinde barındırır. Flat kalmanız gereken üçgen yada yassı/yatay düzeltmelerde sizi riskli bölgede olduğunuz konusunda önceden uyarırken, trend oluşacağı zamanda al yada sat sinyali ile önceden uyarır.
Bu algoritma @Top10Algo ile beraber hazırlanmıştır...Riskli ve Bekleme yapılan Flat bölgelerle ile ilgili iyileştirmeler yapıldı...
TopTenAlgo 2. HFT AlgoEN: High Frequency Trade Algo TVQ is an advanced algorithmic system developed using Volume Weighted / Exponential Moving Averages, vWap and Ichimoku . Said indicators are re-blended with the Volume Weighted Average ( vWap ) algorithm used by Merryl Lynch or Yapıkredi algorithms. It does not act like the classic Ichimoku or Moving Averages. TVQ was used instead of RSI . High Frequency Trade Algo's incorporate a 3-sided trading strategy that detects Risk Areas and allows you to stay Flat if necessary (red and white circles above the bars) or generates appropriate signals in the buy and sell regions, that measures the risk. In the triangle or flat / horizontal corrections you need to stay flat, it warns you beforehand that you are in the risky area, while the trend will occur, it warns you with a buy or sell signal.
This algorithm is prepared with @Top10Algo ... Optimization Risky and Wait Zone
TR: High Frequency Trade Algo TVQ, Hacim Ağırlıklı/Exponential Hareketli Ortalamalar, vWap ve Ichimoku kullanarak geliştirilen gelişmiş bir algoritmik sistemdir. Bahsi geçen göstergeler Merryl Lynch yada Yapıkredi algoritmalarının kullandığı Volume Weighted Average ( vWap ) algoritması ile yeniden harmanlanmıştır. Klasik Ichimoku yada Hareketli Ortalamalar gibi hareket etmez. RSI yerine TVQ kullanılmıştır. High Frequency Trade Algo’ lar Riskli Bölgeleri tespit edip gerekirse Flat kalmanızı sağlayan(barların üstündeki kırmızı ve beyaz daireler) yada alım ve satım bölgelerinde uygun sinyaller üreten yani riski ölçen 3 taraflı bir trading stratejisini içinde barındırır. Flat kalmanız gereken üçgen yada yassı/yatay düzeltmelerde sizi riskli bölgede olduğunuz konusunda önceden uyarırken, trend oluşacağı zamanda al yada sat sinyali ile önceden uyarır.
Bu algoritma @Top10Algo ile beraber hazırlanmıştır...Riskli ve Bekleme yapılan Flat bölgelerle ile ilgili iyileştirmeler yapıldı...
HFT Divergence Hunter BacktesterDefault Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding strategy developed by HFT Research. It is a highly customizable strategy and provides endless opportunities to find profitable trades in the market.
Default Settings are meant to be used in BTC /USDT chart on 5 min time frame on Binance Futures . If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding indicator developed by HFT Research. It is a highly customizable indicator and provides endless opportunities to find profitable trades in the market.
Use Envelope , this is the main decision maker in this strategy. The idea behind is that you choose the length of the moving average and set an offset % to create an upper and lower band. If you click on “display envelope” you will be able to visually see the band you have created. This way, you get to scalp the market as the price is diverging and moving away from the moving average. As the famous saying goes, moving averages act like magnets and prices always visits them back. Using this ideology, we aim to capitilize on the price swings that move away from the chosen moving average by x%.
STARC Bands ;
These are two bands that are applied above and below a simple moving average of an asset’s price. The upper band is created by adding the value of the average true range (ATR) or a multiple of i. The lower band is created by subtracting the value of the ATR from the SMA . The channel can provide traders with ideas on when to buy or sell. During an overall uptrend, buying near the lower band and selling near the top band is favorable. However, from our testing results it does fairly poorly in crypto markets while it does pretty well in traditional markets.
Use RSI ;
One of the most commonly used indicators in the trading world. The idea is simple, buy when its oversold and sell when its overbought. You can use RSI as a secondary confirmation of the dips. It can be turned on and off.
Use MFI
MFI stands for Money Flow Index and it is an oscillator like RSI . However, it does track the price in a different fashion than RSI providing a reliable option. It uses the price and volume data for identifying overbought and oversold signals in an asset.
Use Fisher Transform
Even though, it has a funny name, Fisher is actually a very decent and reliable indicator. It converts the prices into a Gaussian normal distribution channel. Therefore, the indicator detects when the prices have moved to an extreme, based on recent price action.
Use VWAP
VWAP stands for volume weighted average price . It is an extremely useful indicator when trading intra-day. It does reset every trading session which is at 00:00 UTC . Instead of looking at x number of candles and providing an average price, it will take into consideration the volume that’s traded at a certain price and weigh it accordingly. It will NOT give entry signals but act as a filter. If the price is above VWAP will filter out the shorts and other way around for longs.
Use ADX
Average directional index is a powerful indicator when one is assessing the strength of a trend as well as measuring the volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use Super trend Filter
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR ( average true range ) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is.
Use MA Filter
Lookback: It is an option to look back x number of candles to validate the price crossing. If the market is choppy and the price keeps crossing up and down the moving average you have chosen, it will generate a lot of “noisy” signals. This option allows you to confirm the cross by selecting how many candles the price needs to stay above or below the moving average. Setting it 0 will turn it off.
MA Filter Type: There is a selection of moving averages that is available on TradingView currently. You can choose from 14 different moving average types to detect the trend as accurate as possible.
Filter Length: You can select the length of your moving average. Most commonly used length being 50,100 and 200.
Filter Type: This is our propriety smoothing method in order to make the moving averages lag less and influence the way they are calculated slightly. Type 1 being the normal calculation and type 2 being the secret sauce .
Reverse MA Filter: This option allows you to use the moving average in reverse. For example, the strategy will go long when the price is above the moving average. However, if you use the reserve MA Filter, you will go short when the price is above the moving average. This method works best in sideways market where price usually retraces back to the moving average. So, in an anticipation of price reverting back to the moving average, it is a useful piece of option to use during sideway markets.
Use MACD Filter
MACD here will act as a filter rather than an entry signal generator. There are a few different ways to use this MACD filter. You can click on the Use MACD filter and it will use filter out the shorts generated in a bullish territory and longs generated in the bearish territory. It will greatly reduce the number of trades the strategy will trade because MACD is a lagging indicator. By the time MACD turns bullish or bearish , most of the other indicators will have already generated the signals. Therefore, resulting in less trades. You can use MACD filter as MA oscillator meaning that it will only look at the MA lines in MACD to filter out trades. Alternatively, you can use it with the histogram (Signal lines) meaning that it will only look at the histogram whether its below or above the zero line in order to filter out the trades.
TP (%)
Place your desired take profit percentage here. Default is 1.5%
Move SL At Entry x% Profit
This is when the strategy will move your SL to the entry point if the position reaches x% profit. It can also generate a signal which can be automated to adjust the SL on the exchange.
SL (%)
Place your desired stop loss percentage here. Default is 1%
The backtester assumes the following;
- 1000$ capital
- 0.06% commission based on binance
- 1% risk meaning 100% equity on cross leverage
- Backtest results are starting from 2020
If you want to get access to this indicator please DM me or visit our website.
HFT Divergence Hunter IndicatorDefault Settings are meant to be used in BTC/USDT chart on 5 min time frame on Binance Futures. If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is a divergence finding indicator developed by HFT Research. It is a highly customizable indicator and provides endless opportunities to find profitable trades in the market.
Use Envelope, this is the main decision maker in this strategy. The idea behind is that you choose the length of the moving average and set an offset % to create an upper and lower band. If you click on “display envelope” you will be able to visually see the band you have created. This way, you get to scalp the market as the price is diverging and moving away from the moving average. As the famous saying goes, moving averages act like magnets and prices always visits them back. Using this ideology, we aim to capitilize on the price swings that move away from the chosen moving average by x%.
STARC Bands;
These are two bands that are applied above and below a simple moving average of an asset’s price. The upper band is created by adding the value of the average true range (ATR) or a multiple of i. The lower band is created by subtracting the value of the ATR from the SMA. The channel can provide traders with ideas on when to buy or sell. During an overall uptrend, buying near the lower band and selling near the top band is favorable. However, from our testing results it does fairly poorly in crypto markets while it does pretty well in traditional markets.
Use RSI;
One of the most commonly used indicators in the trading world. The idea is simple, buy when its oversold and sell when its overbought. You can use RSI as a secondary confirmation of the dips. It can be turned on and off.
Use MFI
MFI stands for Money Flow Index and it is an oscillator like RSI. However, it does track the price in a different fashion than RSI providing a reliable option. It uses the price and volume data for identifying overbought and oversold signals in an asset.
Use Fisher Transform
Even though, it has a funny name, Fisher is actually a very decent and reliable indicator. It converts the prices into a Gaussian normal distribution channel. Therefore, the indicator detects when the prices have moved to an extreme, based on recent price action.
Use VWAP
VWAP stands for volume weighted average price. It is an extremely useful indicator when trading intra-day. It does reset every trading session which is at 00:00 UTC. Instead of looking at x number of candles and providing an average price, it will take into consideration the volume that’s traded at a certain price and weigh it accordingly. It will NOT give entry signals but act as a filter. If the price is above VWAP will filter out the shorts and other way around for longs.
Use ADX
Average directional index is a powerful indicator when one is assessing the strength of a trend as well as measuring the volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use Super trend Filter
The indicator works well in a trending market but can give false signals when a market is trading in a range.
It uses the ATR (average true range) as part of its calculation which takes into account the volatility of the market. The ATR is adjusted using the multiplier setting which determines how sensitive the indicator is.
Use MA Filter
Lookback: It is an option to look back x number of candles to validate the price crossing. If the market is choppy and the price keeps crossing up and down the moving average you have chosen, it will generate a lot of “noisy” signals. This option allows you to confirm the cross by selecting how many candles the price needs to stay above or below the moving average. Setting it 0 will turn it off.
MA Filter Type: There is a selection of moving averages that is available on TradingView currently. You can choose from 14 different moving average types to detect the trend as accurate as possible.
Filter Length: You can select the length of your moving average. Most commonly used length being 50,100 and 200.
Filter Type: This is our propriety smoothing method in order to make the moving averages lag less and influence the way they are calculated slightly. Type 1 being the normal calculation and type 2 being the secret sauce.
Reverse MA Filter: This option allows you to use the moving average in reverse. For example, the strategy will go long when the price is above the moving average. However, if you use the reserve MA Filter, you will go short when the price is above the moving average. This method works best in sideways market where price usually retraces back to the moving average. So, in an anticipation of price reverting back to the moving average, it is a useful piece of option to use during sideway markets.
Use MACD Filter
MACD here will act as a filter rather than an entry signal generator. There are a few different ways to use this MACD filter. You can click on the Use MACD filter and it will use filter out the shorts generated in a bullish territory and longs generated in the bearish territory. It will greatly reduce the number of trades the strategy will trade because MACD is a lagging indicator. By the time MACD turns bullish or bearish, most of the other indicators will have already generated the signals. Therefore, resulting in less trades. You can use MACD filter as MA oscillator meaning that it will only look at the MA lines in MACD to filter out trades. Alternatively, you can use it with the histogram (Signal lines) meaning that it will only look at the histogram whether its below or above the zero line in order to filter out the trades.
TP (%)
Place your desired take profit percentage here. Default is 1.5%
Move SL At Entry x% Profit
This is when the strategy will move your SL to the entry point if the position reaches x% profit. It can also generate a signal which can be automated to adjust the SL on the exchange.
SL (%)
Place your desired stop loss percentage here. Default is 1%
If you want to get access to this indicator please DM me or visit our website.
Fianchetto v1Hello, I created this script last year I decided I would release it to the public. This script uses Moving Averages to attack or defend price action given the current conditions of the market. This strategy is ONLY for currencies I would NOT recommend using on any other markets. This strategy is wrong about 55% of the time so use at your own risk. This strategy has 2 main focuses, 1. Catching trends and riding trends 2. Defending Profits from a Trend, as a trend starts to form you want to make sure you can get the most juice out of the trend while also ensuring profit taking throughout the trend. This algorithm uses moving averages in a more creative way than just trading crossover's, we use a small MA to use it's direction of travel as a traffic light while using a bigger MA as a filter for our trade bias (bear or bull). Our Traffic light or small MA is what ensures we are defending profits as when the traffic light switches colors we close our trade even if our filter is still the same bias. This however does not mean we are done trading the current trend wave, We wait for our traffic light to switch back to the same bias as our filter to re-enter the trade. I will be updating this system as time goes on, if you have any questions or problems please pm me, QuantsGambit
Ichimoku+P&F+Stoch+NoRange+HL+crossupThis is a highly advance trading strategy for high frequency trading on Bitmex, Binance Futures, ByBit and others. I'm using variations of this script to manage $500K institutional account! Forward tested results available for 1.5 years. This script uses combination of Ichimoku cloud on multi-timeframe. Uses Stochastic RSI indicator on multi-timeframe. Uses Point and Figure analysis. Used EMA crossup for longs
Currently looking for Beta Testers.
Instructions:
1. Each coin is unique so needs a lot of time to fine tune the parameters.
2. This parameters tuned only for Longs (inquire for Shorts)
3. This is only tuned for BTC but I have tuned parameters for all coins (inquire for help)
Settings:
1. Chart timeframe: 3
2. P&F timeframe: 1
3. Ichimoku timeframe: 15
5. Stochastic timeframe: 15
Current exchange integration: Bitmex, Binance Futures, Bybit... More will be added soon.
Cash in/Cash out Report (CICO) - Quiets market noiseThe cash in/cash out report (CICO for short) was built with the intent to quiet the market noise. The blunt way to say it, this indicator quiets the market manipulators voice and helps the retail investor make more money. I believe money is better of in the 99% hands versus the greedy hoarding that is currently going on. There are dozens of companies in the SP500 that have the same tax rate as unborn babies, nada. These hoarders also have machine learning high frequency trading bots that purposely create fear and anxiety in the markets. When all of the major markets move at the exact same time of day on frequent occasions, I see red flags. I recommend looking into Authorized participants in the ETF market to understand how the markets can be manipulated, specifically Creation and Redemption.
Enough of my rant. This indicator is open source. Directions on how to use the indicator can be found within the code. The basic summary is, clear your charts to bare minimums. Make the colors gray on all candles. Then apply this indicator. The indicator will color the "buy" and "sell" signals on the chart. Keep in mind, markets are manipulated to create fear in the retail investors little heart and can change drastically at any second. This indicator will show real time changes in running sum into and out of the market, it is estimated by average prices and not exact.
Once the chart is all greyed out and the indicator is applied you will see an area colored red and green. What this indicator does is takes a running sum of the new money into and out of the market. It takes the average of the high and low price times the volume. If the price is going up the value is positive, going down will be negative. Then the running sum is displayed. The area section is the running sum and the column bars are each value. When a market is steadily increasing in value you will see the large green area grow. When markets shift, values and display will change in color and vector. Full descriptions are available within the script in the comment sections.
I hope this help you make more money. If this helps you grow profits, give it a like!
Happy investing 99%er!
HFT Quant AlgoPrivate Fund Algo - HFT/Quant Approach Beta I
2019 Performance
1/Jan/2019 ~ 8/May/2019
Included:
Commission 0.1%
Slippage 100 ticks