MACD oscillator with EMA strategy 4H This is a simple, yet efficient strategy, which is made from a combination of an oscillator and a moving average.
Its setup for 4h candles with the current settings, however it can be adapted to other different timeframes.
It works nicely ,beating the buy and hold for both BTC and ETH over the last 3 years.
As well with some optimizations and modifications it can be adapted to futures market, indexes(NASDAQ,NIFTY etc), forex(GBPUSD), stocks and so on.
Components:
MACD
EMA
Time condition
Long/short option
For long/exit short we enter when we are above the ema, histogram is positive and current candle is higher than previous.
For short /exit long , when close below ema, histo negative and current candles smaller than previous
If you have any questions please let me know !
BTC-M
Crypto price action strategy long onlyThis is a very powerful strategy, which I adapted mostly for futures perp pairs like BTCUSDTPERP or ETHUSDTPERP.
Its made purely of price action rules like :
We check for the last down candle before a sequence of up candles, or the last up candle before a sequence of down candles.
At the same time I combine with other rules ,like for example during this sequence comparing the actual candle high and low with the min/max of the candles from the sequece before establishing if its a potential entry or not.
So far I have noticed that it works greatly with big timeframes 1h+ .
The results from above are using 1h on BTCUSDTPERP binance, together with 4 on length and 0.03% comission for futures on perp binance
If there are any questions , let me know in private !
(IK) Stoch-60-15This strategy uses 60 minute and 15 minute stochastic data to determine entry and exit; it only executes long trades. I've only used this on BTC/USD, but I imagine the concepts employed should hold for any ticker
The script builds a simple Stochastic indicator for the current timeframe, and it also plots a single stochastic line for a higher resolution time frame. I've found good results trading on 15 minutes with a 60 minute higher resolution.
We enter a trade if the higher resolution stochastic is in an uptrend, if the current resolution stochastic is in an uptrend, and if the current stochastic value is less than 50.
We exit a trade when the current stochastic value crosses below 80 or the trailing stop loss is hit.
Stop loss is calculated with the input value, Stop Loss Percent. This value represents the percent of capital you're willing to lose before exiting a trade. A stop loss percent of 0.050 means your trade will exit if it falls 5% from the highest high since entering a trade. You will have at least 95% of your original capital left. There is no option to change a trailing stop loss to a set stop loss (in order to keep the code as simple as possible), however, you can turn it off by setting Stop Loss Percent to 1.
I tried to keep the script itself lightweight and very easy to understand, so it's not very customizable in regards to input options. You can change stochastic data, as well as the trailing stop percentage. The script can be adjusted to other timeframes, however this requires a small change in the code (details in script comments). Changing just the "Higher Resolution" input will not produce expected results
My hope is that by keeping it lightweight and simple, it will be easier for you to adjust to your specific needs, or work into a larger strategy.
Heikin-Ashi candles strategy CRYPTO Long termThis is a simple and efficient trading strategies which relies entirely on Heikin ashi candles logic, but used with normal candles in order to avoid false signals.
For entry we have
Long condition : when we have a green candle and previous close was lower than the previous open(previous candle was red)
For short: when we have a short candle and previous cande was green.
For the better function of this strategy, is best to use big timeframes like 12h or 1day or even higher than that.
If you have any questions, please let me know !
Simple BTC scalper 1minThis is a simple but effiecient 1 min scalper for BTC pairs
Its made of EMA 200 and Stochastic RSI.
Rules are simple :
For long we check that close is above the EMA and that stochastic crosses on the 20 level.
For short we check that close is below the EMA and that stochastic crosses above the 80 level.
We exit long when we enter short, and viceversa for short.
If there are any questions, please let me know !
CRYPTO RVI FUTURE 1HThis is a crypto strategy adapted for the futures pairs, especially the perpusdt ones from binance for 1h time frame.
The main component here is the RVI, which is a modified form of the RSI indicator. The RVI, measures more the general direction of the volatility, and can get the trends far smoother than the RSI.
The logic inside is the same like we would normally do with RSI, we check for overbought and oversold levels, and based of that we have an entry or exit depending if we go long or short.
I have tested this product with all the pairs from PERPUSDT from binance and seems to works with the majority of them, of course on some better than the others.
If there are any questions, please let me know !
Crypto ENGULF Candle with EMAThis is strategy based on the popular candle pattern, the ENGULFING candle together with multiple EMA for small and big length, in this case 5,20,50 and 200.
The logic for long is the next one, we have a big engulf candle, meaning the the engulf low is lower than the previous low and the high of the candle is higher than the previous candle, together with close of the engulf higher than the previous candle. At the same time I am checking that the EMA are in ascending order , like small one bigger than the middle one and the middle one above big one.
For short, we check the same patterns for engulf, but this time applied to a red candle, opposite to a green candle in long. The same we check for EMA that they are in descending order, like 5<20 and 20<50 and so on.
For exit in both situations, I use the EMA 200 cross above or below, together with a tp/sl system.
If you have any questions, please let me know on private
Crypto rsi cci mf stoch rsi oscillators all in one strategyThis is a strategy based on the popular oscillator like RSI, CCI, MF and Stochastic RSI oscillators.
In this situation I use a very high length , 100 candles, and the middle point between overbought and oversold levels at 50.
The entry for long is when all oscilators are above 50, and the exit is when they are below 50 + plus some minor modifications
If you have any questions, please message me a private message !
Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)Good morning traders.
It's been a while from my last publication of a strategy and today I want to share with you this small piece of script that showed quite interesting result across bitcoin and other altcoins.
The macd indicator is an indicator built on the difference between a fast moving average and a slow moving average: this difference is generally plottted with a blue line while the orange line is simply a moving average computed on this difference.
Usually this indicator is used in technical analysis for getting signals of buy and sell respectively when the macd crosses above or under its moving average: it means that the distance of the fast moving average (the most responsive one) from the slower one is getting lower than what it-used-to-be in the period considered: this could anticipate a cross of the two moving averages and you want to anticipate this potential trend reversal by opening a long position
Of course the workflow is specularly the same for opening short positions (or closing long positions)
What this strategy does is simply considering the moving average computed on macd and applying a linear regression on it: in this way, even though the signal can be sligthly delayed, you reduce noise plotting a smooth curve.
Then, it simply checks the maximums and the minimums of this curve detecting whenever the changes of the values start to be negative or positive, so it opens a short position (closes long) on the maximum on this curve and it opens a long position (closes short) on the minimum.
Of course, I set an option for using this strategy in a conventional way working on the crosses between macd and its moving average. Alternatively you can use this workflow if you prefer.
In conclusion, you can use a tons of moving averages: I made a function in pine in order to allw you to use any moving average you want for the two moving averages on which the macd is based or for the moving average computed on the macd
PLEASE, BE AWARE THAT THIS TRADING STRATEGY DOES NOT GUARANTEE ANY KIND OF SUCCESS IN ADVANCE. YOU ARE THE ONE AND ONLY RESPONSIBLE OF YOUR OWN DECISIONS, I DON'T TAKE ANY RESPONSIBILITY ASSOCIATED WITH THEM. IF YOU RUN THIS STRATEGY YOU ACCEPT THE POSSIBILITY OF LOOSING MONEY, ALL OF MY PUBBLICATIONS ARE SUPPOSED TO BE JUST FOR EDUCATIONAL PURPOSES.
IT IS AT YOUR OWN RISK WHETHER TO USE IT OR NOT
But if you make money out of this, please consider to buy me a beer 😜
Happy Trading!
Flawless Victory Strategy - 15min BTC Machine Learning StrategyHello everyone, I am a heavy Python programmer bringing machine learning to TradingView. This 15 minute Bitcoin Long strategy was created using a machine learning library and 1 year of historical data in Python. Every parameter is hyper optimized to bring you the most profitable buy and sell signals for Bitcoin on the 15min chart. The historical Bitcoin data was gathered from Binance API, in case you want to know the best exchange to use this long strategy. It is a simple Bollinger Band and RSI strategy with two versions included in the tradingview settings. The first version has a Sharpe Ratio of 7.5 which is amazing, and the second version includes the best stop loss and take profit positions with a Sharpe Ratio of 2.5 . Let me talk a little bit more about how the strategy works. The buy signal is triggered when close price is less than lower Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. The sell signal is triggered when close price is greater than upper Bollinger Band at Std Dev 1, and the RSI is greater than a certain value. What makes this strategy interesting is the parameters the Machine Learning library found when backtesting for the best Sharpe Ratio. I left my computer on for about 28 hours to fully backtest 5000 EPOCHS and get the results. I was able to create a great strategy that might be one of TradingView's best strategies out on the website today. I will continue to apply machine learning to all my strategies from here on forward. Please Let me know if you have any questions or certain strategies you would like me to hyper optimize for you. I'm always willing to create profitable strategies!
P.S. You can always pyramid this strategy for more gains! I just don't add pyramiding when creating my strategies because I want to show you the true win/loss ratio based buying one time and one selling one time. I feel like when creating a strategy that includes pyramiding right off the bat falsifies the win rate. This is my way of being transparent with you all. Have fun trading!
Williams Alligator + RSI + T3CCIWilliams Alligator strategy is based on indicator developed by a legendary trader Bill Williams, an early pioneer of market psychology.
The strategy is based on a trend-following Alligator indicator, which follows the premise that financial markets and individual securities trend just 15% to 30% of the time while grinding through sideways ranges the other 70% to 85% of the time. Williams believed that individuals and institutions tend to collect most of their profits during strongly trending periods.
Although Alligator is a very strong tool it has a lot of weak signals and has lag span on entries and exits. We added RSI oscillator and T3CCI to clear market noises and weak signals. Moreover the approach we intoduced to the indicator allows to enter positions and close them earlier than orginal indicator which ensures stronger signals
The strategy supports traditional and cryptocurrency spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 1D timeframe charts
The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
Good for long and Short positions
Produces strong long-term entries and closures of positions
Stable to short-term market fluctutions
Easy configuration with a user friendly interface
Backtests show high accuracy around 85.71%
High Net Profit percentage around 21.26%
High profit factor around 82.403
How to use?
1. Apply strategy to the trading pair your are interested in at 1D timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
Feel free to copy and use this script for your ideas and trading!
Heikin Ashi + Price Action Crypto LONG StrategyThis is a simple and efficient crypto strategy, designed for big timeframes like 12/24h.
On history it beats buy and hold strategy in many ocasions, and because of a low DD, pyramid can be used to elevate our winnings while still keeping a low DD < 40% avg.
For the purpose of this example, I used 100% of the capital on each trades, together with a comission of 0.1%
Warning : THERE IS NO STOP LOSS ON THIS STRATEGY ,USE IT AT YOUR OWN RISK
This strategy is made with inside Heikin Ashi candles , together with some price actions logics like for long Close > High and green candle and High > High .
We exit when we have a red candle and the current close is lower than the previous Low
If you have any questions, message me in private !
Heikin-Ashi Change Strategy/ Indicator
Today I bring you a simple and efficient indicator/strategy based only on HA.
Can be used together with other TA tools or alone.
The idea behind is simple :
We have to forms to calculate the candle, using inner HA candles or normal candles. Once we have that we apply certain rules to get the max high, min low, open and close(ohlc)
With that then we check for changing in the patters like for example
For long close is higher than open and the previos close is lower than open. For short is going to be the opposite of long condition.
For the purpose of this example, I only use long direction and exit once we have the short signal.
If you have any questions, please let me know in private chat !
Momentum Strategy (BTC/USDT; 30m) - STOCH RSI (with source code)Here's a strategy for low time frames (30min suggested) for BTC , based on momentum Analysis using Stochastic RSI
By default the strategy will use the 50% of the specified capital for each trade; if "Gamble Sizing" is enabled, it will add the specified amount of capital (25% by default, until reaching the 100% limit or lower) for the next trade after having detected a loss in the previous trade; if the next trade is successful, the size for the next trade comes back to 50%
• Trend Filter LONG: If the fast exponential moving average is UNDER the slow exponential moving average , it won't open LONG positions
• Trend Filter SHORT: If the fast exponential moving average is ABOVE the slow exponential moving average , it won't open SHORT positions
• Bars delay: the strategy will wait the specified amount of bars before closing the current position; the counter is triggered as soon as the closing trade condition is verified
BY MAKING USE OF THIS STRATEGY, YOU ACKNOWLEDGE AND AGREE THAT: (1) YOU ARE AWARE OF THE RISKS ASSOCIATED WITH TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; (2) YOU SHALL ASSUME ALL RISKS RELATED TO THE USE OF THIS STRATEGY AND TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; AND (3) I SHALL NOT BE LIABLE FOR ANY SUCH RISKS OR ADVERSE OUTCOMES.
SOURCE CODE BELOW
Best Crypto DEMA Strategy Long onlyThis is a crypto strategy suited for big time frames like 3h+.
THIS IS A LONG ONLY STRATEGY , SUITED TO BEAT BUY AND HOLD !
It's a very risky strategy because it has no stop loss at all, so be extremely careful with it.
This strategy is made of 2 DEMA a fast and a slow one.
We have two rules : entry it's when we have a crossunder between the slow DEMA and the fast DEMA. We exit when the opposite happens, in this case, when the slow is above fast.
For this example I used an initial capital of 1000 eur, using 100% of it always, and a commission of 0.2% per each deal.
DekaBot V5.1Dekabot is a BTCUSDT trading signals indicator. The buy/sell alerts are not re-painted so the results displayed will not change when Tradingview is reloaded.
Dekabot uses a combination of Bollinger Bands, MAs and RSI to determine if the market is in an uptrend or downtrend and a custom built indicator determines when a market is oversold and overbought which creates the buy and sell signals.
Please PM us to obtain access to use Dekabot Signals.
Momentum Strategy for cryptos (V7.B.4)Here's a strategy for low time frames (30min suggested) for BTC, based on momentum Analysis using Stochastic RSI
By default the strategy will use the 50% of the specified capital for each trade; if "Gamble Sizing" is enabled, it will add the specified amount of capital (25% by default, until reaching the 100% limit or lower) for the next trade after having detected a loss in the previous trade; if the next trade is successful, the size for the next trade comes back to 50%
• Trend Filter LONG: If the fast exponential moving average is UNDER the slow exponential moving average, it won't open LONG positions
• Trend Filter SHORT: If the fast exponential moving average is ABOVE the slow exponential moving average, it won't open SHORT positions
• Bars delay: the strategy will wait the specified amount of bars before closing the current position; the counter is triggered as soon as the closing trade condition is verified
BY MAKING USE OF THIS STRATEGY, YOU ACKNOWLEDGE AND AGREE THAT: (1) YOU ARE AWARE OF THE RISKS ASSOCIATED WITH TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; (2) YOU SHALL ASSUME ALL RISKS RELATED TO THE USE OF THIS STRATEGY AND TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; AND (3) I SHALL NOT BE LIABLE FOR ANY SUCH RISKS OR ADVERSE OUTCOMES.
Quansium Series A BacktestThis comes with preconfigured setups or strategies. Simply choose one from our list based on the timeframe it was made for. Leverage can be changed; to keep trading safe, a maximum of 2 is allowed. In our findings, this was able to trade crypto (specifically BTC ), MES (Micro E-mini S&P 500 Index Futures ), and stocks. It is important to know that setups A, B, C, and D use variable position sizing, and dynamic stop loss/trailing stop/take profit, these parameters are provided through the alerts. The rest of the strategies were created with a simpler approach in mind, just plainly entry/exits signals.
Quansium as a framework:
Price reformat: we take the price source (Open, Close, High, Low) and remove any noise that affects the accuracy of our signals.
Time awareness: we take several time periods of the data on the chart such as start, end, and whole. We use this to add more depth to our signals.
Position size: our backtest tries to recreate as much as the real world trades as possible so our position is determined by the current equity. We also use the volatility of the market to increase or decrease our exposure or risk.
Risk awareness: stop loss, take profit, trailing stop are the risk exits we use to provide our users some peace of mind. These parameters are totally dynamic and follow the same behavior of the market.
Signals filtering: to make almost non-existent any errors and increase the quality of our trades, our indicators go through multiple phases, this avoid double entries or early exits, and help maintain a record of what has transpired and what’s currently taking place.
Indicators: whenever we can we use custom code or our own functions instead of the defaults ones provided. This gives us total control of what we’re trying to achieve. In many cases we tend to combine several indicators’ logic into one creating a more personalized take on it.
Easiness: since we started our main goal has been to provide the easiest and fastest way to alerts’ creation. It has taken us years to reach this level where now we already provide a list of preset strategies so the user doesn’t have to spend much time tinkering with scripts and more on other matters, because we know life is more than just trading.
Raw signals: we provide the option to turn off as much of our advanced features such as stop loss, take profit, trailing stop, dynamic sizing, etc, etc for a simple approach. Trade signals still go through the signals filtering method mentioned above,
Timeframe pairing: we take trading very seriously, by no way we’ll want the user to lose money (although such thing is expected because past results aren’t an indicative of futures ones), through years of experience we have found what are usually common mistakes the user makes, this feature allows us to only activate the strategy if the right timeframe is chosen.
Trend filters: through the years we have improved the arts of the trend. We like to keep things simple but yet powerful. We observe the macro and micro trend of the security. This helps confirm we are entering at the desirable timing. We also incorporate volume and volatility into decision making, we simply programmed it to trade when these are increasing and higher than the average values observed in both the short and long term. Finally we take into account the strength of the pair to make our final choice of whether to enter or wait, and if anything flashes contrary movement then we cancel the upcoming signal and stop monitoring until the next one comes along.
Full automated risk: stop loss, take profit, and trailing stops usually are set in percentages, and optimized even more using the current market behavior to become more adaptive. But always remains some sort of fixation, so the user must choose a value somewhere. This is where our framework shines the most, as previously mentioned before when we take time into our calculations, we use several periods to observe performance and get values that keep our risk exits natural and closest to the flow of the market itself.
Setups:
A: Centered oscillator with the difference of several moving averages with more sensitive settings. Momentum focused.
B: Centered oscillator using simple moving averages. Trend-Following focused.
C: Centered oscillator using smoothed data with the help of faster moving averages. Trend-Following focused.
D: Centered oscillator with the difference of several moving averages with less sensitive settings. Trend-Following focused.
E: Centered oscillator with the difference of moving averages where the standard deviation is applied first. It uses less sensitive settings. Trend-Following focused.
F: Finds the relationship between multiple readings of the price’s relative strength to better pin-point downs and ups. Trend-Following focused.
G: Centered oscillator with the difference of moving averages where the standard deviation is applied first. It uses more sensitive settings. Momentum focused.
H: Multiple centered oscillators using various moving averages. Trend-Following focused.
I: Centered oscillator using simple moving averages. Momentum focused.
Note: The framework is composed of almost 1000 lines of code as compared to each indicator that makes up the setup which is around 10. The power from Quansium doesn't come from the strategies themselves but rather the overall system that turns simple signals into complex and advanced trades.
Strategy Tester:
Initial Capital: chosen value is $20,000, as an approximate to Bitcoin’s ATH (All-Time High). In previous iterations we noticed some trades won’t go through if the capital was less than the ATH.
Order Size: 100% of equity (although the script controls this, and this is of no regards to the results).
Pyramiding: 1, system doesn’t place multiple entries in a row, only one at a time.
Commission: This simulates order execution with custom trading fees. Commissions are turned off by default because this script works in various markets and each operates differently. In order to reach results that are close to real world conditions, it is imperative the user fills this based upon their broker or exchange data.
When we started, we were focused on finding the best indicator, or creating it ourselves. After years we came to realize that the secret is not in which indicator you use but the framework behind it. All strategies have bad, good, best, worst performance periods. The key of a good system is to help keep you safe when it’s down and maximize your potential when it’s up. We hope this material at the very minimum inspires you to keep going and not lose faith, because it is not the smartest who win but those who persevere.
OCC Trend Combo 1 day BTC MoonflagRuns on BTC 1 DAY (NOTE USE THIS NOT THE PREVIOUS VERSION - DEFAULTS TUNED TO 1 day BTC HERE)
USE DEFAULT SETTINGS
The strategy is to maximise the profit for OCC longs (ALMA algo)
Longs start when the price action settles around the ALMA OCC, then typically breaks up
Then follow the trend indcator (blue/orange)
Shorts normally happen when the price action crosses below the ALMA OCC, although these initiate faster than the 1 day time setting - so watchout for shorts - are harder to predict than longs
So this catches most of the big move longs at their initiation
CRYPTO HA Strategy money maker long termToday I bring you another amazing strategy.
Its made of 2 EMA in this case 50 and 100.
At the same time, internaly for candles we calculate the candles using the HA system ( while still using in live the normal candles). This way we can assure that even if we use HA candles, we avoid repainting, and its legit.
We first calculate the HA candles based on the EMA 50 values, and after that , we use that candle properties to apply to EMA 100.
Once we have that, for entries we have the next conditions :
sell = o2 > c2 and o2 < c2 and time_cond
buy = o2 < c2 and o2 > c2 and time_cond
For sell : Our open from HA 100 is bigger than Close from ha 100, and the previous open is smaller than previous close
For long : Our open from ha 100 is smaller than close from ha 100 and the previous open is bigger than previous close.
Then we have 2 options :
If we wnat to go only long , which is my prefered version ,or the original one where we go both long and short.
I found that the best results are in general around bigger timeframes, 1h+ , 3h works the best so far on my tests.
For exit we have 2 versions :
1 lets say we had a long signal, as soon as we have a short signal we close the trade. Viceversa for short.
2. Is based on price % movement. In this case I use 7.5% price movement of asset.
We have no TP in use for this system.
For the purpose of this test I use 10.000 $ account. For test I use 100% of it, without any leverage.
I use the SL based on price movement , which is a very risky tool, since it can fluctuate even at 20-30% of our capital.
For comission I used 0.1% for each deal, and a slippage of 5 points.
Be cautious with this system !
If you have any questions , message me.
Crypto MultiTrend multi timeframesHello, today I bring you another crypto strategy which can work with multiple timeframes and most of crypto currencies
Its made entirelly of multiple EMA , of different lengths : like super fast, fast, normal, slow and very slow
We also combine a little bit of price action together with the trend direction both for entry and for exits, to have a more precise control.
The rules for long close is above all EMA's, they are in ascending order and the at same time close is bigger than the previous high, and previous high > second previous high, close > 3rd previous high , close > 4th previous high, close > 5th previous high, 5th high > 6th high.
For short we have the same, but instead of high, we use lows, and instead of > we use < .
As exit we have 2 conditions for long and 2 for short
To exit long we have : super fast ema < fast ema and fast ema < normal and normal < slow ema. For short, they would be the opposite, using > sign.
The second exit for long is when our current low crosses below 4 of ours EMA during the same candle. For short, is when the high crosses above 4 of ours EMA during the same candle.
CAUTIOUS : Currently it uses not risk management system, so in this current condition is extremely risky . Be careful
If you have any questions lets me know
Daily Crypto StrategyThis is a long only strategy.
This strategy measures and creates a signal when an asset is moving out of a correlation with CBOE VIX into an inverse correlation.
It also has a risk management with TP/SL based on percentages.
If you have any questions let me know.
DD_ScalpDD_Scalp is a buy/sell trading strategy based on momentum from breakout levels. It works well on 1D and 4H timeframes. It is a helpful indicator for scalping short range profits on a daily basis or for booking profits in a high time frame setups such as those given by my DD_Echo indicator. It works for all major cryptos such as BTC, ETH, LINK, and other alts. It also works for forex.
If you want to access this, please DM me.