CM_SlingShotSystem+_CassicEMA+Willams21EMA13 htc1977 editionThis strategy is a combination of 2 indicators based on EMA(actually x3 EMAs and Williams ind.
We usin this to see where EMA fast is above EMA slow(for long), entry position when price hit fast EMA and exit if trend changes or price overbought, or by stoploss 1%.
The opposite for a short position.
For better result You can change every EMA's, stoploss, Willam's ind and other visualisation in settings.
If You find good combination - please, let me know(if You want).
I will check it with ML, and attach it here.
Original indicators will write in comments
Exponential Moving Average (EMA)
Money Flow Index/MFIma/smooth vol-mfisoory for spaling not an english native speaker
this script is an extended version of MFI
i add it
mfi ema vol
and a verion that calc the MFI with smooth ma ema-vol
also the src for calc can be change now
thc code is open to explore for any use
enjoy.
Three Bars Play Strategy [JoseMetal]============
ENGLISH
============
- Description:
This strategy is based on two simple candlestick patterns (you can pick between 2 variants) with an extra option to require trigger candles to be opposite to the closing one (explained below).
There are several customizable settings such as take profit, stop loss and break even (all based on ATR).
You can customize starting and ending date for the testings.
Other options such as allow switch position if strategy SHORTs when you are LONG and vice versa.
There's an additional optional EMA filter.
- LONG / SHORT ENTRY:
Original pattern: for LONG, current candle must close ABOVE the HIGH of previous candle and the candle 3 positions back, opposite conditions for SHORT.
Variant pattern: for LONG, the current candle must close ABOVE the HIGH of the previous candle and the candle before that one too, opposite conditions for SHORT.
Optional: require the trigger candles to be opposite, ex: for LONG you need the previous candles to be RED (bearish).
Optional: EMA filter, price must be ABOVE for LONGs, below for SHORTs.
- EXIT CONDITION:
Stop Loss or Take Profit, based on ATR.
- Visual:
The script prints the Take Profit as a GREEN line, Stop Loss as a RED line and entry price with a WHITE line.
If enabled, the Break Even required price is BLUE, and the new Stop Loss level (for break even or protecting profit) is AQUA.
- Recommendations:
This strategy is great on DAILY on most assets, including crypto, forex and gold.
12H seems to work in most cases, lower timeframes are worse.
- Customization:
You can customize indicator settings (ATR, EMA...).
Stop Loss and Take Profit ATR multipliers are also customizable.
The break even is optional, required level and break even levels (also based on ATR) are custom too.
Almost everything is customizable, for colors and plotting styles check the "Style" tab.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Ésta estrategia se basa en dos patrones simples de velas (puedes elegir entre 2 variantes) con una opción extra para requerir que las velas de activación sean opuestas a la de cierre (se explica más adelante).
Hay varios ajustes personalizables como el take profit, el stop loss y el break even (todos basados en el ATR).
Puedes personalizar la fecha de inicio y finalización de las pruebas.
Otras opciones como permitir el cambio de posición si la estrategia cambie a SHORT cuando está LONG y viceversa.
Hay un filtro de EMA opcional adicional.
- ENTRADA LARGA / CORTA:
Patrón original: para LONG, la vela actual debe cerrar POR ENCIMA del ALTO de la vela anterior y de la vela 3 posiciones atrás, condiciones opuestas para SHORT.
Patrón variante: para LONG, la vela actual debe cerrar POR ENCIMA del ALTO de la vela anterior y la vela anterior a esa también, condiciones opuestas para SHORT.
Opcional: requiere que las velas de activación sean opuestas, por ejemplo: para LONG requiere que las velas anteriores sean ROJAS (bajistas).
Opcional: fltro EMA, el precio debe estar POR ENCIMA para los LONGs, por debajo para los SHORTs.
- CONDICIÓN DE SALIDA:
Stop Loss o Take Profit, basado en el ATR.
- Visual:
El script dibuja el Take Profit como una línea VERDE, el Stop Loss como una línea ROJA y el precio de entrada con una línea BLANCA.
Si está habilitado, el precio de break even requerido es AZUL, y el nuevo nivel de Stop Loss (para el break even o asegurar ganancias) es CELESTE.
- Recomendaciones:
Ésta estrategia es estupenda en DIARIO en la mayoría de los activos, incluyendo criptos, fórex y oro.
En 12H parece funcionar en la mayoría de los casos, las temporalidades inferiores son peores.
- Personalización:
Puedes personalizar la configuración de los indicadores (ATR, EMA...).
Los multiplicadores de Stop Loss y Take Profit ATR también son personalizables.
El break even es opcional, el nivel requerido y los niveles de break even (también basados en ATR) son personalizables también.
Casi todo es personalizable, para los colores y estilos de trazado compruebe la pestaña "Estilo".
¡Que lo disfrutes!
EMA RSI Strategy
Simple strategy
=============
If the last two closes are in ascending order, the rsi is below 50 and ascending, and the current candle is above 200 ema, then LONG. If the last two closes are in descending order, the rsi is above 50 and descending, and the current candle is below 200 ema, then SHORT.
LONG Exit strategy:
ATR: Last 14 day
Lowest: The lowest value of the last 14 candles
Limit points = (Trade Price - Lowest + ATR) * 100000
trail_points : Limit/2
trail_offset = Limit/2
SHORT Exit strategy:
ATR: Last 14 day
Highest: The higher value of the last 14 candles
Limit points = (Trade Price - Highest + ATR) * 100000
trail_points : Limit/2
trail_offset = Limit/2
Backtest results for the AUDUSD pair gave positive results over the last three months.
I am testing this strategy using a python bot in a real environment this week and will update the results at the end of the week.
Disclaimer
This is not financial advice. You should seek independent advice to check how the strategy information relates to your unique circumstances.
We are not liable for any loss caused, whether due to negligence or otherwise arising from the use of, or reliance on, the information provided directly or indirectly by this strategy.
MACD + EMA System with AlertsSo I created the MACD Cross Strategy but not working alone by itself. I added EMA (Exponential Moving Average) filter to improve its winning rate so the MACD Signal only appears when in the same trend direction as Moving Average.
The Main Rules for Long Signal are:
- MACD Main Line Crossover the MACD Signal Line.
- The crossover happens below the MACD center line (0) so the momentum is strong.
- Price above the EMA 200 so it means the market is in a strong uptrend.
The Main Rules for Short Signal are :
- MACD Main Line Crossunder the MACD Signal Line.
- The crossover happens above the MACD center line (0) so the momentum is strong.
- Price below the EMA 200 so it means the market is in a strong downtrend.
The signal crossover & signal alert only generate as per the following rules above.
Moving Average - fade when crossed [cajole]This indicator simply provides a moving average (SMA, EMA, etc. can be selected) which hides itself when touched by the price.
Two potential uses:
Set the growth rate to be slow, to highlight only very rapid moves on a chart.
Use the default settings and change the averaging period until the MA line remains bright. This MA can then act as a good trailing stop for the specific security.
TradingView does not remember indicator settings for specific charts. Consider adding a text label to your chart after you identify the ideal trailing stop. Similar trailing-stop methods are recommended by Kristjan Qullamagie is identical to Jesse Stine's "magic line" concept .
EMA 8/20Overlay the 8- and 20-period exponential moving averages.
Also known as an exponentially weighted moving average, the EMA gives more significance to recent periods compared to an SMA (simple moving average).
Learn more about the EMA on Investopedia
EMA GradientA method of visualising whether an EMA is moving at a faster rate than in previous bars. It uses a linear regression analysis to plot a line of best fit to an exponential moving average of the price (the purple dashed line on the chart).
The gradient of this line of best fit is then compared to the gradient of the line of best fit over a range of previous candles. If the absolute value of the EMA gradient is greater than 75% (configurable) of the set of previous gradients then the line is coloured green for positive gradients and red for negative gradients. A yellow line indicates that the gradient is lower than the threshold.
POWER OF STOCK'S 5 EMA BUY / SELL Indicator is based mainly on two conditions :
1. Previous candle should not touch 5 EMA.
2. Current candle should close “ABOVE/BELOW” 5 EMA.
Features -
* Buy candle is represented by Aqua Color
* Sell candle is represented by Fuchsia Color
* You can set Risk: Reward ratio. ( Default = 1:2)
* It also shows label for Entry, Stop Loss & Target.
* Suggested timeframe 15 Minutes for intraday.
* Use closing basis Stop loss.
Power Of Stocks - Bollinger Band & 5Ema Indicator - Keanu_RiTz
Power of Stocks - Bollinger band & 5ema Strategy
In this script you get to take Buy/Sell trades using the 3 options mentioned below.(Alerts with price levels for buy/sell at , SL & Target are included in this one)
1. Combined Strategy :- uses confirmation from both strategies to trade.
2. Bollinger band Strategy :- use the Bollinger band Strategy to trade.
3. 5ema Strategy :- use the 5ema Strategy to trade.
1. Combined Strategy :-
for Selling :- we will go short/sell only when conditions of both strategies are satisfied.
i.e. when a candle is completely above the upper Bollinger band & completely above the 5ema then it will be our Alert Candle.
We Short/Sell only when the low of the Alert candle is broken or when the candle closes below the close of the Alert Candle.
SL will be above high of the Alert Candle. Target will be minimum 1:3 or as per your emotions.
for Buying:- we will go Long/Buy only when conditions of both strategies are satisfied.
i.e. when a candle is completely below the lower Bollinger band & completely below the 5ema then it will be our Alert Candle.
We go Long/Buy only when the high of the Alert candle is broken or when the candle closes above the close of the Alert Candle.
SL will be below low of the Alert Candle. Target will be minimum 1:3 or as per your emotions.
2. Power of Stocks - Bollinger Band Strategy :-
Bollinger band with standard deviation = 1.5
when a candle is completely above the upper Bollinger band, that candle will be called a signal/alert candle.
Initiate a Sell trade when that alert candles low is broken. SL will be above high of that alert candle.
Risk to reward ratio will be 1:4 i.e. target will be 4 times the SL.
when a candle is completely below the lower Bollinger band, that candle will be called a signal/alert candle.
Initiate a Buy trade when that alert candles high is broken. SL will be below low of that alert candle.
Risk to reward ratio will be 1:4 i.e. target will be 4 times the SL.
other rules for Options buying:- minimum 15min timeframe
The day you initiate the position , you should be in profit above 10%-15% then only you should carry forward that position overnight, otherwise squareoff your trade on that day only.
Buy ATM or slightly OTM, SL max 100 points , target 1:4
for Long-term/Investing :- Minimum Weekly
If candle is outside the lower band then initiate a Buy trade when that candles High is broken. Sl will be below Low of that candle.
for Long-term Target will be according to your emotions.
3. Power of Stocks - 5ema Strategy (target minimum 1:3)
Timeframe -
5 min for Selling (Sell Futures/index/stocks or buy Put)
15 min for Buying (Buy Futures/index/stocks or sell Put)
for selling stocks :-
you should enter trade within 10am , don't look for entries after that time. take only 2 entries a day.
for selling Index(Banknifty) :-
you can take trade at anytime of the day whenever conditions get satisfied. you can take multiple entries in banknifty as it is very volatile.
for options choose atm strikes: selling trade
sl for premium between 200-300 :- 20-30 points SL
sl for premium between 400-500 :- 40-50 points SL
sl for premium between 500-600 :- 50-60 points SL
Subhashish Pani's (power of stocks) 5 EMA Strategy:-
It plots 5 EMA and Buy/Sell signals with Target & Stoploss levels.
What is Subhashish Pani's (power of stocks) 5 EMA Strategy :-
His strategy is very simple to understand. for intraday use 5 minutes timeframe for selling. You can sell futures, sell call or buy Puts in selling strategy.
What this strategy tries to do is , it tries to catch the tops, so when you sell at top & it turns out to be a reversal point then you can get good profit.
this will hit stop losses often, but stop losses are small and minimum target should be 1:3. but if you stay with the trend you can get big profits.
According to Subhashish Pani this strategy has 60% success rate.
Strategy for Selling (Short future/Call/stock or buy Put)
When ever a Candle closes completely above 5 ema (no part of candle should be touching the 5ema), then that candle should be considered as Alert Candle.
If the next candle is also completely above 5 ema and it has not broken the low of previous alert candle, Then the previous Alert Candle should be ignored and the new candle should be considered as new Alert Candle.
so if this goes on then continue shifting the Alert Candle, but whenever the next candle breaks the low of the Alert Candle we should take the Short trade (Short future/Call/stock or buy Put).
Stoploss will be above high of the Alert Candle and minimum target will be 1:3.
Strategy for Buying (Buy future/Call/stock or sell Put)
When ever a Candle closes completely below 5 ema (no part of candle should be touching the 5ema), then that candle should be considered as Alert Candle.
If the next candle is also completely below 5 ema and it has not broken the high of previous alert candle, Then the previous Alert Candle should be ignored and the new candle should be considered as new Alert Candle.
so if this goes on then continue shifting the Alert Candle, but whenever the next candle breaks the high of the Alert Candle we should take the Long trade (Buy future/Call/stock or sell Put).
Stoploss will be below low of the Alert Candle and minimum target will be 1:3.
Buy/Sell with extra conditions :
it just adds 1 more condition to buying/selling
1. checks if closing of current candle is lower than alert candles closing for Selling & checks if closing of current candle is higher than alert candles closing for Buyling.
This can sometimes save you from false moves but by using this, you can also miss out on big moves as you'll enter trade after candle closing instead of entering at break of high/low.
Note :- According to Subhashish Pani Timeframe for intraday buying should be 15 minutes Timeframe.
If you haven't understood the strategy by reading above description, then search for "Subhashish Pani's (power of stocks) 5 EMA Strategy" on YouTube to get a deeper understanding.
Note:- This is not only for Intraday trading , you can use this strategy for Positional/Swing trading as well. If you use this on Monthly Timeframe then it can be very good for Long Term Investing as well.
Rules will be same for all types of trades & Timeframes.
Tunable SWMADissected the standard SWMA function and added options for user to change just about every part of it. Weights ,Lookback ,Source can all be changed in the settings.
Green is the standard SWMA, Using the Input value selected.(MAs/LRC/VWAP)
Red is the tuned SWMA, with the option of applying a final Output filter (MAs/LRC/VWAP). Uses 8 datapoints instead of 4 for the default.
Customization can really help expand upon the standard SWMA I find. Enjoy tuning to your hearts content
Original Strategy - Backtest & Alerts [AlgoRider]█ OVERVIEW
This indicator simulates an efficient trading strategy developed by our team in a simple and effective way, the primary objective when designing it was to make its reading and use as simple as possible for TradingView users. The Backtesting feature has been designed to keep only the most essential information to obtain clear and precise results directly on the graph. The settings interface has also been designed for ergonomic and simplified use. The user is free to customize the parameters as he wishes and according to his trading profile by having the choice, for example, of using options to reduce the risk of loss, to increase the win rate, to optimize profits. Automation is made possible and facilitated thanks to preconfigured alert conditions.
█ CONCEPTS
How the strategy works :
When the price is close to its equilibrium (represented by an exponential moving average - EMA) and it starts to take an upward or downward direction the script will issue Long or Short entry orders. If the price turns and goes to the opposite direction, the script quickly cuts the position by issuing a Stop Loss order. When the price takes a real clear direction, this is where the script will be able to accumulate profits.
What makes this script unique is :
• That it is entirely developed by us, inspired by a strategy that is little known and little used in the trading world, in particular because it often involves a greater number of losing trades than winning trades.
• Its ease of reading and use. The backtesting feature was designed to clearly display the most important information in a data table directly on the chart. The user is not lost with dozens of superfluous data and can directly access the most essential information to see how the strategy has performed in the past.
• Its ease of configuration and customization. Once in the configuration window, again the user is not lost, because there is only one main parameter to modify, it is the length of the EMA, which will influence the timing of entries and exits trades. Then there are a few other non-mandatory parameters to fine-tune risk management and maximize profits. (Detailed description of the settings further down the page)
• Strategy automation made easy and fast thanks to several types of alerts which are differentiated for entries, for auto-exits and for Custom TP and SL. These alerts can be configured to send the messages by email or via Webhooks.
• The indicator has several custom options allowing its user to go further than the basic strategy. Several confirmations for entries are available as well as the possibility of adding or not a personalized TP and/or SL.
• There is no repaint, once an entry/exit symbol or drawing is displayed it doesn't change anymore. The Short, Long and auto-Exit signals appear only at the open of the candles, just after the signal was confirmed at the close of the previous candle. The custom TP and custom SL signals can appear when a candle is not yet finished, but once displayed they don't change.
█ HOW TO PROCEED
1 — Once the script is applied to your chart, it already works with its default settings. You can already see the performance of the strategy in the data table directly on the chart (in the top right corner by default).
2 — You can customize the strategy and influence the results/performance by modifying its parameters. 3 types of parameters are present and can be modified.
3 — This strategy is designed for the cryptocurrency market in priority, but you can also try it on other types of assets. It works on Futures but you can also try it on Spot market mainly for LONG trades.
4 — You can apply the script in every timeframe. We do not recommend using it below m30 because in most cases the statistics are unfavorable largely because of the fees. (This is not a financial advice but only for the use of the indicator)
█ FEATURES
Screenshot on BYBIT:EGLDUSDT Bybit Futures, H1, with default parameters, from 2022-01-01 to 2022-09-27, to show the settings window
• Settings For Backtesting
- Strategy : Choose from a drop-down list if the strategy should execute only Long trades or only Short trades or both. Default Both.
- Invest. : Choose the amount you want to invest in the simulation. Default 10000.
- Position : Choose the amount of the position (Size order) that will be used during the simulation. This will be the $ amount staked/involved for each trade entry.
Ex: If you put 20000 in position and 10000 in Invest. We consider that you use at least a leverage x2. Default 10000.
- Slipp. TP : Choose the amount in percentage of average slippage for Take Profits. This parameter makes it possible to predict a potential gap between the theoretical exit price for each TP (On the graph) and the real exit price on an exchange when implementing the strategy for real (slippage may be due to a time lag of a few seconds from execution time of the order on the exchange and/or due to the execution of a market order).
Ex: If a TP exit order of a Long trade, with entry $19000 (on BTCUSDT), is carried out in theory on the chart at $20000, in practice on the exchange the script have indeed sent an exit order at 20000 , but if the true exit price is 20050, the TP slippage is then +0.25%. Default 0.
- Slipp. SL : Choose the amount in percentage of average slippage for Stop Losses. This parameter makes it possible to predict a potential gap between the theoretical exit price for each SL (On the graph) and the real exit price on an exchange when implementing the strategy for real.
Ex: If an SL exit order of a Long trade, entry $19000 (on BTCUSDT), is carried out in theory on the chart at $18000, in practice on the exchange the script have indeed sent an exit order at 18000 $, but if the true exit price is 17950, the slippage SL is then +0.278% . Default 0.
- Fees % : Choose the percentage amount of fees applied to each trade to simulate the application of the strategy on the exchange of your choice. Applies to the entry and exit of each trade. Ex: For Binance Futures: 0.04; For Bybit futures: 0.06; For Ftx Futures: 0.075. Default 0.
- Cumulate Trades : If you check this, the Backtest will use 100% of the balance as Order Size (Position) for All or in the next X consecutive trades. Default not checked.
⚠️ Be Careful please, this option is available to show the full extent and possibilities of the algorithm when pushed to its limits thanks to the accumulation of profits (cumulative earnings), but it is a strategy that involves great risk. If a bad trade suffers a -50% loss, 50% of the account balance is lost, if the position is liquidated, the entire account balance is lost.
- All : If you check this All trades will be accumulated. Default not checked.
- Consecutive Trades : Choose the number of trades to accumulate. After X consecutive trades, the algorithm reassigns the initial order size to the current one and starts again for X consecutive trades. Minimum Value 2, Default 2.
• Settings To Optimize Performances and Risk Management
- (Main Parameter) EMA Length : Choose the length of the EMA. This value will determine the exponential moving average plot (blue line) that represents the equilibrium in this strategy. Depending on the positioning of the price around this equilibrium, the algorithm will decide to trigger Long or Short entry alerts, and exit alerts. Default 200.
- 1 - Confirm (After X Bar(s)) : If you check this, when the algorithm will detect an entry, it will wait for the number of bars you have entered to actually trigger the entry alert. Default not checked.
- Nb Bar : Enter here the number of bar you want, will be taken into account only if you check (1) Confirm (After X Bar(s)). Default 2.
- 2 - Confirm (Trend) : If you check this, when the algorithm will detect an entry, it will check that the trend is similar to the direction of the trade, if not, it will wait that the trade goes in the same direction as the trend to actually trigger the entry alert. Default not checked.
- OR/AND : This choice is taken into account only if you tick both confirmations. If you choose OR: The first of the 2 confirmations to be validated will trigger the entry alert. If you choose AND : once confirmation (1) is validated, the algorithm waits for confirmation (2) to be validated to actually trigger the entry alert. Default OR.
- Use TP / Use SL : If you check these, the algorithm will trigger personalized trade exit alerts when the price evolution has reached the amounts indicated since the trade entry. Default not Checked.
- % TP - SL : Indicate here the personalized amount in percentage that you want for your Take Profit and Stop Loss of each trade. Default 15-5.
• Settings For Appearances
- Small-size Data Table : If you check this, the data table will become smaller to free up more space on the chart to make it visually more pleasing. Default not checked.
Hide Table /
- Hide Labels / : You can check these to get a cleaner chart and focus only on what interests you in the indicator. Default not checked.
Hide Risk-Reward Areas
█ MAIN PARAMETERS TO USE
• In the default settings none of the box settings are checked. Basic strategy is made to be applied this way.
• The main parameter (the length of the EMA) is by default 200 because it is a known value that many traders rely on in many trading strategies. Moreover in this strategy it works in many cases and on different timeframes.
• To go further the user of the indicator is free to modify the parameters of the category "Leading Parameters - Risk Management" to reduce risks and to optimize profits.
• You can find below our recommendations for the EMA length value corresponding to the main timeframes.
m30 — EMA Length = 400 | 800
H1 — EMA Length = 200 | 400
H2 — EMA Length = 200 | 250
H4 — EMA Length = 100 | 200
D — EMA Length = 20 | 40
⚠️ We have chosen to recommend these settings because they will work in most cases, on most cryptoassets, but of course they will not work 100% of the time on all assets and will not always give positive results in the backtest, and they are not the most optimized parameters either. The user of the indicator is free to optimize the asset on which he wants to trade in his own way. Just as we do not give financial advice, we do not encourage to trade any asset in particular.
█ STATISTICS
The statistics presented below are an example of the results that the strategy can provide. (Reminder: These statistics are made over a past period and there is no guarantee that the same performance will reproduce in the future) .
For the demonstration we chose to apply the strategy on the Top 5 marketcap cryptos in September 2022. They are not the most favorable coins for this strategy but at least this way we don't take the most suitable assets to show wonderful and biased results. Likewise for the parameters used which are the default ones and which are not the most optimized parameters, much better results are possible. We chose Binance because it has the highest volumes and liquidity and the most historical data. We chose H1 because it is one of the most used timeframes.
BTC
Screenshot on BINANCE:BTCUSDTPERP Binance Futures, H1, with default parameters (EMA : 400), from 2022-01-01 to 2022-09-27
ETH
Screenshot on BINANCE:ETHUSDTPERP Binance Futures, H1, with default parameters (EMA : 400), from 2022-01-01 to 2022-09-27
BNB
Screenshot on BINANCE:BNBUSDTPERP Binance Futures, H1, with default parameters (EMA : 400), from 2022-01-01 to 2022-09-27
XRP
Screenshot on BINANCE:XRPUSDTPERP Binance Futures, H1, with default parameters (EMA : 200), from 2022-01-01 to 2022-09-27
ADA
Screenshot on BINANCE:ADAUSDTPERP Binance Futures, H1, with default parameters (EMA : 400), from 2022-01-01 to 2022-09-27
To show the potential of the indicator and push it to its limits, here is an example of the strategy applied for about 2 years (Up to the maximum of historical data available).
⚠️ It must be taken into account that during the period of this backtest the last Bullrun took place and it was a very favorable period for the strategy and for this altcoin (FTM), nothing ensures that it will happen again. ⚠️
FTM
Screenshot on BINANCE:FTMUSDTPERP Binance Futures, H4, with default parameters ( without cumulative earnings) and EMA : 400, start on 2020/12/03 to 2022/09/27
✅ All of the above statistics are verifiable by anyone using the indicator's backtesting system.
█ LIMITATIONS
• Despite the fact that we can see good performances when we backtest the strategy, we must take into account the fact that these are results performed in the past and that in no case does this guarantee that these same performances will be repeated again in the future.
• The automation of this strategy is made possible and is facilitated by alerts, but you must be aware of the fact that if you decide to put this strategy into practice in real life, you are solely responsible for the results that you will be able to obtain and you must be aware of the possibility at all times of partial or even total losses of your invested capital.
• Keep in mind that generating profits in trading is difficult. A strategy can perform very well at one time in the past during a period that is favorable to it, then from one day to the next it can give really bad results for several months or years.
• When backtesting a strategy, there are many factors to consider, not just trade entries to which you add a Take Profit and sometimes a Stop Loss. You must at least take into account the size of the position in relation to the capital you want to invest, the trading fees, the slippages (which can be really important depending on the exchange on which you are trading and depending on the asset you are trading), trading frequency, risk management, momentum, volumes and even more.
• This indicator has been optimized for crypto, you can try to use it on other type of assets but again, at your own risk.
The information published here on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors.
═════════════════════════════════════════════════════════════════════════
Important to note : our indicators with the same backtesting system are published in separate publications, because putting them together in a single script would considerably slow down the execution of the script. In addition each indicator, even when it is based on a simple technical indicator, has several options, parameters and entry/exit conditions specific to the underlying technical indicator. Finally, we want to keep the simplicity of use, configuration and understanding of our indicator by not mixing strategies that have nothing to do with each other.
Shift DashboardThe Shift Dashboard is a simple table that shows where current price is relative to the 8 EMA and 21 EMA, as part of the DCXTRA Shift Strategy.
If current price is below the 8 and 21 EMAs, the dashboard will provide a red sell signal.
If current price is above the 8 and 21 EMAs, the dashboard will provide a green buy signal.
If current price is between the 8 and 21 EMAs, the dashboard will leave a blank reading.
The dashboard shows buy or sell signals based on various timeframes.
If all timeframes are aligned with all buy or all sell signals, then the trader takes a long/short position at the appearance of a candlestick reversal pattern with price pushing off the 21EMA in the direction of indicated trend.
Trend #4 - ATR+EMA channelOverview:
This strategy use ATR to take-profit, Red-EMA to stop-loss, Blue-EMA channel to judgment breakout.
This strategy use commission setting is 0.05%, slippage setting is 2 ticks, you can set the appropriate value size in the properties page.
What it does:
This strategy detects when a trend is emerging and buy or sell.
How it does it:
When the price breaks through the blue EMA channel, the trend is judged to be strong in the short term, strategy generates a buy or sell order.
After buying or selling,, if the price moves in the expected direction, uses ATR to determine the appropriate spread to take profit, otherwise use red EMA for stop loss.
How to use it:
Start Date and Stop Date - This parameter adjusts the time range used by the strategy.
Stoploss - This parameter adjusts the stop loss amount after each order is placed.
Blue EMA length - This parameter adjusts the length of the channel.
Blue EMA multy - This parameter adjusts the width of the top and bottom of the channel.
ATR Period - This parameter adjusts the number of candles used by the ATR.
ATR mult - This parameter adjusts the upper and lower widths of the ATR. Lowering this parameter can improve the win rate, but not necessarily the profitability.
Red EMA length - This parameter adjusts the number of candles used by the red EMA .
Long - This switch is used to turn Long position on or off.
Short - This switch is used to turn short position on or off.
Trend Follower Intraday [ Adjustable TF ]Trend Follower Intraday for 3 minute Time-Frame (Adjustable) , that has the time condition for Indian Markets as well.
Unlike the Free Scripts - Risk Management , Position Sizing , Partial Exit etc. are also included .
Send us a Message to know more about the strategy.
// ══════════════════════════════════════════════════════════════════════════ //
The Timing can be changed to fit other markets, scroll down to "TIME CONDITION" to know more.
The commission is also included in the strategy .
The basic idea is when ,
1) EMA1 crosses above EMA2 , is a Long condition .
2) EMA1 crosses below EMA2 , is a Short condition .
3) Green Section indicates Long position.
4) Red Section indicates Short position.
5) Allowed hours specifies the trade entry timing.
6) ATR STOP is the stop-loss value on chart , can be adjusted in INPUTS.
7) Target 1 is the 1st target value on chart , can be adjusted in INPUTS.
8) RISK is Maximum Risk per trade for the intraday trade can be changed .
9) Total Capital used can be adjusted under INPUTS.
10) ATR TRAIL is used for trailing after entry, as mentioned in the inputs below.
11) Check trades under the list of trades .
12) Trade only in liquid stocks .
13) Risk only 1-5% of total capital.
14) Inputs can be changed for better back-test results, but also manually check the trades before setting alerts
15) SQUARE OFF TIME - As you change the time frame , also change the square-off time to the candle's closing time.
Eg: For 3min Time-frame , Hour = 2Hrs | Minute = 57min
16) Strategy stops for the day if you have a loss .
17) COMMISSION value is set to 20Rs and SLIPPAGE value is set to 2 . Go to properties to change it .
*The input values and the results are mentioned under "BACKTEST RESULTS" below*
// ══════════════════════════════ //
// ————————> RISK MANAGEMENT <——————— //
// ══════════════════════════════ //
Risk management is done based on max loss per trade and can be adjusted in the INPUTS.
// ═══════════════════════════ //
// ————————> POSITION SIZE <——————— //
// ═══════════════════════════ //
Quantity of each trade is different based on the loss
// ═════════════════════════ //
// ————————> PROPERTIES <——————— //
// ═════════════════════════ //
COMMISSION , SLIPPAGE ,RECALCULATE is already mentioned in the code.
COMMISSION can be charges , based on the broker charges.
// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The time can be changed in the INPUT.
The Indian Markets open at 9:15am and closes at 3:30pm.
The 'Allowed hours' under Inputs specifies the time at which Entries should happen .
"Close All" function closes all the trades before 3pm , at the open of the next candle.
To change the time to close all trades , check INPUT.
All open trades get closed by 3pm , because some brokers don't allow you to place fresh intraday orders after 3pm .
// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 123 CLOSED TRADES ) <————————— //
// ═══════════════════════════════════════════════ //
INPUTS can be changed for better Back-Test results.
The strategy applied to NSE:JSWENERGY (3 min Time-Frame and with a capital of 3,00,000 ) gives us 81% profitability , as shown below
It was tested for a period a 6 months with a Profit Factor of 1.957 ,net Profit of 43,000Rs .
Sharpe Ratio = 0.745
Sortino Ratio = 2.091
No strategy in the world promises 100% profits in all market conditions , so always define your risk before trading.
Also check Back-Test results manually ,before setting Alerts
The Graph has a Linear Curve with Consistent Profits.
The INPUTS are as follows,
1) EMA1 ————————————————> 38
2) EMA2 ————————————————> 118
3) ALLOWED HRS ———————————> 9:35 TO 14:30
4) ATR STOP ——————————————> 3.2
5) RISK ——————————————————> 3000
6) ATR TRAIL ———————————————> 2.6
7) TARGET 1 ————————————————> 2.4
8) MAX POSITION VALUE ——————————> 3,00,000
8) MAX DRAWDOWN —————————————> 9,000
8) SQUARE-OFF ————————————————> 14:57
NSE:JSWENERGY
Apply it to your charts Now !
NSE:JSWENERGY
Send us a message for FREE TRIALS | Instant Access
Thank You ☺
WilliamTrendFollower StrategyThis strategy is based on signals from the WilliamTrendFollower indicator.
You can optimize the parameters of this strategy as you wish. I hope you get the most accurate result.
About WilliamTrendFollower:
With this indicator, we try to catch the trends in price. With continued use of this indicator, we expect it to eventually escape horizontal positions and catch up with continuous trends.
Combined with the WilliamsR indicator and the exponential moving average indicator.
The WilliamsR Fisher Transforms are combined with the ATR indicator to create a line that lags behind the moving average value.
Since it is a tracking indicator, we created a line that is more connected to the price and itself.
In this way, a curve close to the price line is obtained in uptrends and downtrends.
In this indicator, if you choose the parameters correctly, you can easily bypass the horizontal positions. This gives you a safe visualization of support and resistance points as well.
From the settings of these indicators, you can set the multiplier and the exponential moving average period.
It works in all time intervals.
But it was calculated without volume , instead it was created using fisher transforms, moving averages, and the average true range .
Momentum - EddyThis indicator uses momentum, emas, macd trend, probability to find the best entry for both long and short positions.
L = Long
When the low goes below the green line (ema fast low), close is above open and momentum is up
S = Short
When the high goes above the red line (ema fast high), close is below open and momentum is down
XS = Exit short at potential bullish pivot
When the low is below a red step (probability) and below ema fast low and both ema fast high and low are 0.5 % (can be changed in the settings) spread, and high is below ema fast low and open is at least 0.2 % spread (can be change in the settings).
XL = Exit long
When the high is above ema fast high and above a green step (probability) with at least 0.2 % spread (customizable in the settings)
The win rate changes based on the % change parameter. The lower the % change the higher the win rate will be.
Green and Red background shows you a bull trend or bear trend. It uses the Mac signal (periods are customizable in the settings).
You can add alerts for Long / Short / Exit Long / Exit short.
You can adjust parameters in the settings.
Use your own judgement to place trades. This algorithm helps you remove the stress of trading.
To avoid false signals trade from 4h timeframe +.
Catching the Bottom (by Coinrule)This script utilises the RSI and EMA indicators to enter and close the trade.
The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
An exponential moving average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average simple moving average (SMA), which applies an equal weight to all observations in the period.
The strategy enters and exits the trade based on the following conditions.
ENTRY
RSI has a decrease of 3.
RSI <40.
EMA100 has crossed above the EMA50.
EXIT
RSI is greater than 65.
EMA9 has crossed above EMA50.
This strategy is back tested from 1 April 2022 to simulate how the strategy would work in a bear market and provides good returns.
Pairs that produce very strong results include ETH on the 5m timeframe, BNB on 5m timeframe, XRP on the 45m timeframe, MATIC on the 30m timeframe and MATIC on the 2H timeframe.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
PowerOfStocks_5EMAThis indicator is based of Subhashish Pani's (power of stocks) 5 EMA Strategy.
It plots 5 EMA and Buy/Sell signals with Target & Stoploss levels.
What is Subhashish Pani's (power of stocks) 5 EMA Strategy :-
His strategy is very simple to understand. for intraday use 5 minutes timeframe for selling. You can sell futures, sell call or buy Puts in selling strategy.
What this strategy tries to do is , it tries to catch the tops, so when you sell at top & it turns out to be a reversal point then you can get good profit.
this will hit stop losses often, but stop losses are small and minimum target should be 1:3. but if you stay with the trend you can get big profits.
According to Subhashish Pani this strategy has 60% success rate.
Strategy for Selling (Short future/Call/stock or buy Put)
When ever a Candle closes completely above 5 ema (no part of candle should be touching the 5ema), then that candle should be considered as Alert Candle.
If the next candle is also completely above 5 ema and it has not broken the low of previous alert candle, Then the previous Alert Candle should be ignored and the new candle should be considered as new Alert Candle.
so if this goes on then continue shifting the Alert Candle, but whenever the next candle breaks the low of the Alert Candle we should take the Short trade (Short future/Call/stock or buy Put).
Stoploss will be above high of the Alert Candle and minimum target will be 1:3.
Strategy for Buying (Buy future/Call/stock or sell Put)
When ever a Candle closes completely below 5 ema (no part of candle should be touching the 5ema), then that candle should be considered as Alert Candle.
If the next candle is also completely below 5 ema and it has not broken the high of previous alert candle, Then the previous Alert Candle should be ignored and the new candle should be considered as new Alert Candle.
so if this goes on then continue shifting the Alert Candle, but whenever the next candle breaks the high of the Alert Candle we should take the Long trade (Buy future/Call/stock or sell Put).
Stoploss will be below low of the Alert Candle and minimum target will be 1:3.
Buy/Sell with extra conditions :
it just adds 1 more condition to buying/selling
1. checks if closing of current candle is lower than alert candles closing for Selling & checks if closing of current candle is higher than alert candles closing for Buyling.
This can sometimes save you from false moves but by using this, you can also miss out on big moves as you'll enter trade after candle closing instead of entering at break of high/low.
Note :- According to Subhashish Pani Timeframe for intraday buying should be 15 minutes Timeframe.
If you haven't understood the strategy by reading above description, then search for "Subhashish Pani's (power of stocks) 5 EMA Strategy" on youtube to get a deeper understanding.
Note:- This is not only for Intraday trading , you can use this strategy for Positional/Swing trading as well. If you use this on Monthly Timeframe then it can be very good for Long Term Investing as well.
Rules will be same for all types of trades & Timeframes.
3 Series Cross Indicator with Alerts - by WAMRAThis Indicator allows users to add any 3 combinations of moving averages (SMA, EMA, RMA, RSI, Stochastic RSI, WMA, VWAP ) with granular alert conditions.
Users can alert when all series are in climbing or declining mode.
SUPER MULTI MOVING AVERAGE [Gabbo]this indicator serves to differentiate the classic Moving Average with a different style
There are 3 Moving Average editable with the Source, length, timeframe and styles. the styles are:
SMA = Simple moving average
EMA = Exponential moving average
WMA = Weighted moving average
RMA = Rolling moving average
HMA = Hull moving average
JMA = Jurik moving average
DEMA = Double exponential moving average
TEMA = Triple exponential moving average
LSMA = Least squares moving average
VWMA = Volume-weighted moving average
SMMA = Moving average Smoothed
KAMA = Kaufman Moving Average Adaptive
ALMA = Arnaud Legoux moving average
FRAMA = Fractal Adaptive moving average
VIDYA = Variable Index Dynamic Average
There are also Inputs that are valid only for some styles such as:
JMA = "Phase" and "Power"
ALMA = "Offset" and "Sigma"
FRAMA = "Lower shift ( FC )" and "Upper shift ( SC )"
VIDYA = "Fixed CMO Lenght (9)?" and "Calculation Method: CMO/StDev?"
The "Ema Fill" input is used to decide the type of Moving Average long or short, the choices are:
Fast/Slow = Long = maFast >= maSlow --- Short maSlow > maFast
Fast = Long = maFast >= close ------ Short maFast < close
Slow = Long = maSlow >= close ------ Short maSlow < close
NA = No fill
If they also select the input "USE Ema Conf ???" the calculations for Moving Average Long and Short become like this:
Fast/Slow = Long = maFast >= maSlow and maConf >= maFast --- Short maSlow > maFast and maSlow > maFast
Fast = Long = maFast >= close and maConf >= maFast ------ Short maFast < close and maFast > maConf
Slow = Long = maSlow >= close and maConf >= maSlow ------ Short maSlow < close and maSlow > maConf
NA = No fill
selecting the input "TABLE ???" a table with 8 boxes will appear and each will be of a different color, based on the Moving Average Long and Short of the 8 different Timeframes.
the "Neutral Position" input is used to calculate the Moving Average Neutral, Long and Short
Long = maFast- maSlow >= upBar and maFast >= maFamaSlow
Short = maFast- maSlow <= -lowBar and maSlow > maFast
Neutral = maFast >= maSlow and maFast- maSlow < upBar OR maSlow > maFast and maFast- maSlow > -lowBar
EMA + Williams Fractal Pullback [Trading Nerd]EMA Pullback Strategy with Williams Fractal Indicator
Backtesting script that searches for trends (long and short) and a following pullback into the EMAs. It enters on the first Williams Fractal in the desired direction. I found the Strategy on YouTube as a "M1 Scalping Strategy for Bitcoin".
Including fees the strategy is not profitalbe in lower timeframes (at least if not optimized). But it seems to work on higher timeframes as a swing traiding strategy.
Strategy Conditions
Longs:
EMA 1 > EMA 2 and EMA 2 > EMA 3
Number of need to be above the EMA 1
Then a Pullback into the EMAs is required
Enter on the first bullish Williams Fractal
Signal is canceled if the price closes below the EMA 3
Shorts:
EMA 1 < EMA 2 and EMA 2 < EMA 3
Number of need to be below the EMA 1
Then a Pullback into the EMAs is required
Enter on the first bearish Williams Fractal
Singal is canceled if the price closes above the EMA 3
Take Profit
A Risk Reward Take Profit is possible. If you want to use only a trailing Stop Loss, you can set the Take Profit to 'None'
Stop Loss
The default Stop Loss is EMA. If the Pullback has not reached the EMA 2, the Stop Loss is set to the EMA 2. If the Pullback has reached the EMA 2, the Stop Loss is set to the EMA 3.
Other Stop Loss types are available: ATR, HH/LL
Trailing Stop Loss
Available trailing Stop Loss types: ATR, HH/LL. Best practice is to also set the Stop Loss type to the same value.
The Stop Loss is updated if the value from the latest closed candle is greater/less than the previous value for a long/short trade.
Additional
Time Filter: Only opens trade in the defined Session. Open trades are still being closed outside of the Session.
Start Date/End Date: Limits the backtest for the defined Date Range
Trading Days: Only open Trades on the checked Days
Risk % per Trade: If enabled the Strategy uses X% of the capital (defined in Settings -> Properties -> Initial Capital)
Use Compound Interest: If enabled Capital is recalculated for every trade (initial capital + net Profit)
IMPORTANT: For low Timeframes and Markets with tight SL (like Forex) it requires a lower Margin Percent than default. Go to Settings->Properties and lower the required Long/Short Margin. Otherwise Trades might not be considered because of too less capital/marign. Margins can e.g. set to: 2% (Forex), 10% (Stocks), 20% (Crypto).