Hull Strategy [Bitduke]Description
The Hull Moving Average (HMA) was developed by Alan Hull for the purpose of reducing lag, increasing responsiveness while at the same time eliminating noise. Its calculation is elaborate and makes use of the Weighted Moving Average (WMA).
It uses two lagged hull moving averages at the intersection of which a change in trend is determined.
Risk Management
Risk is managed by limiting the loss per trade (in%) using stop loss variable.
Improvements
Can be improved by experiments with stop loss and take profit.
Backtesting
Bitmex XBTUSD
Timeframe 3H
Stop 2%, take profit : n/a
193.5% profit
22.42% drawdown
FTX BTC-PERP
Timeframe 3H
Stop 2%, take profit : n/a
187.5% profit
14.79% (!) drawdown
FTX SHIT-PERP
Timeframe 3H
Stop 2%, take profit : n/a
112.5% profit
13.79% (!) drawdown
在腳本中搜尋"profit"
Trend spider glueThis script works on all market types.
This script will show you when to long, short, exit (stop loss) and Take profit.
Signals take into account various elements such as momentum, volume , moving averages and long term trend analysis. Stop loss function is included to show you when a signal is invalidated.
Use this strategy strictly, patiently and with discipline to prevent unneeded losses, this will result in long term consistent profits.
This script has been set to work best on the intraday time frames, however it also works on the longer timeframes. Use the settings tab to dilute the indicators to ur own market.
Lastly, this indicator will not give signals if the market is not trending.
PM me here to get a free trial for the indicator !
HAPPY TRADING <3
Version 2 will be coming soon which will integerate more elements to allow for more accurate signals and faster stop losses !
disclaimer: although this indicator is taking many elements into account and is highly accurate the market is never certain, we are not responsible for any losses the script may result in as we are not financial advisors.
[astropark] ALGO Trading V3 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (from 1h and above is suggested), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V2" , but a twin sister of them.
For your reference, here it is the "ALGO Trading V1" indicator
and here the "ALGO Trading V2"
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V3" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from 1995 to now, so on more than 15 years, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V2 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on many timeframes (ones between 1h and 1D are suggested, but just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V1" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
Here you can find ALGO Trading V1
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option , which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V2" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from January 2019 to now, so on more than 1 year, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
[astropark] ALGO Trading V1 [strategy]Dear Followers,
today another awesome Swing and Scalping Trading Strategy indicator, runnable on a bot , which works great on Low Timeframes (1h is suggested) but also on even lower ones (till 15m) and on higher ones (no further than 1D), just write me in order to help you find correct settings).
It must be said that this strategy works even better on 1m Renko chart!
If you are a scalper or you are a swing trader, you will love suggested entries for fast and long-lasting profit.
Keep in mind that a proper trailing stop strategy and risk management and money management strategies are very important (DM me if you need any clarification on these points).
This is not an evolution of "ALGO Trading V2" or "ALGO Trading V3" , but a twin sister of them. Search them on TradingView to know them better.
This strategy has the following options:
enable/disable signals on chart
enable/disable bars and background coloring based on trend
enable/disable a "filter noise" option, which try to reduce overtrading (you can easily check it on backtesting)
enable/disable a Take Profit / Stop Loss option (you can easily check it on backtesting too)
enable/disable a secret SmartOption which may improve profit on your chart (again, check it on you chart if it helps or not)
This strategy only trigger 1 buy or 1 sell. If you enable Take Profit / Stop Loss option, consider that many TP can be triggered before trend reversal, so take partial profit on every TP an eventually buy/sell back lower/higher to maximize your profit.
In order to get notified when a signal is triggered, you need to use the "alarms" version of this indicator (just search for astropark's "ALGO Trading V1" indicator and choose the one with "alarms" suffix).
Strategy results are calculated on the time window from January 2019 to now, so on more than 1 year, using 1000$ as initial capital and working at 1x leverage (so no leverage at all! If you like to use leverage, be sure to use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart and timeframe you may like to test and/or trade. Of course results will be very different depending on the chart and timeframe you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!)
This is a premium indicator , so send me a private message in order to get access to this script.
inwCoin Sto RSI Bullish/Bearish Divergence + Scalping StrategyStochastic RSI is well-known oscillator indicator for finding potential bottom/top within each timeframe.
Inspired by some dude from twitter that showing how his bot is working. So I tried to write this strategy to work with small timeframe.
After trial and error, I found out that if we take profit by using previous high of lookback period, we still able to make some profit with small TF.
How it work?
---------------
1) This strategy will find the STO RSI bullish or bearish divergence in 15 min timeframe, if found one, it will enter the trade long or short.
2) If price sideway and the candle since last entry is more than "Cooldown period", it will start looking for STO RSI bull/bear divergence again.
3) It will keep pyramid your entry to "max pyramid" option
4) If price close above or below previous high/low from "TP lookback period" option, it will take profit or take loss of that position.
Cautions
-----------
1) The result is good because in the pass 2 months, we enter bull trend for BTC and other crypto.. So chance that we able to close position with profit is alot higher than loss.
2) But if trend change. This scalping strategy is dangerous to use, because you will take loss down and your loss will build up every single day. ( Make sure to filter trend first )
3) I tried with bear trend with short trade, and it seem profitable. ( But you'll bankrupt if you run long scalp in downtrend, and vise versa )
Alert?
------
I also have alert version of this strategy, if you want to use, please let me know.
NIFTY-50 on 10 min TimeFrame by Aditya
I have developed this strategy for NIFTY-50 Index on which is traded National Stock of Exchange(India). It is non-repainting indicator and uses @version=4
This script uses hourly and daily price data.
The results will be very different depending on the chart and time-frame of your choice and date range of your choice.
The default contract quantity is set to 2 .You can adjust as per your risk management.
I have found that taking partial profit (1 contract) and continuing the with remaining (1 contract) keeps you in trade until next trend reversal.
It has following usage setting:
1. Enable/Disable take partial profit.
2. Partial profit points.(45 points gives better results)
3. No. of contracts for partial profit booking.
4. Date Range (From and To) to check for different date range.
4. Enable/Disable Bar Color.
5. Enable/Disable Background Color.
Thanks © allanster for script"How To Set Backtest Range" for Date Range functionality .
I have tested this indicator on 10 minutes time-frame on National Stock of Exchange(India) which gives good results and the time period is almost 1 year
from 21/01/2019 to 14/02/2020.
Points=5632.
No. of trades=202
Profit Factor=1.9
Sharpe Ratio=0.626
The NIFTY-50 contract size is 75.
This strategy gives better results on Index as this is optimized for Indexes. You can always try on other instruments or you can private message me.
Use proper risk management.
This is a premium indicator so send me a private message in order to access this script. This script is for information and educational purpose.
Amrullah Deep Liquidity for S&P 500Amrullah Deep Liquidity (ADL)
Amrullah Deep Liquidity (ADL) is a high profit factor strategy based on models designed by Muhd Amrullah.
Choosing your trading pair that you are planning to backtest
Check that you have been given access to Amrullah Deep Liquidity (ADL). Select SPX500USD with the default 4H time frame. Once done, open Indicators > Invite-Only Scripts > Amrullah Deep Liquidity %.
Choosing your initial capital that you want to begin backtesting
Go to Settings > Properties > Initial Capital and type in the amount of capital you're starting with. For the SPX500USD trading pair, the initial capital is denominated in USD.
Adjusting your equity at risk until the trades match your risk profile and comfort level
Go to Inputs > Equity Risk and adjust the value you are comfortable with. To analyse performance, you also want to choose the Start Year, Start Month and Start Date. Select lower equity risk for trades that you intend to take without the use of leverage. You can select an equity risk from 0.001 to 0.05 or all the way to 1.
Finding the time frame with the highest profit factor
Profit factor is defined as the gross profit a strategy makes across a defined period of time divided by its gross loss. You may choose to scroll through other time frames to find better models. You can select a different time frame from 1 min to 1H or all the way to 1M. Once you find the model you desire, you are encouraged to check that the model has a backtested profit factor of >3.5. You can then begin looking through the Performance Summary to find other detailed statistics.
Analysing the equity curve from the Amrullah Deep Liquidity (ADL) strategy
A green equity curve indicates that the trades are accumulating profits. A red equity curve indicates that the trades are accumulating losses. A healthy equity curve is one that is green and grows steadily to the right and upward direction.
Analysing the display arrows on the chart
Amrullah Deep Liquidity (ADL) tells you when to take a trade and how much to put in a trade. ADL can do this as the model identifies inventory risk in traders and market makers in the chosen market. On your Tradingview chart, ADL will display an arrow that tells you when to enter a trade. You can also see the amount to trade beside the arrow.
Opting for a trial
Yes you may opt for a trial which has limited availability.
The author's background and experience
My career in software and deep learning development spans across more than 5 years. At work, I lead a team to solve core computer vision tasks for large companies. I continually read all kinds of computer science books and papers, and follows progress on tools used in financial markets.
Amrullah Deep Liquidity for ETHUSDAmrullah Deep Liquidity (ADL)
Amrullah Deep Liquidity (ADL) is a high profit factor strategy based on models designed by Muhd Amrullah.
Choosing your trading pair that you are planning to backtest
Check that you have been given access to Amrullah Deep Liquidity (ADL). Select ETHUSD with the default 4H time frame. Once done, open Indicators > Invite-Only Scripts > Amrullah Deep Liquidity %.
Choosing your initial capital that you want to begin backtesting
Go to Settings > Properties > Initial Capital and type in the amount of capital you're starting with. For the ETHUSD trading pair, the initial capital is denominated in USD.
Adjusting your equity at risk until the trades match your risk profile and comfort level
Go to Inputs > Equity Risk and adjust the value you are comfortable with. To analyse performance, you also want to choose the Start Year, Start Month and Start Date. Select lower equity risk for trades that you intend to take without the use of leverage. You can select an equity risk from 0.001 to 0.05 or all the way to 1.
Finding the time frame with the highest profit factor
Profit factor is defined as the gross profit a strategy makes across a defined period of time divided by its gross loss. You may choose to scroll through other time frames to find better models. You can select a different time frame from 1 min to 1H or all the way to 1M. Once you find the model you desire, you are encouraged to check that the model has a backtested profit factor of >3.5. You can then begin looking through the Performance Summary to find other detailed statistics.
Analysing the equity curve from the Amrullah Deep Liquidity (ADL) strategy
A green equity curve indicates that the trades are accumulating profits. A red equity curve indicates that the trades are accumulating losses. A healthy equity curve is one that is green and grows steadily to the right and upward direction.
Analysing the display arrows on the chart
Amrullah Deep Liquidity (ADL) tells you when to take a trade and how much to put in a trade. ADL can do this as the model identifies inventory risk in traders and market makers in the chosen market. On your Tradingview chart, ADL will display an arrow that tells you when to enter a trade. You can also see the amount to trade beside the arrow.
Opting for a trial
Yes you may opt for a trial which has limited availability.
The author's background and experience
My career in software and deep learning development spans across more than 5 years. At work, I lead a team to solve core computer vision tasks for large companies. I continually read all kinds of computer science books and papers, and follows progress on tools used in financial markets.
Amrullah Deep Liquidity for BTCUSDAmrullah Deep Liquidity (ADL)
Amrullah Deep Liquidity (ADL) is a high profit factor strategy based on models designed by Muhd Amrullah.
Choosing your trading pair that you are planning to backtest
Check that you have been given access to Amrullah Deep Liquidity (ADL). Select BTCUSD with the default 4H time frame. Once done, open Indicators > Invite-Only Scripts > Amrullah Deep Liquidity %.
Choosing your initial capital that you want to begin backtesting
Go to Settings > Properties > Initial Capital and type in the amount of capital you're starting with. For the BTCUSD trading pair, the initial capital is denominated in USD.
Adjusting your equity at risk until the trades match your risk profile and comfort level
Go to Inputs > Equity Risk and adjust the value you are comfortable with. To analyse performance, you also want to choose the Start Year, Start Month and Start Date. Select lower equity risk for trades that you intend to take without the use of leverage. You can select an equity risk from 0.001 to 0.05 or all the way to 1.
Finding the time frame with the highest profit factor
Profit factor is defined as the gross profit a strategy makes across a defined period of time divided by its gross loss. You may choose to scroll through other time frames to find better models. You can select a different time frame from 1 min to 1H or all the way to 1M. Once you find the model you desire, you are encouraged to check that the model has a backtested profit factor of >3.5. You can then begin looking through the Performance Summary to find other detailed statistics.
Analysing the equity curve from the Amrullah Deep Liquidity (ADL) strategy
A green equity curve indicates that the trades are accumulating profits. A red equity curve indicates that the trades are accumulating losses. A healthy equity curve is one that is green and grows steadily to the right and upward direction.
Analysing the display arrows on the chart
Amrullah Deep Liquidity (ADL) tells you when to take a trade and how much to put in a trade. ADL can do this as the model identifies inventory risk in traders and market makers in the chosen market. On your Tradingview chart, ADL will display an arrow that tells you when to enter a trade. You can also see the amount to trade beside the arrow.
Opting for a trial
Yes you may opt for a trial which has limited availability.
The author's background and experience
My career in software and deep learning development spans across more than 5 years. At work, I lead a team to solve core computer vision tasks for large companies. I continually read all kinds of computer science books and papers, and follows progress on tools used in financial markets.
Amrullah Deep Liquidity for ETHBTCAmrullah Deep Liquidity (ADL)
Amrullah Deep Liquidity (ADL) is a high profit factor strategy based on models designed by Muhd Amrullah.
Choosing your trading pair that you are planning to backtest
Check that you have been given access to Amrullah Deep Liquidity (ADL). Select ETHBTC with the default 2H time frame. Once done, open Indicators > Invite-Only Scripts > Amrullah Deep Liquidity %.
Choosing your initial capital that you want to begin backtesting
Go to Settings > Properties > Initial Capital and type in the amount of capital you're starting with. For the ETHBTC trading pair, the initial capital is denominated in BTC.
Adjusting your equity at risk until the trades match your risk profile and comfort level
Go to Inputs > Equity Risk and adjust the value you are comfortable with. To analyse performance, you also want to choose the Start Year, Start Month and Start Date. Select lower equity risk for trades that you intend to take without the use of leverage. You can select an equity risk from 0.001 to 0.05 or all the way to 1.
Finding the time frame with the highest profit factor
Profit factor is defined as the gross profit a strategy makes across a defined period of time divided by its gross loss. You may choose to scroll through other time frames to find better models. You can select a different time frame from 1 min to 1H or all the way to 1M. Once you find the model you desire, you are encouraged to check that the model has a backtested profit factor of >3.5. You can then begin looking through the Performance Summary to find other detailed statistics.
Analysing the equity curve from the Amrullah Deep Liquidity (ADL) strategy
A green equity curve indicates that the trades are accumulating profits. A red equity curve indicates that the trades are accumulating losses. A healthy equity curve is one that is green and grows steadily to the right and upward direction.
Analysing the display arrows on the chart
Amrullah Deep Liquidity (ADL) tells you when to take a trade and how much to put in a trade. ADL can do this as the model identifies inventory risk in traders and market makers in the chosen market. On your Tradingview chart, ADL will display an arrow that tells you when to enter a trade. You can also see the amount to trade beside the arrow.
Opting for a trial
Yes you may opt for a trial which has limited availability.
The author's background and experience
My career in software and deep learning development spans across more than 5 years. At work, I lead a team to solve core computer vision tasks for large companies. I continually read all kinds of computer science books and papers, and follows progress on tools used in financial markets.
inwCoin Bullish/Bearish Divergence - Risk% StrategyEnglish
=========
inwCoin RSI Bullish/ Bearish Divergence Startegy.
RSI Bullish and Bearish divergence is a popular strategy that most people use to find the "reversal pattern" and bet on it.
...But is it really profitable in long run?
To find the answer, I write this strategy to test this hypothesis and the result is interesting.
------
How it work?
------
As you know, the main logic of bullish / bearish divergence are..
Buy Signal : RSI higher low in Oversold zone and price lower low
Sell Signal : RSI lower high in Overbought zone and price lower high
I also add some parameters to my strategy
1) Use stop loss + specific stop loss level
2) lookback period = RSI / Price lookback period to find divergence
----------
The result
----------
Not working at all.
It working ok in some period of time like in sideway market
But when uptrend established, it can't make any profit ( well, it's mean reversion strategy after all haha )
Also, when market keep crashing like in Nov 2018.
This strategy got stop out so many times before you can make 1 profitable trade....
But that trade won't last long because you have to take profit when you got bearish divergence signal.
----------
Conclusion
----------
Combine with trend following strategy.
This strategy might be able to fill the gap of sideway market.
But don't depend solely on this strategy because in long run, it can't beat the market.
[astropark] Ichimoku Cloud StrategyDear Followers,
today a Great Swing Trading Strategy , runnable on a bot , which works great on High Timeframes (1D is suggested!) but also even better on 1m Renko chart.
If you are a scalper, you will love suggested entries for fast profit. You can run it on 1h timeframe (below is not suggested) if you are used to scalp trading and close each trade whenever you feel happy (a proper trailing stop strategy is suggested anyway).
This strategy is based on the Ichimoku Cloud Indicator and let's you set a lot of settings:
works on all timeframes (but 1D and above is suggested on normal candlesticks chart)
you can run this indicator on 1m Renko chart (be sure to enable the "USING RENKO CHART? ENABLE THIS OPTION" setting)
you can use 4 kind of Ichimoku Cloud (Custom, Slow, Standard and Fast - keep only one enabled)
you can make the Ichimoku Cloud show or not
you can enable showing the possibile re-entries
you can enable an heiking ashi analysis
you can enable a trailing stop strategy ("Auto Trailing Stop Loss" and "Close Trade When Price Breaks Above the Ichimoku Cloud" are two options very much suggested to keep enabled, especially on bot trading)
you can create your own trailing stop stategy and take profit strategy
you can enable a simple take profit strategy based on RSI Overbought and Oversold levels
This strategy only trigger 1 buy or 1 sell, but if you missed the possibility to open your long or short position don't get mad, but just enable the "show re-entry signals" option, so yout will be able to enter again (be sure to always use a proper money management ).
By the way, you can set any alarms you like in order to get notified when any kind of signal is triggered (you need to use the "alarms" version for this).
Strategy results are calculated on the timeframe from January 2016 to now, so on 3 years, using 10000$ as initial capital, doing only 6 trades (great swings!) and working at 1x leverage (so no leverage at all! perfect spot trading style!). If you like to use leverage, be sure tp use a safe option, like 3x or 5x at most in order to have liquidation price very far).
This is not the "Holy Grail", so use a proper risk management strategy.
This script will let you backtest how the indicator will perform on any chart you may test. Of course results will be very different depending on the chart you will open. I tested a lot of charts and always you can find a combination that keep this strategy in profit on swing trading style (and this means that if you can have a daily look at the chart you can always manage to maximize your profit on each trade!
The alarms version of this indicator, which will let you set all notifications you may need in order to be alerted on each triggered signals, can be found by searching for "astropark Ichimoku Cloud Strategy" and then choosing the "astropark" indicator with "alarms" suffix in the name.
This is a premium indicator , so send me a private message in order to get access to this script.
9KSCALPBOT 5x 15-min StrategyThis scalp bot uses low leverage to scalp small but high certainty movements on the 15-minute timeframe. Its amazing proprietary feature addresses the common problem of accumulated losses due to excessive stop-lossing -- this is done by assessing macro trends on higher timeframes when underwater, and then riding the position out until profitable again. You will get an average of about 1 entry and 1 exit per day.
The core logic uses a modified combination of CCI and Schaff Trend oscillators and a proprietary pattern recognition mechanic. Leverage should be kept low (5X or less) as the algorithm could temporarily go significantly underwater as well as pyramid (stack) same direction entries up to five times before closing. Any leverage higher than 5X significantly increases risk of liquidation. This bot has been consistently backtested for 10 months with about 75-85% win rate, 100%+ 3-month profitability, very low ~5% drawdown, all after factoring typical BitMex fees (0.06% after counting affiliate self-referral).
As with any automated strategy, it does not account for black swan events or disruptions in server connectivity (e.g., BitMex overload errors).
Mcote's Macro TrendThis identifies the macro trend.
The standard settings are for BTC (Bitmex) 2hour chart using settings 0, -2 and 4.
Other Settings: BTC (Bitmex) 4 hour chart using settings 0, 0 and 0.
You can find some profitable settings for lower timeframes too like BTC 15m -2, 8 and 8. This gives approx 23.5% profit and 4.6% DD for the past 4 weeks.
Have a play around with your own settings and let me know how you get on with the profits and other markets.
It also works in the Forex Market, for example on GBP/USD 4 hour chart it is quite easy to find settings that achieve 1300 pips over the year with 69% win ratio.
CBMA Bollinger Bands Strategy directed [ChuckBanger]I just did a Bollinger Bands script with my newly CB moving average
While I'm generally against posting strategies because it's very easy to fake performance numbers... This is just to share a cool strategy snippet. My settings are 10 contracts/order with pyramiding set to 10. You can make the profitability a lot higher if you set the order size higher. But that dosent help you getting more out of this script when u make a bot of this script. I set the order size to 10 contracts to get your attention not to showcase the performance.
When the price is going down and outside of the lower side of the band. And when the price comes back into the channel the strategy buys. Usually that means the price is going up. And when the price is going up and outside of the upper band. The strategy sells when it crosses back in to the channel.
It is a very simple strategy but it is effective. I guess you need a proper stop-loss for this script to bee really profitable in a bot environment.
BitMEX pump catcher - MACDThis is a modified version of the BitMEX pump catcher by Jomy .
I have tweaked the algorithm to use the difference in MACD to get the correct direction of entries rather than using direction of candles which are not always indicative of trend direction. These changes increase net profit, profitable trades, while reducing drawdown.
Below is a copy and paste of Jomy's explanation of the algorithm.
What is going on here? This strategy is pretty simple. We start by measuring a very long chunk of volume history on BitMEX:XBTUSD 1 hour chart to find out if the current volume is high or low. At 1.0 the indicator is showing we are at 100% of normal historical volume . The blue line is a measure of recent volume! This indicator gets interested when the volume drops below 90% of the regular volume (0.9), and then comes back up over 90%. There's usually a pump of increased price activity during this time. When the 0.9 line is crossed by the blue line, the indicator surveys the last 2 bars of price action to figure out which way we're going, long or short. Green is long. Red is short. To exit the trade we use a 7 period fast ema of the volume crossing under an 11 ema slower period which shows declining interest in the market signifying an end to the pump or dump. The profit factor is quite high with 5x leverage, but historically we see 50% drawdown -- very risky. 1x leverage looks nice and tight with very low drawdown. Play with the inputs to see what matches your own risk profile. I would not recommend taking this into much lower timeframes as trading fees are not included in the profit calculations. Please don't get burned trading on stupid high leverage. This indicator is probably not going to work well on alts, as Bitcoin FOMO build up and behavior is different. This whole indicator is tuned to Bitcoin , and attempts to trade only the meatiest part of the market moves.
Jomy should get full credit to this indicator
SMA_Cross + RSI1. long
a. RSI does not open an order when it is overbought, until the RSI falls below a certain threshold, and then open a position
b. There are already many positions. If the RSI is overbought, it will be profitable. When the RSI falls below a certain threshold, open a long position again until the moving average crossover signal turns short.
2. Short
a. RSI does not open an order when it is oversold, and then opens a position after RSI rises to a certain threshold
b. There are already short positions. If the RSI is oversold, it will be profitable to close the short position. When the RSI rises above a certain threshold, open the short position again until there is a reversal of the moving average crossing signal.
1. 做多
a. RSI在超买区间时不开单,直到RSI回落到某个阈值之下,再开仓
b. 已经有多仓,如果RSI超买,则平多获利,当RSI回落到某个阈值之下后,再次开多,直到有均线交叉信号反转做空
2. 做空
a. RSI在超卖区间时不开单,直到RSI上升到某个阈值之后,再开仓
b. 已经有空仓,如果RSI超卖,则平空获利,当RSI上升到某个阈值之上后,再次开空,直到有均线交叉信号反转做多
AlphaDeep Conservative v1.0What's AlphaDeep?
AlphaDeep is an expert trading system that advises customers with buy and sell entries, protective stops, and profit targets. With every trade you will know the precise entry level, whether you are going long or short, and the possible profit target.
AlphaDeep Features
An incredibly easy and reliable way to identify the start and finish of market trends.
Buy & Sell Signal Entries: When these signals are generated, they alert us to a market ready to possibly explode to new highs or lows.
Logical Stop, Forget Using Arbitrary Stops! The stop placement techniques put your stops where the "big money" has theirs. Their protective stops are seldom filled because they know the optimal possible placement level in order to maximize their profitability.
Target On Trades That Go Our Way: This target tells you exactly where the next possible market swing will likely be after our initial entry.
Long Only or Short Only Entry Options: Some traders prefer to only go long or short depending upon their market perspective. The system has inputs to enable long or short entries or both.
TradingView Alerts to MT4 MT5 + dynamic variables NON-REPAINTINGAccidentally, I’m sharing open-source profitable Forex strategy. Accidentally, because this was aimed to be purely educational material. A few days ago TradingView released a very powerful feature of dynamic values from PineScript now being allowed to be passed in Alerts. And thanks to TradingConnector, they could be instantly executed in MT4 or MT5 platform of any broker in the world. So yeah - TradingConnector works with indices and commodities, too.
The logic of this EURUSD 6h strategy is very simple - it is based on Stochastic crossovers with stop-loss set under most recent pivot point. Setting stop-loss with surgical precision is possible exactly thanks to allowance of dynamic values in alerts. TradingConnector has been also upgraded to take advantage of these dynamic values and it now enables executing trades with pre-calculated stop-loss, take-profit, as well as stop and limit orders.
Another fresh feature of TradingConnector, is closing positions only partly - provided that the broker allows it, of course. A position needs to have trade_id specified at entry, referred to in further alerts with partial closing. Detailed spec of alerts syntax and functionalities can be found at TradingConnector website. How to include dynamic variables in alert messages can be seen at the very end of the script in alertcondition() calls.
The strategy also takes commission into consideration.
Slippage is intentionally left at 0. Due to shorter than 1 second delivery time of TradingConnector, slippage is practically non-existing. This can be achieved especially if you’re using VPS server, hosted in the same datacenter as your brokers’ servers. I am using such setup, it is doable. Small slippage and spread is already included in commission value.
This strategy is NON-REPAINTING and uses NO TRAILING-STOP or any other feature known to be faulty in TradingView backtester. Does it make this strategy bulletproof and 100% success-guaranteed? Hell no! Remember the no.1 rule of backtesting - no matter how profitable and good looking a script is, it only tells about the past. There is zero guarantee the same strategy will get similar results in the future.
To turn this script into study so that alerts can be produced, do 2 things:
1. comment “strategy” line at the beginning and uncomment “study” line
2. comment lines 54-59 and uncomment lines 62-65.
Then add script to the chart and configure alerts.
This script was build for educational purposes only.
Certainly this is not financial advice. Anybody using this script or any of its parts in any way, must be aware of high risks connected with trading.
Thanks @LucF and @a.tesla2018 for helping me with code fixes :)
DD_Alfa_StrategyThis is my alfa strategy.
Backtested on the 12H timeframe from June 14, 2019 to November 11, 2019.
Summary:
Net Profit: 50.99%
B&H Return: - 4.49%
Max Drawdown: - 5.41%
Sharpe Ratio: 1.309
Profit Factor: 3.979
Hit Rate: 61.33% (Overall), 47.5% (Longs), 77.14% (Shorts)
Message me for access.
Cyatophilum Ultimate Trading Bot [BACKTEST]Private Indicator.
This is an indicator for trading low timeframes . It is generic and configurable meaning you can use it not only on crypto, but also forex, CFD, stocks etc.
HOW IT WORKS
The user chooses between three powerful base strategies: Bollinger Bands + Stoch RSI, RSI Divergences or the SARMA Strategy .
He can also trade support and resistance breakouts , with or without the base strategy.
Use the Alert Setup version to trigger entry and exit alerts .
You can choose between a set of trend lines that will filter trades that are against the main trend in order to increase profitability.
The integrated Trailing Stop Loss will trigger an alert to exit the trade.
You can use the Trailing Take Profit with a configurable % deviation. It will also trigger an exit alert.
SAMPLE USE CASES
XBTUSD 5m BitMEX
XBTUSD 15m BitMEX
ETHUSD 5m BitMEX
ETHUSD 15m BitMEX
USD/WTI 1m IDC (Us Dollar/ WTI Crude OIL)
Backtest below for BITMEX:LTCZ19 in 15m timeframe.
To get access to the indicator, use the link below, thanks for reading!
Backtesting on Non-Standard Charts: Caution! - PineCoders FAQMuch confusion exists in the TradingView community about backtesting on non-standard charts. This script tries to shed some light on the subject in the hope that traders make better use of those chart types.
Non-standard charts are:
Heikin Ashi (HA)
Renko
Kagi
Point & Figure
Range
These chart types are called non-standard because they all transform market prices into synthetic views of price action. Some focus on price movement and disregard time. Others like HA use the same division of bars into fixed time intervals but calculate artificial open, high, low and close (OHLC) values.
Non-standard chart types can provide traders with alternative ways of interpreting price action, but they are not designed to test strategies or run automated traded systems where results depend on the ability to enter and exit trades at precise price levels at specific times, whether orders are issued manually or algorithmically. Ironically, the same characteristics that make non-standard chart types interesting from an analytical point of view also make them ill-suited to trade execution. Why? Because of the dislocation that a synthetic view of price action creates between its non-standard chart prices and real market prices at any given point in time. Switching from a non-standard chart price point into the market always entails a translation of time/price dimensions that results in uncertainty—and uncertainty concerning the level or the time at which orders are executed is detrimental to all strategies.
The delta between the chart’s price when an order is issued (which is assumed to be the expected price) and the price at which that order is filled is called slippage . When working from normal chart types, slippage can be caused by one or more of the following conditions:
• Time delay between order submission and execution. During this delay the market may move normally or be subject to large orders from other traders that will cause large moves of the bid/ask levels.
• Lack of bids for a market sell or lack of asks for a market buy at the current price level.
• Spread taken by middlemen in the order execution process.
• Any other event that changes the expected fill price.
When a market order is submitted, matching engines attempt to fill at the best possible price at the exchange. TradingView strategies usually fill market orders at the opening price of the next candle. A non-standard chart type can produce misleading results because the open of the next candle may or may not correspond to the real market price at that time. This creates artificial and often beneficial slippage that would not exist on standard charts.
Consider an HA chart. The open for each candle is the average of the previous HA bar’s open and close prices. The open of the HA candle is a synthetic value, but the real market open at the time the new HA candle begins on the chart is the unrelated, regular open at the chart interval. The HA open will often be lower on long entries and higher on short entries, resulting in unrealistically advantageous fills.
Another example is a Renko chart. A Renko chart is a type of chart that only measures price movement. The purpose of a Renko chart is to cluster price action into regular intervals, which consequently removes the time element. Because Trading View does not provide tick data as a price source, it relies on chart interval close values to construct Renko bricks. As a consequence, a new brick is constructed only when the interval close penetrates one or more brick thresholds. When a new brick starts on the chart, it is because the previous interval’s close was above or below the next brick threshold. The open price of the next brick will likely not represent the current price at the time this new brick begins, so correctly simulating an order is impossible.
Some traders have argued with us that backtesting and trading off HA charts and other non-standard charts is useful, and so we have written this script to show traders what happens when order fills from backtesting on non-standard charts are compared to real-world fills at market prices.
Let’s review how TV backtesting works. TV backtesting uses a broker emulator to execute orders. When an order is executed by the broker emulator on historical bars, the price used for the fill is either the close of the order’s submission bar or, more often, the open of the next. The broker emulator only has access to the chart’s prices, and so it uses those prices to fill orders. When backtesting is run on a non-standard chart type, orders are filled at non-standard prices, and so backtesting results are non-standard—i.e., as unrealistic as the prices appearing on non-standard charts. This is not a bug; where else is the broker emulator going to fetch prices than from the chart?
This script is a strategy that you can run on either standard or non-standard chart types. It is meant to help traders understand the differences between backtests run on both types of charts. For every backtest, a label at the end of the chart shows two global net profit results for the strategy:
• The net profits (in currency) calculated by TV backtesting with orders filled at the chart’s prices.
• The net profits (in currency) calculated from the same orders, but filled at market prices (fetched through security() calls from the underlying real market prices) instead of the chart’s prices.
If you run the script on a non-standard chart, the top result in the label will be the result you would normally get from the TV backtesting results window. The bottom result will show you a more realistic result because it is calculated from real market fills.
If you run the script on a normal chart type (bars, candles, hollow candles, line, area or baseline) you will see the same result for both net profit numbers since both are run on the same real market prices. You will sometimes see slight discrepancies due to occasional differences between chart prices and the corresponding information fetched through security() calls.
Features
• Results shown in the Data Window (third icon from the top right of your chart) are:
— Cumulative results
— For each order execution bar on the chart, the chart and market previous and current fills, and the trade results calculated from both chart and market fills.
• You can choose between 2 different strategies, both elementary.
• You can use HA prices for the calculations determining entry/exit conditions. You can use this to see how a strategy calculated from HA values can run on a normal chart. You will notice that such strategies will not produce the same results as the real market results generated from HA charts. This is due to the different environment backtesting is running on where for example, position sizes for entries on the same bar will be calculated differently because HA and standard chart close prices differ.
• You can choose repainting/non-repainting signals.
• You can show MAs, entry/exit markers and market fill levels.
• You can show candles built from the underlying market prices.
• You can color the background for occurrences where an order is filled at a different real market price than the chart’s price.
Notes
• On some non-standard chart types you will not obtain any results. This is sometimes due to how certain types of non-standard types work, and sometimes because the script will not emit orders if no underlying market information is detected.
• The script illustrates how those who want to use HA values to calculate conditions can do so from a standard chart. They will then be getting orders emitted on HA conditions but filled at more realistic prices because their strategy can run on a standard chart.
• On some non-standard chart types you will see market results surpass chart results. While this may seem interesting, our way of looking at it is that it points to how unreliable non-standard chart backtesting is, and why it should be avoided.
• In order not to extend an already long description, we do not discuss the particulars of executing orders on the realtime bar when using non-standard charts. Unless you understand the minute details of what’s going on in the realtime bar on a particular non-standard chart type, we recommend staying away from this.
• Some traders ask us: Why does TradingView allow backtesting on non-standard chart types if it produces unrealistic results? That’s somewhat like asking a hammer manufacturer why it makes hammers if hammers can hurt you. We believe it’s a trader’s responsibility to understand the tools he is using.
Takeaways
• Non-standard charts are not bad per se, but they can be badly used.
• TV backtesting on non-standard charts is not broken and doesn’t require fixing. Traders asking for a fix are in dire need of learning more about trading. We recommend they stop trading until they understand why.
• Stay away from—even better, report—any vendor presenting you with strategies running on non-standard charts and implying they are showing reliable results.
• If you don’t understand everything we discussed, don’t use non-standard charts at all.
• Study carefully how non-standard charts are built and the inevitable compromises used in calculating them so you can understand their limitations.
Thanks to @allanster and @mortdiggiddy for their help in editing this description.
Look first. Then leap.