Buy and Sell Signals (With Stops and TP) - No Repaint
This strategy is primarily based on the MACD-indicator, but signals are filtered with the 200 ema.
This indicator gives you for every trade a stopp loss and take profit line.
As with every other strategy risk management is key. The trades taken have all 1.5:1 risk ratios, so when you lose one trade and win one you are still in profit.
This will only work if you calculate your position size accordingly when actually trading!
Without leverage:
position_size = (portfolio * loss_per_trade) / (stop_loss_in_percent )
Leverage:
position_size = (portfolio * loss_per_trade) / (stop_loss_in_percent * leverage)
For example:
portfolio = 100000
loss_per_trade = 0.01 | I only want to lose 1% per trade
stop_loss_in_percent = 0.04 | The stoploss is 4% away from our entry
(100000 * 0.01) / 0.04 = 2500 => if this trade hits my stop, I will only lose 1 % of my portfolio.
This strategy works well with:
BTCUSD 30m
BANDUSDTPERP 5m
EUR DOLLAR 15m
Of course it can be applied to anything, but you should firstly validate the strategy via backtest for the according trading pair and timeframe as it can perform differenlty in various timeframes.
This script does not repaint.
If you are interested in this strategy dm me.
Good luck on your trades!
Strategy
Smoothed Trend Wave (Strategy)
This is a the Final version of Smooth Trend Wave
* Average Trend is show
* Calculation of different period of moving average
* Candlestick Pattern
* Background color is based on candle color.
Use Strategy Format to show back-test result. When I create this indicator is based on daily chart. (lower timeframe, result might be different)
7 type of strategy (can be select)
Strategy 1 & 2 : long/short according the trend
Strategy 3 & 4 : long/short according retracement in same trend
Strategy 5 & 6 : long/short bet for rebound
Strategy 7 : potential buying point (low chance happens)
Example of back-testing is use crypto between 1-1-2019 to 30-7-2020 (after JULY is a bullish momentum will causing *repaint" of strategy result)
* Strategy is set initial equity of 10000usd
* Each order is only 30% of equity, to make risk management
* Maximum 5 order is allow in strategy
Kindly PM or comment below if you have any question.
Strategy - Profit Maximizer by PMaxIt is a small modification to the "Profit Maximizer Max" script to make it a strategy by date range.
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
Strategy Template[Benson]A strategy template with following user inputs:
1. backtest start date
2. tp% and stop loss%
3. trail stop price and trail stop offset
The long and short condition is ma crossover and corssunder by default.
You can change the logic with your own.
Open Close Cross Strategy R6.1 revised by yourmattieOriginal version: Open Close Cross Strategy R5 revised by JustUncle.
Change: script changed to a study script with custom alerts.
This revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
Revised by JustUncleL
Description :
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.
Read more about the indicator original script
Klik here
##USE AT YOUR OWN RISK##
Use this as overlayer on the original strategy to set custom alerts.
Info: with this study script no buy/sell arrows show up op the chart.
Does some know a solution for this issue:
Issue: sometimes it gives a false signal because even when you set "one per bar close" the custom set alert might come halfway the bar....and it might be a false signal when the bar is closed
Does somone know a fix for this? I tried with barstate.iscomfirmed but it didn't work for me.
Ps. I'm not a developer...just changed the scipt by watching a youtube tutorial.
MrBS:Directional Movement Index [Trend Friend Strategy]This goes with my MrBS:DMI+ indicator. I originally combined them into one, but then you cannot set alerts based on what the ADX and DMI is doing, only strategy alerts, so separate ones have more flexibility and uses.
Indicator Version is found under "MrBS:Directional Movement Index " ()
//// THE IDEA
The majority of profits made in the market come from trending markets. Of course there are strategies that would say otherwise but for the majority of people, THE TREND IS YOUR FRIEND (until the end). The idea is to follow the trend, entering once it has established its self and exiting positions when the trend weakens. This strategy gives a rough idea of the returns produced from following purely the ADX signals. At first Heikin Ashi values were used for the calculation but the results show it's not that effective. The functionality to switch between calculation types has been left in, so we can uses HA candle data to generate signals from while looking at an OHLC chart, if we want to experiment. Due to the way strategies work, we are unable to get reliable results when running the strategy on the HA chart even if we are calculating the signals from the real OHLC values. It is best to always run strategies on standard charts.
When using this strategy, I look for confirmation of the signal based on stochastic (14:3:6) direction, reversal level of stochastic, and divergance, to add confidence and adjust position size accordingly. I am going to try and code some version of that in future updates, if anyone can help or has suggestions please drop me a message.
//// INDICATOR DETAILS
- The default settings are for optimized Daily charts, for 4 hour I would suggest a smoothing of 2.
- The default values used for calculation are the Real OHLC, we can change this to Heikin Ashi in the menu.
- The strategy enters a position when ADX crosses the threshold level, and closes the position when ADX starts to fall.
- There is a signal filter in the form of a 377 period Hull Moving Average, which the price must be above or bellow for long and short positions respectively.
- The strategy closes the position when a cross-under of the ADX and its 4 period EMA. This is an attempt to stay into positions longer as sometimes the ADX will fall for 1 bar and then keep rising, while the overall trend is strong. The downside to this is that we exit trades later and this affects our max drawdown.
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.
PRIO Trend FollowingWith this indicator you can generate automatic BUY-SELL signal on your chart and trade with an ease. This is a trend following indicator based on HIGH-LOW ema channel. You can choose ema period from the input menu on settings, and add to your favourite time frame.
Scalping Strategy with SL and TP activation settingsThis strategy can be used on pretty much every timeframe that gives you a satisfying performance and will give you entries with a high probability of a winning trade.
Recommended are lower timeframes, because after all this is a scalping strategy and with that your chart wont be cluttered.
How to use this script?
Currently you can setup your positions SL and TP, because the markets vary in volatility it could improve the performance of the strategy.
You will simply get your signals and can decide to act upon them.
Stop loss: Simply your stop loss order which will trigger when price moves a given % away from your entry.
TP-Activation: When price reaches your % target it will trigger a stop limit order. So if price turns against your position after reaching your target it will close your position in profit and if it runs in your favoured direction it will trigger at a later stage.
Trailing-Offset-%: After reaching your % target it will trigger the TP order with an offset. So if you set your trailing offset to 0.1%, your TP order will be set behind 0.1 %. This can be used to test if the strategy would perform as well
if you leave more room for trades to play out.
Will this script make me profitable?
No strategy is a silver bullet and it depends mostly on you.
Trading is not easy and most people fail, because their risk management skills arent solid or they cant control their emotions.
This script will give you statistically often good entries, so even if you hit a losing streak your SL will protect you from losing more than necessary until you get a winning streak.
Patience and consistency is key to be profitable in the long run.
Does the script repaint?
Although you will get a notification when setting an alarm that the indicator may repaint, no security function is used and the signals will stay on the chart, because the signal is calculated based on the last candle close and will trigger with the next candle.
I am still looking into why that notification pops up.
You are free to try the indicator for a limited time to be sure.
My experience with the strategy
The overall statistical advantage is great. The strategy can be used simply as it is, but becomes better if you already have some experience with trading. Sometimes it will give you a good entry, reaches your target and the price still goes in your preferred direction. So your trading returns and experience could be improved with confluence, but it is totally fine as it is and if used right will help you get going.
Disclaimer: This is no financial advice. This is a tool and I am not responsible for your actions.
If you are interested in the indicator feel free to dm me on TradingView.
Booming Bull 15 Min StrategyBooming Bull 15 Min strategy
Conditions
First 15 min candle high-low must be less than .75%
Next candle is crossing either high or low
BB+K strategyApplying Bollinger Bands and K-bar strategies
Suitable for long time periods
Suitable for forex trading, when the forex deviation is too large, the Fed will intervene and thus correct
Strategy: Enter when the price hits the upper or lower BB track and there is a reversal of the strong signal, and exit when it hits the other track and there is a reversal signal.
Escaping of Rate from Avarage By Mustafa OZVER StrategyI simulated the EoRfA indicator with the gold price
For details about the indicator, visit my profile on tradingview
For Simulation, with default settings, we order
if Eorfa > 1 and change(eorfa) < 0
sell
if Eorfa < -1 and change(eorfa) > 0
buy
And we got
- 2.49 % profit
- 74 % profittable order from all
But only this value can not guarantee good results for trading. BE CAREFUL
Vegas Tunnel strategyApply Vegas Tunnel,
Use EMA144 169 as medium-term trend support
Also use EMA 576 676 and 4 multiples of 144 and 169 as long-term support and trend direction
Also increase EMA 36 43 as a short-term trend support
Suitable for stocks, indices, commodities
The applicable time scale can back-test the usability of the strategy by itself, and select the most applicable target
Introduction to current trading strategy:
According to the trend, the price will enter the market when it touches the support of each stage. When it touches the bollinger bands, it is Squeeze. Hold until it leaves the bollinger bands
But the trading strategy can be more optimized, see the code for details
Risk ManagementThis indicator helps the trader to calculate the size of the buy or sell in relation to the accepted risk. The calculation includes the risk and the fees paid for the purchase, sale or stop.
The trader needs to enter his capital, the risk accepted in the trade and the fees charged by the broker. Inform the entry price and your stop loss .
You can change to trade on the sale and show your entry and stop loss on the chart.
The indicator will do the calculation and inform the percentage of gain or loss.
Composite Index [TipsChain]This is a formula Ms Brown developed to identify divergence failures with in the RSI . This also highlights the horizontal support levels with in the indicator area.
The Composite Index study comprises 2 momentum indicators on the RSI which are smoothed using a moving average. Control of the upper and lower indicators can be used to adjust the periods represented by each through the Object Properties dialog box for the study.
The Composite Index is an oscillator that will warn when the RSI is failing to detect a price trend reversal by forming divergences with the RSI. It can be used in any time frame or market.
Usage:
1. Check hidden and regular divergences on RSI+COMPOSITE_INDEX and PRICE+COMPOSITE_INDEX.
2. After finding divergence wait for COMPOSITE_INDEX to cross under/over it's moving averages to trigger.
MACD 50x Leveraged Short Strategy with Real Equity
Hello there ,
Short version of the Macd Long strategy.
MACD Long strategy:
Adding margin: Forbidden or not specified. (Add Margin : No)
Position size: (for each trade) 1%
Stop-Loss: (2% Above Entry Level)
Long: macd crossunder
Exit: macd crossover
Or ofc touching the stop-Loss value as predicted.
These strategies are just examples.
The goal is to observe true equity and equity change.
Warning: This strategy simulation is for Short direction only.
Regards.
MACD Strategy with trailing ATR stopThis is a trend based strategy that uses EMA and SMA intersection for determining the direction of the trend and MACD for the entry signal. At the same time, the strategy uses ATR, which is working as a trailing stop.
The strategy entry will work when the Trend ribbon will turn green and MACD line will crossover the signal line. This strategy also takes into account the pyramiding and allows to enter the second time if the signal will repeat itself.
There are 3 exit points. The first 10% of the position will be closed when the price will increase by 1%. The second portion of 50% will be closed when the price reaches 5% Take profit target. The remaining 40 % of the position will wait for the exit signal which will occur when the price closes below the ATR line.
The strategy is using a fixed amount in dollars, each time the entry occurs the strategy will enter with 100$ in the order.
The strategy can be applied to other crypto assets. However, they will require input changes.
Best of luck with your trading.
Bjorgum Triple EMA Strat-This script uses a triple EMA strategy to establish trend direction and reversal points
-Inputs are smoothed with Heiken Ashi values to reduce whipsaws, while providing timely execution
-Buy and sell indications are dictated by bar color
-Bar color is dictated by the candle close value in relation to the EMAs, specifically the faster of the 3
(If candle closes above or below the fast and intermediate averages, a buy or sell signal is indicated by bar color change)
-If the close falls between the two a cautionary signal is given. The viewer can hold, or take profit, or evaluate other indicators for clues
-Best results are obtained when coupled with Bjorgum TSI and Bjorgum RSI for confirmation of signals (see TradingView profile)
@Bjorgum on Stocktwits
RSI7 + DCA Long StrategyThe strategy will start new deal when RSI is less than specified value.
The start is not that important though, the real value of this strategy the very flexible DCA settings.
Implied Volatility PercentileThis script calculates the Implied Volatility (IV) based on the daily returns of price using a standard deviation. It then annualizes the 30 day average to create the historical Implied Volatility. This indicator is intended to measure the IV for options traders but could also provide information for equities traders to show how price is extended in the expected price range based on the historical volatility.
The IV Rank (Green line) is then calculated by looking at the high and low volatility over the number of days back specified in the input parameter, default is 252 (trading days in 1 year) and then calculating the rank of the current IV compared to the High and Low. This is not as reliable as the IV Percentile as the and extreme high or low could have a side effect on the ranking but it is included for those that want to use.
The IV Percentile is calculated by counting the number of days below the current IV, then returns this as a % of the days back in the input
You can adjust the number of days back to check the IV Rank & IV Percentile if you are not wanting to look back a whole year.
This will only work on Daily or higher timeframe charts.
Micro Strategy PremiumSince the decision to buy 38,250 Bitcoin under their new treasury policy. Micro Strategy has become an easy and tax efficient way for many investors to gain an exposure to Bitcoin.
This script displays:
- Micro Strategy premium vs price of BTCUSD (CME)
- Micro Strategy premium vs price of BTCUSD (CME) minus Nasdaq 100 (QQQ ETF). A straightforward method to detach Micro Strategy’s share price from the overall performance of the US tech sector. This could potentially give you a more accurate premium.
- Micro Strategy’s 38,250 BTC as a percentage of their Market Cap
This script also acknowledges that Micro Strategy should be renamed “Macro Strategy” and that Michael Saylor is a living legend.