Bull Bear Power EMAAdded an EMA moving average to the built-in BBP indicator to facilitate identification of BBP trends
ממוצע נע אקספוננציאלי (EMA)
EMA Strategy with Price & EMA5 & EMA8 < EMA50 ConditionEMAile al-sat testi gerçekleştirildi.
Stratejiler güncellenmeye devam edecek. vakit olursa tabi
EMA X OverA straightforward indicator that plots two exponential moving averages (EMAs). Upon a crossover between the two EMAs, the chart will display a marker.
Furthermore, when the price closes above or below the long EMA, the chart will also indicate this occurrence with a marker.
Daily MA Crossover SignalsI created a script that allows you to show up to 3 daily MA's and the crossovers. It's highly configurable. Hope you enjoy it!
I did try to make it multi-timeframe, but for some reason I didn't manage to get that work
EMA Trend & Inside Bar | TuanVungTauEMA Trend & Inside Bar | TuanVungTau
This indicator combines the power of Exponential Moving Averages (EMA) and Inside Bar detection to provide traders with comprehensive tools for analyzing trends and key price patterns. Designed for both trend-following and price action traders, it enables precision in identifying market conditions and potential trade opportunities.
Key Features
EMA Trend Analysis:
Plots up to 5 customizable EMAs with adjustable lengths (default: EMA 10, 20, 50, 100, 200).
Provides a clear visual trend background based on the relationship between EMA 1, EMA 2, and EMA 3:
Green Background: Uptrend (EMA 1 > EMA 2 > EMA 3).
Red Background: Downtrend (EMA 1 < EMA 2 < EMA 3).
Gray Background: Neutral (No clear trend).
Custom Moving Average (MA):
Allows users to plot a custom moving average (EMA, SMA, WMA, VWMA) with user-defined length and color.
Inside Bar Detection:
Automatically detects Inside Bar candlestick patterns (candles with lower highs and higher lows compared to the previous candle).
Highlights detected Inside Bars on the chart with a customizable color.
EMA Cross Alerts:
Detects and marks crossover and crossunder events between all EMA pairs (e.g., EMA 1 crossing EMA 2).
Provides visual circles at crossover points to help traders identify key moments.
Alerts for Key Events:
Notifies traders when a trend starts (Uptrend or Downtrend) or when an Inside Bar forms.
Alerts can be configured to align with specific trading strategies.
User-Friendly Customization:
Toggle visibility and customize colors for each EMA.
Adjust trend colors and transparency to suit personal preferences.
Trading Ideas
Trend-Following Strategy: Utilize the trend background and EMA alignment to identify strong trends.
Entry Example: Enter long trades when the background is green and short trades when the background is red.
Inside Bar Breakout: Use detected Inside Bars as potential breakout points.
Entry Example: Place a buy stop above the high or a sell stop below the low of the Inside Bar.
Crossover Confirmation: Combine EMA crossovers with trend background for confirmation.
Entry Example: Look for EMA 1 crossing EMA 2 upwards during a green trend background for stronger signals.
This indicator offers powerful, customizable tools to suit a variety of trading styles, enhancing both analysis and execution.
Developed with precision and passion by TuanVungTau | nhattuan.com
juber page with Buy/Sell Signalsuse this to earn much money it is the best EMA indicator among all indicators available on trading view charts
EMA 12/26 by TPThis is to provide the EMA 12/26. It essentially changes the color based on the 12 and 26
7 Exponential Moving Averages with ATR & Volume VolatilityThis indicator features 7 EMA lines based on Fibonacci sequences, along with rising ATR and volume data, highlighting increased volatility by changing the background color of candlesticks.
It aims to assist users in tracking price movements while showing whether volatility increases during EMA crossovers.
Users can easily customize the indicator by adjusting parameters such as EMA, ATR, and volume lengths, as well as colors, in the settings menu to suit their personal preferences.
EMA Crossover: 9 EMA and 25 EMA mohit jain9 ema 25 ema it shows crosses over above and crosses down .
by mohit jain
EMA 3 CryptoEMA 3 Crypto Indicator
Definition
The EMA 3 Crypto Indicator is a specialized tool designed for cryptocurrency traders to track trends and identify potential trading opportunities with precision. Utilizing three Exponential Moving Averages (EMAs) with lengths of 13, 25, and 55, this indicator provides insights into short, medium, and long-term price movements. Its configuration is optimized for the unique characteristics of the crypto market, such as high volatility and 24/7 trading, while remaining adaptable for use in other financial markets.
Purpose and Benefits
This indicator empowers traders by:
- Capturing Volatility: Reacts swiftly to sudden price changes, a common feature in crypto trading.
- Highlighting Trends: Clearly distinguishes bullish and bearish trends through the alignment of the EMAs.
- Supporting Strategic Decisions: Serves as a dynamic support or resistance level, enabling better timing for entries and exits.
Each EMA offers a specific perspective:
- EMA 13: Tracks short-term price momentum, ideal for fast-paced markets.
- EMA 25: Provides a balanced view of trend strength and corrections.
- EMA 55: Focuses on the overall market direction, filtering out noise from smaller price fluctuations.
Why "EMA 3 Crypto" for Cryptocurrencies?
1. Handles High Volatility: Perfectly suited for the rapid price swings of crypto markets.
2. Continuous Tracking: Designed for 24/7 market activity, ensuring traders stay informed at all times.
3. Dynamic Adjustments: Adapts to both trending and consolidating markets with its multi-EMA framework.
Visual Design
To enhance usability, each EMA is color-coded and styled for quick recognition:
- EMA 13: Deepskyblue, representing short-term trends.
- EMA 25: Orange, for medium-term analysis.
- EMA 55: Violet, focusing on long-term market direction.
The color scheme ensures clarity and helps traders spot crossovers and trend shifts effortlessly.
Applications
- Trend Confirmation: Align your trades with the dominant trend by observing EMA slopes and crossovers.
- Reversal Detection: Use crossover patterns to anticipate potential trend reversals.
- Support and Resistance: Identify dynamic price levels where the market may bounce or reject.
- Trade Validation: Combine the EMA 3 Crypto with volume or momentum indicators for enhanced accuracy.
Limitations
While effective in trending markets, the EMA 3 Crypto Indicator may produce false signals in choppy or consolidating conditions. It’s recommended to use it alongside other technical tools, such as RSI or MACD, to validate signals.
Summary
The EMA 3 Crypto Indicator is a powerful, versatile tool tailored for the fast-paced world of cryptocurrencies. By combining three EMAs with distinct timeframes, it offers a layered perspective on market trends, helping traders make data-driven decisions. Its intuitive design and robust performance make it an essential addition to any crypto trader’s toolkit, while its adaptability ensures it can be used effectively in other markets as well.
This updated description ties directly to the name EMA 3 Crypto and emphasizes its primary focus on cryptocurrency trading. Let me know if you'd like to refine it further!
Trend Areas• EMA selection for volatile price movement
• Shows the trend direction
• A wider area shows a stronger trend
• MA crosses show buy and sell
• MA acts as dynamic support or resistance
Multi SMA EMA VWAPMulti Moving Average Indicator, which includes EMA, SMA and VWAP.
It has 4 EMAs and 5 SMAs, for different trading strategies.
It adds the VWAP, HLC3, to complement the moving averages in low time frames and for scalping.
BB MTF with 4H EMA and Configurable RSI Signals By GokhanSMulti-Timeframe Bollinger Bands:
Allows users to specify a timeframe to calculate Bollinger Bands.
4H EMA 21:
Computes a 21-period EMA from the 4-hour timeframe and displays it on the chart.
Configurable RSI Settings:
Users can define the RSI period, source, timeframe, and moving average type (SMA, EMA, or WMA).
Buy and Sell Signals:
"Buy" (green label) and "Sell" (red label) signals are plotted based on RSI and its moving average crossovers.
Austin MTF EMA Entry PointsAustin MTF EMA Entry Points
Overview
The Austin MTF EMA Entry Points is a custom TradingView indicator designed to assist traders in identifying high-probability entry points by combining multiple time frame (MTF) analysis. It leverages exponential moving averages (EMAs) from the daily, 1-hour, and 15-minute charts to generate buy and sell signals that align with the overall trend.
This indicator is ideal for traders who:
Want to trade in the direction of the broader daily trend.
Seek precise entry points on lower time frames (1H and 15M).
Prefer using EMAs as their main trend-following tool.
How It Works
Daily Trend Filter:
The indicator calculates the 50 EMA on the daily chart.
The daily EMA acts as the primary trend filter:
If the current price is above the daily 50 EMA, the trend is bullish.
If the current price is below the daily 50 EMA, the trend is bearish.
Lower Time Frame Entry Points:
The indicator calculates the 20 EMA on both the 1-hour (1H) and 15-minute (15M) time frames.
Buy and sell signals are generated when the price aligns with the trend on all three time frames:
Buy Signal: Price is above the daily 50 EMA and also above the 20 EMA on both the 1H and 15M charts.
Sell Signal: Price is below the daily 50 EMA and also below the 20 EMA on both the 1H and 15M charts.
Visual and Alert Features:
Plot Lines:
The daily 50 EMA is plotted in yellow for easy identification of the main trend.
The 20 EMA from the 1H chart is plotted in blue, and the 15M chart's EMA is in purple for comparison.
Buy/Sell Markers:
Green "Up" arrows appear for buy signals.
Red "Down" arrows appear for sell signals.
Alerts:
Alerts notify users when a buy or sell signal is triggered, making it easier to act on trading opportunities in real-time.
How to Use the Indicator
Identify the Main Trend:
Check the relationship between the price and the daily 50 EMA (yellow line):
Only look for buy signals if the price is above the daily 50 EMA.
Only look for sell signals if the price is below the daily 50 EMA.
Wait for Lower Time Frame Alignment:
For a valid signal, ensure that the price is also above or below the 20 EMA (blue and purple lines) on both the 1H and 15M time frames:
This alignment confirms short-term momentum in the same direction as the daily trend.
Act on Signals:
Use the arrows as visual cues for entry points:
Enter long trades on green "Up" arrows.
Enter short trades on red "Down" arrows.
The alerts will notify you of these signals, so you don’t have to monitor the chart constantly.
Exit Strategy:
Use your preferred stop-loss, take-profit, or trailing stop strategy.
You can also exit trades if the price crosses back below/above the daily 50 EMA, signaling a potential reversal.
Use Cases
Swing Traders: Use the daily trend filter to trade in the direction of the dominant trend, while using 1H and 15M signals to fine-tune entries.
Day Traders: Leverage the 1H and 15M time frames to capitalize on short-term momentum while respecting the broader daily trend.
Position Traders: Monitor the indicator to determine potential reversals or significant alignment across time frames.
Customizable Inputs
The indicator includes the following inputs:
Daily EMA Length: Default is 50. Adjust this to change the length of the trend filter EMA.
Lower Time Frame EMA Length: Default is 20. Adjust this to change the short-term EMA for the 1H and 15M charts.
Time Frames: Hardcoded to "D", "60", and "15", but you can modify the script for different time frames if needed.
Example Scenarios
Buy Signal:
Price is above the daily 50 EMA.
Price crosses above the 20 EMA on both the 1H and 15M time frames.
A green "Up" arrow is displayed, and an alert is triggered.
Sell Signal:
Price is below the daily 50 EMA.
Price crosses below the 20 EMA on both the 1H and 15M time frames.
A red "Down" arrow is displayed, and an alert is triggered.
Strengths and Limitations
Strengths:
Aligns trades with the higher time frame trend for increased probability.
Uses multiple time frame analysis to identify precise entry points.
Visual signals and alerts make it easy to use in real-time.
Limitations:
May produce fewer signals in choppy or ranging markets.
Requires discipline to avoid overtrading when conditions are unclear.
Lag in EMAs could result in late entries in fast-moving markets.
Final Notes
The Austin MTF EMA Entry Points indicator is a powerful tool for traders who value multiple time frame alignment and trend-following strategies. While it simplifies decision-making, it is always recommended to backtest and practice proper risk management before using it in live markets.
Try it out and make smarter, trend-aligned trades today! 🚀
4 EMA and 2 SMA Indicatorthis is a moving average indicator that offers the following exponential moving averages and simple moving averages. 4EMA (5, 9, 14, 20) and 2SMA (50, 200). You can uses these as indicators instead of always drawing fibs on your charts as they offer the same kind of retracement information.
Conjunto de Indicadores EMA/SMADescrição do Indicador:
Este indicador foi criado com o objetivo de auxiliar usuários com a versão gratuita do TradingView, que possui limitações na quantidade de indicadores simultâneos no gráfico. Ao reunir diversas médias móveis exponenciais (EMAs) e simples (SMAs) em um único script, torna-se possível visualizar uma ampla gama de informações sobre a tendência e o momento do ativo sem ultrapassar o limite de indicadores permitidos pela plataforma.
O que o Indicador Faz:
1. Médias Móveis Múltiplas:
O indicador apresenta quatro conjuntos principais de médias, calculadas inicialmente como uma EMA seguida de uma SMA sobre a EMA, formando assim uma média suavizada. Essas médias são:
• EMA8W (calculada no timeframe semanal) seguida de SMA5
• EMA21W (calculada no timeframe semanal) seguida de SMA5
• EMA17 seguida de SMA5 (no timeframe atual)
• EMA72 seguida de SMA5 (no timeframe atual)
Além disso, o script possibilita plotar até cinco EMAs extras, personalizáveis em período e timeframe, permitindo ao usuário ajustar a análise conforme sua estratégia.
2. Visualização Unificada:
Ao invés de sobrecarregar o gráfico com diversos indicadores separados, este script consolida tudo em uma só ferramenta, ajudando a manter o layout mais limpo e eficiente. Isso é especialmente útil para quem utiliza a versão gratuita do TradingView, que limita o número total de indicadores que podem ser usados ao mesmo tempo.
3. Sinal de Venda baseado em Condição de Preço:
O indicador inclui uma lógica que sinaliza um possível momento de venda do ativo quando o preço fecha acima ou igual ao dobro da média simples de 200 dias. Nesse caso, o script desenha uma forma (um triângulo invertido) acima do candle atual, indicando um topo potencial, e exibe um rótulo com a mensagem “topo máximo. hora da venda”.
Como Utilizar:
• Adicione o indicador ao seu gráfico.
• Ajuste, conforme necessário, as médias extras (período, timeframe) nos parâmetros de entrada.
• Observe as curvas das médias móveis para avaliar a tendência de longo, médio e curto prazo.
• Monitore o sinal de venda indicado pelo triângulo vermelho e a mensagem no topo da barra quando a condição for atendida.
Este indicador visa oferecer uma solução completa de análise técnica unindo diversas médias móveis e um sinal de venda em apenas um painel, facilitando a tomada de decisão e otimização do espaço de indicadores disponíveis.
Swing High/Low Pivots Strategy [LV]The Swing High/Low Pivots Strategy was developed as a counter-momentum trading tool.
The strategy is suitable for any market and the default values used in the input settings menu are set for Bitcoin (best on 15min). These values, expressed in minimum ticks (or pips if symbol is Forex) make this tool perfectly adaptable to every symbol and/or timeframe.
Check tooltips in the settings menu for more details about every user input.
STRTEGY ENTRY & EXIT MECHANISMS:
Trades Entry based on the detection of swing highs and lows for short and long entries respectively, validated by:
- Limit orders placed after each new pivot level confirmation
- Moving averages trend filter (if enabled)
- No active trade currently open
Trades Exit when the price reaches take-profit or stop-loss level as defined in the settings menu. A double entry/second take-profit level can be enabled for partial exits, with dynamic stop-loss adjustment for the remaining position.
Enhanced Trade Precision:
By limiting entries to confirmed swing high (HH, LH) or swing low (HL, LL) pivot points, the strategy ensures that trades occur at levels of significant price reversals. This precision reduces the likelihood of entering trades in the midst of a trend or during uncertain price action.
Risk Management Optimization:
The strategy incorporates clearly defined stop-loss (SL) and take-profit (TP) levels derived from the pivot points. This structured approach minimizes potential losses while locking in profits, which is critical for consistent performance in volatile markets.
Trend Filtering for Better Entry:
The use of a configurable moving average filter adds a layer of trend validation. This prevents entering trades against the dominant market trend, increasing the probability of success for each trade.
Avoidance of Noise:
The lookback period (length parameter) confirms pivots only after a set number of bars, effectively filtering out market noise and ensuring that entries are based on reliable, well-defined price movements.
Adaptability Across Markets:
The strategy is versatile and can be applied across different markets (Forex, stocks, crypto) due to its dynamic use of ticks and pips converters. It adapts seamlessly to varying price scales and asset types.
Dual Quantity Entries:
The original and optionnal double-entry mechanism allows traders to capture both short-term and extended profits by scaling out of positions. This adaptive approach caters to varying risk appetites and market conditions.
Clear Visualization:
The plotted pivot points, entry limits, SL, and TP levels provide visual clarity, making it easy for traders to track the strategy's behavior and make informed decisions.
Automated Execution with Alerts:
Integrated alerts for both entries and exits ensure timely actions without the need for constant market monitoring, enhancing efficiency. Configurable alert messages are suitable for API use.
Any feedback, comments, or suggestions for improvement are always welcome.
Hope you enjoy!
IU EMA Channel StrategyIU EMA Channel Strategy
Overview:
The IU EMA Channel Strategy is a simple yet effective trend-following strategy that uses two Exponential Moving Averages (EMAs) based on the high and low prices. It provides clear entry and exit signals by identifying price crossovers relative to the EMAs while incorporating a built-in Risk-to-Reward Ratio (RTR) for effective risk management.
Inputs ( Settings ):
- RTR (Risk-to-Reward Ratio): Define the ratio for risk-to-reward (default = 2).
- EMA Length: Adjust the length of the EMA channels (default = 100).
How the Strategy Works
1. EMA Channels:
- High-based EMA: EMA calculated on the high price.
- Low-based EMA: EMA calculated on the low price.
The area between these two EMAs creates a "channel" that visually highlights potential support and resistance zones.
2. Entry Rules:
- Long Entry: When the price closes above the high-based EMA (crossover).
- Short Entry: When the price closes below the low-based EMA (crossunder).
These entries ensure trades are taken in the direction of momentum.
3. Stop Loss (SL) and Take Profit (TP):
- Stop Loss:
- For long positions, the SL is set at the previous bar's low.
- For short positions, the SL is set at the previous bar's high.
- Take Profit:
- TP is automatically calculated using the Risk-to-Reward Ratio (RTR) you define.
- Example: If RTR = 2, the TP will be 2x the risk distance.
4. Exit Rules:
- Positions are closed at either the stop loss or the take profit level.
- The strategy manages exits automatically to enforce disciplined risk management.
Visual Features
1. EMA Channels:
- The high and low EMAs are dynamically color-coded:
- Green: Price is above the EMA (bullish condition).
- Red: Price is below the EMA (bearish condition).
- The area between the EMAs is shaded for better visual clarity.
2. Stop Loss and Take Profit Zones:
- SL and TP levels are plotted for both long and short positions.
- Zones are filled with:
- Red: Stop Loss area.
- Green: Take Profit area.
Be sure to manage your risk and position size properly.
DAILY Supertrend + EMA Crossover with RSI FilterThis strategy is a technical trading approach that combines multiple indicators—Supertrend, Exponential Moving Averages (EMAs), and the Relative Strength Index (RSI)—to identify and manage trades.
Core Components:
1. Exponential Moving Averages (EMAs):
Two EMAs, one with a shorter period (fast) and one with a longer period (slow), are calculated. The idea is to spot when the faster EMA crosses above or below the slower EMA. A fast EMA crossing above the slow EMA often suggests upward momentum, while crossing below suggests downward momentum.
2. Supertrend Indicator:
The Supertrend uses Average True Range (ATR) to establish dynamic support and resistance lines. These lines shift above or below price depending on the prevailing trend. When price is above the Supertrend line, the trend is considered bullish; when below, it’s considered bearish. This helps ensure that the strategy trades only in the direction of the overall trend rather than against it.
3. RSI Filter:
The RSI measures momentum. It helps avoid buying into markets that are already overbought or selling into markets that are oversold. For example, when going long (buying), the strategy only proceeds if the RSI is not too high, and when going short (selling), it only proceeds if the RSI is not too low. This filter is meant to improve the quality of the trades by reducing the chance of entering right before a reversal.
4. Time Filters:
The strategy only triggers entries during user-specified date and time ranges. This is useful if one wants to limit trading activity to certain trading sessions or periods with higher market liquidity.
5. Risk Management via ATR-based Stops and Targets:
Both stop loss and take profit levels are set as multiples of the ATR. ATR measures volatility, so when volatility is higher, both stops and profit targets adjust to give the trade more breathing room. Conversely, when volatility is low, stops and targets tighten. This dynamic approach helps maintain consistent risk management regardless of market conditions.
Overall Logic Flow:
- First, the market conditions are analyzed through EMAs, Supertrend, and RSI.
- When a buy (long) condition is met—meaning the fast EMA crosses above the slow EMA, the trend is bullish according to Supertrend, and RSI is below the specified “overbought” threshold—the strategy initiates or adds to a long position.
- Similarly, when a sell (short) condition is met—meaning the fast EMA crosses below the slow EMA, the trend is bearish, and RSI is above the specified “oversold” threshold—it initiates or adds to a short position.
- Each position is protected by an automatically calculated stop loss and a take profit level based on ATR multiples.
Intended Result:
By blending trend detection, momentum filtering, and volatility-adjusted risk management, the strategy aims to capture moves in the primary trend direction while avoiding entries at excessively stretched prices. Allowing multiple entries can potentially amplify gains in strong trends but also increases exposure, which traders should consider in their risk management approach.
In essence, this strategy tries to ride established trends as indicated by the Supertrend and EMAs, filter out poor-quality entries using RSI, and dynamically manage trade risk through ATR-based stops and targets.
Smart DCA Strategy (Public)INSPIRATION
While Dollar Cost Averaging (DCA) is a popular and stress-free investment approach, I noticed an opportunity for enhancement. Standard DCA involves buying consistently, regardless of market conditions, which can sometimes mean missing out on optimal investment opportunities. This led me to develop the Smart DCA Strategy – a 'set and forget' method like traditional DCA, but with an intelligent twist to boost its effectiveness.
The goal was to build something more profitable than a standard DCA strategy so it was equally important that this indicator could backtest its own results in an A/B test manner against the regular DCA strategy.
WHY IS IT SMART?
The key to this strategy is its dynamic approach: buying aggressively when the market shows signs of being oversold, and sitting on the sidelines when it's not. This approach aims to optimize entry points, enhancing the potential for better returns while maintaining the simplicity and low stress of DCA.
WHAT THIS STRATEGY IS, AND IS NOT
This is an investment style strategy. It is designed to improve upon the common standard DCA investment strategy. It is therefore NOT a day trading strategy. Feel free to experiment with various timeframes, but it was designed to be used on a daily timeframe and that's how I recommend it to be used.
You may also go months without any buy signals during bull markets, but remember that is exactly the point of the strategy - to keep your buying power on the sidelines until the markets have significantly pulled back. You need to be patient and trust in the historical backtesting you have performed.
HOW IT WORKS
The Smart DCA Strategy leverages a creative approach to using Moving Averages to identify the most opportune moments to buy. A trigger occurs when a daily candle, in its entirety including the high wick, closes below the threshold line or box plotted on the chart. The indicator is designed to facilitate both backtesting and live trading.
HOW TO USE
Settings:
The input parameters for tuning have been intentionally simplified in an effort to prevent users falling into the overfitting trap.
The main control is the Buying strictness scale setting. Setting this to a lower value will provide more buying days (less strict) while higher values mean less buying days (more strict). In my testing I've found level 9 to provide good all round results.
Validation days is a setting to prevent triggering entries until the asset has spent a given number of days (candles) in the overbought state. Increasing this makes entries stricter. I've found 0 to give the best results across most assets.
In the backtest settings you can also configure how much to buy for each day an entry triggers. Blind buy size is the amount you would buy every day in a standard DCA strategy. Smart buy size is the amount you would buy each day a Smart DCA entry is triggered.
You can also experiment with backtesting your strategy over different historical datasets by using the Start date and End date settings. The results table will not calculate for any trades outside what you've set in the date range settings.
Backtesting:
When backtesting you should use the results table on the top right to tune and optimise the results of your strategy. As with all backtests, be careful to avoid overfitting the parameters. It's better to have a setup which works well across many currencies and historical periods than a setup which is excellent on one dataset but bad on most others. This gives a much higher probability that it will be effective when you move to live trading.
The results table provides a clear visual representation as to which strategy, standard or smart, is more profitable for the given dataset. You will notice the columns are dynamically coloured red and green. Their colour changes based on which strategy is more profitable in the A/B style backtest - green wins, red loses. The key metrics to focus on are GOA (Gain on Account) and Avg Cost.
Live Trading:
After you've finished backtesting you can proceed with configuring your alerts for live trading.
But first, you need to estimate the amount you should buy on each Smart DCA entry. We can use the Total invested row in the results table to calculate this. Assuming we're looking to trade on
BTCUSD
Decide how much USD you would spend each day to buy BTC if you were using a standard DCA strategy. Lets say that is $5 per day
Enter that USD amount in the Blind buy size settings box
Check the Blind Buy column in the results table. If we set the backtest date range to the last 10 years, we would expect the amount spent on blind buys over 10 years to be $18,250 given $5 each day
Next we need to tweak the value of the Smart buy size parameter in setting to get it as close as we can to the Total Invested amount for Blind Buy
By following this approach it means we will invest roughly the same amount into our Smart DCA strategy as we would have into a standard DCA strategy over any given time period.
After you have calculated the Smart buy size, you can go ahead and set up alerts on Smart DCA buy triggers.
BOT AUTOMATION
In an effort to maintain the 'set and forget' stress-free benefits of a standard DCA strategy, I have set my personal Smart DCA Strategy up to be automated. The bot runs on AWS and I have a fully functional project for the bot on my GitHub account. Just reach out if you would like me to point you towards it. You can also hook this into any other 3rd party trade automation system of your choice using the pre-configured alerts within the indicator.
PLANNED FUTURE DEVELOPMENTS
Currently this is purely an accumulation strategy. It does not have any sell signals right now but I have ideas on how I will build upon it to incorporate an algorithm for selling. The strategy should gradually offload profits in bull markets which generates more USD which gives more buying power to rinse and repeat the same process in the next cycle only with a bigger starting capital. Watch this space!
MARKETS
Crypto:
This strategy has been specifically built to work on the crypto markets. It has been developed, backtested and tuned against crypto markets and I personally only run it on crypto markets to accumulate more of the coins I believe in for the long term. In the section below I will provide some backtest results from some of the top crypto assets.
Stocks:
I've found it is generally more profitable than a standard DCA strategy on the majority of stocks, however the results proved to be a lot more impressive on crypto. This is mainly due to the volatility and cycles found in crypto markets. The strategy makes its profits from capitalising on pullbacks in price. Good stocks on the other hand tend to move up and to the right with less significant pullbacks, therefore giving this strategy less opportunity to flourish.
Forex:
As this is an accumulation style investment strategy, I do not recommend that you use it to trade Forex.
For more info about this strategy including backtest results, please see the full description on the invite only version of this strategy named "Smart DCA Strategy"
3 EMA + RSI with Trail Stop [Free990] (LOW TF)This trading strategy combines three Exponential Moving Averages (EMAs) to identify trend direction, uses RSI to signal exit conditions, and applies both a fixed percentage stop-loss and a trailing stop for risk management. It aims to capture momentum when the faster EMAs cross the slower EMA, then uses RSI thresholds, time-based exits, and stops to close trades.
Short Explanation of the Logic
Trend Detection: When the 10 EMA crosses above the 20 EMA and both are above the 100 EMA (and the current price bar closes higher), it triggers a long entry signal. The reverse happens for a short (the 10 EMA crosses below the 20 EMA and both are below the 100 EMA).
RSI Exit: RSI crossing above a set threshold closes long trades; crossing below another threshold closes short trades.
Time-Based Exit: If a trade is in profit after a set number of bars, the strategy closes it.
Stop-Loss & Trailing Stop: A fixed stop-loss based on a percentage from the entry price guards against large drawdowns. A trailing stop dynamically tightens as the trade moves in favor, locking in potential gains.
Detailed Explanation of the Strategy Logic
Exponential Moving Average (EMA) Setup
Short EMA (out_a, length=10)
Medium EMA (out_b, length=20)
Long EMA (out_c, length=100)
The code calculates three separate EMAs to gauge short-term, medium-term, and longer-term trend behavior. By comparing their relative positions, the strategy infers whether the market is bullish (EMAs stacked positively) or bearish (EMAs stacked negatively).
Entry Conditions
Long Entry (entryLong): Occurs when:
The short EMA (10) crosses above the medium EMA (20).
Both EMAs (short and medium) are above the long EMA (100).
The current bar closes higher than it opened (close > open).
This suggests that momentum is shifting to the upside (short-term EMAs crossing up and price action turning bullish). If there’s an existing short position, it’s closed first before opening a new long.
Short Entry (entryShort): Occurs when:
The short EMA (10) crosses below the medium EMA (20).
Both EMAs (short and medium) are below the long EMA (100).
The current bar closes lower than it opened (close < open).
This indicates a potential shift to the downside. If there’s an existing long position, that gets closed first before opening a new short.
Exit Signals
RSI-Based Exits:
For long trades: When RSI exceeds a specified threshold (e.g., 70 by default), it triggers a long exit. RSI > short_rsi generally means overbought conditions, so the strategy exits to lock in profits or avoid a pullback.
For short trades: When RSI dips below a specified threshold (e.g., 30 by default), it triggers a short exit. RSI < long_rsi indicates oversold conditions, so the strategy closes the short to avoid a bounce.
Time-Based Exit:
If the trade has been open for xBars bars (configurable, e.g., 24 bars) and the trade is in profit (current price above entry for a long, or current price below entry for a short), the strategy closes the position. This helps lock in gains if the move takes too long or momentum stalls.
Stop-Loss Management
Fixed Stop-Loss (% Based): Each trade has a fixed stop-loss calculated as a percentage from the average entry price.
For long positions, the stop-loss is set below the entry price by a user-defined percentage (fixStopLossPerc).
For short positions, the stop-loss is set above the entry price by the same percentage.
This mechanism prevents catastrophic losses if the market moves strongly against the position.
Trailing Stop:
The strategy also sets a trail stop using trail_points (the distance in price points) and trail_offset (how quickly the stop “catches up” to price).
As the market moves in favor of the trade, the trailing stop gradually tightens, allowing profits to run while still capping potential drawdowns if the price reverses.
Order Execution Flow
When the conditions for a new position (long or short) are triggered, the strategy first checks if there’s an opposite position open. If there is, it closes that position before opening the new one (prevents going “both long and short” simultaneously).
RSI-based and time-based exits are checked on each bar. If triggered, the position is closed.
If the position remains open, the fixed stop-loss and trailing stop remain in effect until the position is exited.
Why This Combination Works
Multiple EMA Cross: Combining 10, 20, and 100 EMAs balances short-term momentum detection with a longer-term trend filter. This reduces false signals that can occur if you only look at a single crossover without considering the broader trend.
RSI Exits: RSI provides a momentum oscillator view—helpful for detecting overbought/oversold conditions, acting as an extra confirmation to exit.
Time-Based Exit: Prevents “lingering trades.” If the position is in profit but failing to advance further, it takes profit rather than risking a trend reversal.
Fixed & Trailing Stop-Loss: The fixed stop-loss is your safety net to cap worst-case losses. The trailing stop allows the strategy to lock in gains by following the trade as it moves favorably, thus maximizing profit potential while keeping risk in check.
Overall, this approach tries to capture momentum from EMA crossovers, protect profits with trailing stops, and limit risk through both a fixed percentage stop-loss and exit signals from RSI/time-based logic.