50/200 EMA Crossover with Visual Signals50/200 EMA Crossover with Enhanced Visual Signals
This indicator detects crossovers between the 50-period and 200-period Exponential Moving Averages (EMAs), commonly known as the “Golden Cross” (bullish) and “Death Cross” (bearish), which are widely used to identify long-term trend changes in financial markets. It enhances these signals with clear visual markers, helping traders spot significant crossover events without chart clutter.
Key Features
EMA Calculation: Computes the 50-period and 200-period EMAs on the closing price, plotted with distinct colors (cyan for 50 EMA, purple for 200 EMA) and 75% opacity for better visibility.
Crossover Detection: Identifies when the 50 EMA crosses above (bullish) or below (bearish) the 200 EMA, signaling potential major trend reversals.
Visual Cues: Plots a yellow circle above the candle at the crossover point and uses stacked labels to create a styled marker (orange outline with a semi-transparent yellow fill) at the average price of the two EMAs, making signals easy to identify.
How It Works
The indicator calculates the 50 and 200 EMAs using the ta.ema() function in Pine Script v5. Crossovers are detected with ta.crossover() (bullish) and ta.crossunder() (bearish). To enhance signal visibility:
A small yellow circle appears above the candle where the crossover occurs.
Two labels mark the crossover price (average of the two EMAs): an outer orange label for the border and an inner yellow label for the fill, both with controlled opacity to maintain chart clarity.
Usage
This indicator is designed for traders focusing on long-term trend changes, particularly swing or position traders. It performs best on higher timeframes, such as:
Daily or 4-hour charts for stocks, forex, or cryptocurrencies to capture major trends.
Weekly charts for long-term investment decisions.
To use it effectively:
Apply the indicator to a chart and verify the 50 and 200 EMAs are visible.
Watch for yellow circles and styled markers to identify crossover points.
Confirm signals with additional tools (e.g., volume, support/resistance, or fundamental analysis), as EMA crossovers can produce false signals in sideways markets.
Use the bullish “Golden Cross” (50 EMA above 200 EMA) to consider long positions and the bearish “Death Cross” (50 EMA below 200 EMA) for potential short positions or exits.
Limitations
The 50/200 EMA crossover is a lagging indicator, which may delay signals in fast-moving markets.
False signals can occur in range-bound or low-volatility conditions. Additional confirmation is recommended.
The visual markers are based on historical data and do not predict future price movements.
This indicator is less suited for short-term scalping due to the longer EMA periods.
Why This Indicator?
The 50/200 EMA crossover is a cornerstone of trend-following strategies, distinct from shorter-term setups like the 21/200 EMA due to its focus on major market trends. This script enhances the standard approach with unique visual signals—yellow circles and styled labels—not typically found in basic EMA indicators, providing a clear and professional way to track Golden and Death Cross events. It adds value to the TradingView community by offering a reliable, visually intuitive tool for long-term trend analysis.
Exponentialmovingaverages
21/200 EMA Crossover with Visual Signals21/200 EMA Crossover with Enhanced Visual Signals
This indicator identifies crossovers between the 21-period and 200-period Exponential Moving Averages (EMAs), a widely used method for detecting potential trend changes in financial markets. It enhances the standard EMA crossover strategy by providing clear visual cues, making it easier for traders to spot critical crossover points without cluttering the chart.
Key Features
EMA Calculation: Computes the 21-period and 200-period EMAs on the closing price, plotted with distinct colors (cyan for 21 EMA, purple for 200 EMA) and 75% opacity for better chart visibility.
Crossover Detection: Identifies when the 21 EMA crosses above (bullish) or below (bearish) the 200 EMA, signaling potential trend reversals or continuations.
Visual Cues: Displays a yellow circle above the candle at the crossover point and uses stacked labels to simulate a styled marker (orange outline with a semi-transparent yellow fill) at the average price of the two EMAs, ensuring the signal is easy to spot.
How It Works
The indicator calculates the 21 and 200 EMAs using the ta.ema() function in Pine Script v5. Crossovers are detected using ta.crossover() and ta.crossunder() to identify bullish and bearish signals, respectively. To enhance visibility:
A small yellow circle is plotted above the candle where the crossover occurs.
Two labels are used to create a visually distinct marker at the crossover price (average of the two EMAs): an outer orange label for the border and an inner yellow label for the fill, both with controlled opacity for clarity.
Usage
This indicator is designed for traders seeking to confirm trend changes or continuations. It is particularly useful on lower timeframes (e.g., 3-minute for scalping) but can also be applied to higher timeframes (e.g., 1-hour or daily) for swing trading. To use it effectively:
Add the indicator to your chart and ensure the 21 and 200 EMAs are visible.
Look for yellow circles and styled markers to identify crossover points.
Combine with other technical analysis tools (e.g., support/resistance levels or volume) to validate signals, as EMA crossovers alone may produce false signals in choppy markets.
Adjust timeframe based on your trading style (lower for scalping, higher for swing trading).
Limitations
EMA crossovers can lag in fast-moving markets, potentially delaying signals.
The indicator may generate false signals in ranging or low-volatility conditions. Traders should use additional confirmation tools.
The visual markers rely on historical data and do not predict future price movements.
Why This Indicator?
While EMA crossovers are a standard technique, this script stands out by offering customizable visual signals that reduce chart noise, making it easier to act on crossover events. The use of styled labels to mark crossover prices is a unique feature not commonly found in basic EMA indicators, providing a clear and professional presentation of signals.
EMA 12/26 With ATR Volatility StoplossThe EMA 12/26 With ATR Volatility Stoploss
The EMA 12/26 With ATR Volatility Stoploss strategy is a meticulously designed systematic trading approach tailored for navigating financial markets through technical analysis. By integrating the Exponential Moving Average (EMA) and Average True Range (ATR) indicators, the strategy aims to identify optimal entry and exit points for trades while prioritizing disciplined risk management. At its core, it is a trend-following system that seeks to capitalize on price momentum, employing volatility-adjusted stop-loss mechanisms and dynamic position sizing to align with predefined risk parameters. Additionally, it offers traders the flexibility to manage profits either by compounding returns or preserving initial capital, making it adaptable to diverse trading philosophies. This essay provides a comprehensive exploration of the strategy’s underlying concepts, key components, strengths, limitations, and practical applications, without delving into its technical code.
=====
Core Philosophy and Objectives
The EMA 12/26 With ATR Volatility Stoploss strategy is built on the premise of capturing short- to medium-term price trends with a high degree of automation and consistency. It leverages the crossover of two EMAs—a fast EMA (12-period) and a slow EMA (26-period)—to generate buy and sell signals, which indicate potential trend reversals or continuations. To mitigate the inherent risks of trading, the strategy incorporates the ATR indicator to set stop-loss levels that adapt to market volatility, ensuring that losses remain within acceptable bounds. Furthermore, it calculates position sizes based on a user-defined risk percentage, safeguarding capital while optimizing trade exposure.
A distinctive feature of the strategy is its dual profit management modes:
SnowBall (Compound Profit): Profits from successful trades are reinvested into the capital base, allowing for progressively larger position sizes and potential exponential portfolio growth.
ZeroRisk (Fixed Equity): Profits are withdrawn, and trades are executed using only the initial capital, prioritizing capital preservation and minimizing exposure to market downturns.
This duality caters to both aggressive traders seeking growth and conservative traders focused on stability, positioning the strategy as a versatile tool for various market environments.
=====
Key Components of the Strategy
1. EMA-Based Signal Generation
The strategy’s trend-following mechanism hinges on the interaction between the Fast EMA (12-period) and Slow EMA (26-period). EMAs are preferred over simple moving averages because they assign greater weight to recent price data, enabling quicker responses to market shifts. The key signals are:
Buy Signal: Triggered when the Fast EMA crosses above the Slow EMA, suggesting the onset of an uptrend or bullish momentum.
Sell Signal: Occurs when the Fast EMA crosses below the Slow EMA, indicating a potential downtrend or the end of a bullish phase.
To enhance signal reliability, the strategy employs an Anchor Point EMA (AP EMA), a short-period EMA (e.g., 2 days) that smooths the input price data before calculating the primary EMAs. This preprocessing reduces noise from short-term price fluctuations, improving the accuracy of trend detection. Additionally, users can opt for a Consolidated EMA (e.g., 18-period) to display a single trend line instead of both EMAs, simplifying chart analysis while retaining trend insights.
=====
2. Volatility-Adjusted Risk Management with ATR
Risk management is a cornerstone of the strategy, achieved through the use of the Average True Range (ATR), which quantifies market volatility by measuring the average price range over a specified period (e.g., 10 days). The ATR informs the placement of stop-loss levels, which are set at a multiple of the ATR (e.g., 2x ATR) below the entry price for long positions. This approach ensures that stop losses are proportionate to current market conditions—wider during high volatility to avoid premature exits, and narrower during low volatility to protect profits.
For example, if a stock’s ATR is $1 and the multiplier is 2, the stop loss for a buy at $100 would be set at $98. This dynamic adjustment enhances the strategy’s adaptability, preventing stop-outs from normal market noise while capping potential losses.
=====
3. Dynamic Position Sizing
The strategy calculates position sizes to align with a user-defined Risk Per Trade, typically expressed as a percentage of capital (e.g., 2%). The position size is determined by:
The available capital, which varies depending on whether SnowBall or ZeroRisk mode is selected.
The distance between the entry price and the ATR-based stop-loss level, which represents the per-unit risk.
The desired risk percentage, ensuring that the maximum loss per trade does not exceed the specified threshold.
For instance, with a $1,000 capital, a 2% risk per trade ($20), and a stop-loss distance equivalent to 5% of the entry price, the strategy computes the number of units (shares or contracts) to ensure the total loss, if the stop loss is hit, equals $20. To prevent over-leveraging, the strategy includes checks to ensure that the position’s dollar value does not exceed available capital. If it does, the position size is scaled down to fit within the capital constraints, maintaining financial discipline.
=====
4. Flexible Capital Management
The strategy’s dual profit management modes—SnowBall and ZeroRisk—offer traders strategic flexibility:
SnowBall Mode: By compounding profits, traders can increase their capital base, leading to larger position sizes over time. This is ideal for those with a long-term growth mindset, as it harnesses the power of exponential returns.
ZeroRisk Mode: By withdrawing profits and trading solely with the initial capital, traders protect their gains and limit exposure to market volatility. This conservative approach suits those prioritizing stability over aggressive growth.
These options allow traders to tailor the strategy to their risk tolerance, financial goals, and market outlook, enhancing its applicability across different trading styles.
=====
5. Time-Based Trade Filtering
To optimize performance and relevance, the strategy includes an option to restrict trading to a specific time range (e.g., from 2018 onward). This feature enables traders to focus on periods with favorable market conditions, avoid historically volatile or unreliable data, or align the strategy with their backtesting objectives. By confining trades to a defined timeframe, the strategy ensures that performance metrics reflect the intended market context.
=====
Strengths of the Strategy
The EMA 12/26 With ATR Volatility Stoploss strategy offers several compelling advantages:
Systematic and Objective: By adhering to predefined rules, the strategy eliminates emotional biases, ensuring consistent execution across market conditions.
Robust Risk Controls: The combination of ATR-based stop losses and risk-based position sizing caps losses at user-defined levels, fostering capital preservation.
Customizability: Traders can adjust parameters such as EMA periods, ATR multipliers, and risk percentages, tailoring the strategy to specific markets or preferences.
Volatility Adaptation: Stop losses that scale with market volatility enhance the strategy’s resilience, accommodating both calm and turbulent market phases.
Enhanced Visualization: The use of color-coded EMAs (green for bullish, red for bearish) and background shading provides intuitive visual cues, simplifying trend and trade status identification.
=====
Limitations and Considerations
Despite its strengths, the strategy has inherent limitations that traders must address:
False Signals in Range-Bound Markets: EMA crossovers may generate misleading signals in sideways or choppy markets, leading to whipsaws and unprofitable trades.
Signal Lag: As lagging indicators, EMAs may delay entry or exit signals, causing traders to miss rapid trend shifts or enter trades late.
Overfitting Risk: Excessive optimization of parameters to fit historical data can impair the strategy’s performance in live markets, as past patterns may not persist.
Impact of High Volatility: In extremely volatile markets, wider stop losses may result in larger losses than anticipated, challenging risk management assumptions.
Data Reliability: The strategy’s effectiveness depends on accurate, continuous price data, and discrepancies or gaps can undermine signal accuracy.
=====
Practical Applications
The EMA 12/26 With ATR Volatility Stoploss strategy is versatile, applicable to diverse markets such as stocks, forex, commodities, and cryptocurrencies, particularly in trending environments. To maximize its potential, traders should adopt a rigorous implementation process:
Backtesting: Evaluate the strategy’s historical performance across various market conditions to assess its robustness and identify optimal parameter settings.
Forward Testing: Deploy the strategy in a demo account to validate its real-time performance, ensuring it aligns with live market dynamics before risking capital.
Ongoing Monitoring: Continuously track trade outcomes, analyze performance metrics, and refine parameters to adapt to evolving market conditions.
Additionally, traders should consider market-specific factors, such as liquidity and volatility, when applying the strategy. For instance, highly liquid markets like forex may require tighter ATR multipliers, while less liquid markets like small-cap stocks may benefit from wider stop losses.
=====
Conclusion
The EMA 12/26 With ATR Volatility Stoploss strategy is a sophisticated, systematic trading framework that blends trend-following precision with disciplined risk management. By leveraging EMA crossovers for signal generation, ATR-based stop losses for volatility adjustment, and dynamic position sizing for risk control, it offers a balanced approach to capturing market trends while safeguarding capital. Its flexibility—evident in customizable parameters and dual profit management modes—makes it suitable for traders with varying risk appetites and objectives. However, its limitations, such as susceptibility to false signals and signal lag, necessitate thorough testing and prudent application. Through rigorous backtesting, forward testing, and continuous refinement, traders can harness this strategy to achieve consistent, risk-adjusted returns in trending markets, establishing it as a valuable tool in the arsenal of systematic trading.
Forward-Backward Exponential Oscillator [LuxAlgo]The Forward-Backward Exponential Oscillator is a normalized oscillator able to estimate directional shifts by making use of a unique "Forward-Backward Filtering" calculation method for Exponential Moving Averages (EMAs).
This unique method provides a smooth normalized representation of the price with reduced lag.
🔶 USAGE
The oscillator consists of 2 series of values derived from normalizing the sum of each EMA's change across the selected user lookback window (length), one less reactive computed forward (in grey), and the other re-calculated backward for each bar (in blue).
Given this "Forward-Backwards" calculation method, we are able to produce a more reactive oscillator compared to the same operation done on a simple double-smoothed EMA.
The interaction between these 2 values (Forward Value and Backward Value) can highlight shifts in market momentum over time.
When the Forward Value is above the Backward Value, the price is seen moving up, and likewise, when the Forward EMA is below, the Backward EMA price is seen moving down.
The indicator specifically displays the difference between values through a histogram located at the 50 mark on the oscillator.
🔹 Projection
We project the approximated future values of the forward value in front of the current line. This helps show the data that is being used for the creation of the Forward Value.
🔹 Length & Smoothing
The Smoothing Input controls the length of the EMAs which are analyzed.
The Length Input controls the lookback for the sum of changes from the EMAs.
Displayed below is a comparison of varying input sizes and their results.
As seen above:
A larger length input will result in slower, gradual movement by the oscillator since the summed values are from a larger lookback.
A higher smoothing setting will result in smoother EMAs, leading to a smoother oscillator output that is less contaminated by noisy variations.
Note: The length of the projection is tied to the "length" input, to get a longer projection, a larger length is required.
🔶 DETAILS
Forward-backward filtering is a method applied to LTI (linear time-invariant) filters to provide a filter response with zero-phase shift, this has the visible effect of shifting a regular causal filter response to the right, making it appear has have effectively 0 lag.
The name of this operation indicates that the filter is first calculated forward over a series of values (like regular moving averages), then calculated backward, using the previous output as input for the filter, effectively applying the filter twice.
While this operation effectively allows us to obtain a zero-lag response when applied to an EMA, it is subject to repainting, as this indicator only returns the normalized sum of changes of the forward-backward EMA, which does not introduce any repainting behaviors in the final output of the oscillator.
🔶 SETTINGS
Length: Change the calculation lookback length for the oscillator.
Smoothing: Alter the smoothness of the back-end EMA calculations.
Source: Change the source input used for the indicator.
BullDozz MA-CandlesticksBullDozz MA-Candlesticks 🏗️📊
The BullDozz MA-Candlesticks indicator transforms traditional candlesticks by replacing their Open, High, Low, and Close values with various types of Moving Averages (MAs). This helps traders visualize market trends with smoother price action, reducing noise and enhancing decision-making.
🔹 Features:
✅ Choose from multiple MA types: SMA, EMA, WMA, DEMA, TEMA, LSMA
✅ Customizable MA period for flexibility
✅ Candlestick colors based on trend: Green for bullish, Red for bearish
✅ Works on any market and timeframe
This indicator is perfect for traders who want a clearer perspective on price movement using moving average-based candlesticks. 🚀 Try it now and refine your market analysis! 📈🔥
TTP Fibonacci MAThis indicator offers a fibonacci rainbow of moving averages.
Recommended instructions:
- timeframe: daily or weekly
- logarithmic scale
- default MA length for smoother curve
- fib levels used are 0.5,1,2,3,5 and 8, but you can also try with 1,2,3,5,8,13 or 0.33,05,1,2,3 depending on which range you want to cover
- you can render in weekly timeframe and still set the indicator settings timeframe to daily to get more reactive levels
Crossover EMMMCrossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings) and crossunders (downward crossings) between two moving averages. It uses two input parameters to define the fast and slow EMMM lengths. The script calculates the EMMM values, their changes, and assigns colors based on the change direction. The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction. The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
The "Madrid Moving Average" (EMMMM) is a type of moving average used in technical analysis to smooth price fluctuations of financial assets, such as stocks or currency pairs. Unlike the Simple Moving Average (SMA), which treats all data equally, the EMMM gives more weight to recent data. This results in the EMMM responding more swiftly to price changes, making it well-suited for identifying short-term trends.
Custom EMA from X Days AgoThis is an indicator to plot the selected EMA value from X days ago on today's candle.
Or it will helps to plot the previous candle's EMA value on current candle.
LNL Trend SystemLNL Trend System is an ATR based day trading system specifically designed for intra-day traders and scalpers. The System works on any chart time frame & can be applied to any market. The study consist of two components - the Trend Line and the Stop Line. Trend System is based on a special ATR calculation that is achieved by combining the previous values of the 13 EMA in relation to the ATR which creates a line of deviations that visually look similar to the basic moving average but actually produce very different results ESPECIALLY in sideways market.
Trend Line:
Trend Line is a simple line which is basically a fast gauge represented by the 13 EMA that can change the color based on the current trend structure defined by multiple averages (8,13,21,34 EMAs). Trend Line is there to simply add the confluence for the current trend. Colors of the line are pretty much self-explanatory. Whenever the line turns red it states that the current structure is bearish. Vice versa for green line. Gray line represents neutral market structure.
Stop Line:
Stop Line is an ATR deviaton line with special calculation based on the previous bar ATRs and position of the price in relation to the current and previous values of 13 EMA. As already stated, this creates an ATR deviation marker either above or below the price that trails the price up or down until they touch. Whenever the price comes into the Stop Line it means it is making an ATR expansion move up or down .This touch will usually resolve into a reaction (a bounce) which provides trade opportunities.
Trend Bars:
When turned ON, Trend Bars can provide additional confulence of the current trend alongside with the Trend Line color. Trend Bars are based on the DMI and ADX indicators. Whenever the DMI is bearish and ADX is above 20 the candles paint themselfs red. And vice versa applies for the green candles and bullish DMI. Whenever the ADX falls below the 20, candles are netural (Gray) which means there is no real trend in place at the moment.
Trend Mode:
There are total of 5 different trend modes available. Each mode is visualizing different ATR settings which provides either aggressive or more conservative approach. The more tigher the mode, the more closer the distance between the price and the Stop Line. First two modes were designed for slower markets, whereas the "Loose" and "FOMC" modes are more suitable for products with high volatility.
Trend Modes:
1. Tight
Ideal for the slowest markets. Slowest market can be any market with unusually small average true range values or just simply a market that does have a personality of a "sleeper". Tight Mode can be also used for aggresive entries in the most ridiculous trends. Sometimes price will barely pullback to the Trend Line not even the Stop Line.
2. Normal
Normal Mode is the golden mean between the modes. "Normal" provides the ideal ATR lengths for the most used markets such as S&P Futures (ES) or SPY, AAPL and plenty of other highly popular stocks. More often than not, the length of this mode is respected considering there is no breaking news or high impact market event scheduled.
3. Loose
The "Loose" mode is basically a normal mode but a little bit more loose. This mode is useful whenever the ATRs jump higher than usual or during the days of highly anticipated news events. This mode is also better suited for more active markets such as NQ futures.
4. FOMC
The FOMC mode is called FOMC for a reason. This mode provides the maximum amount of wiggle room between the price and the Stop Line. This mode was designed for the extreme volatility, breaking news events or post-FOMC trading. If the market quiets down, this mode will not get the Stop Line touch as frequently as othete modes, thus it is not very useful to run this on markets with the average volatlity. Although never properly tested, perhaps the FOMC mode can find its value in the crypto market?
5. The Net
The net mode is basically a combination of all modes into one stop line system which creates "the net" effect. The Net provides the widest Stop Line zone which can be mainly appreciated by traders that like to use scale-in scale-out methods for their trading. Not to mention the visual side of the indicator which looks pretty great with the net mode on.
HTF (Higher Time Frame) Trend System:
The system also includes additional higher time frame (HTF) trend system. This can be set to any time frame by manual HTF mode. HTF mode set to "auto" will automatically choose the best suitable higher time frame trend system based on how appropriate the aggregation is. For everything below 5min the HTF Trend System will stay on 5min. Anything between 5-15min = 30min. 30min - 120min will turn on the 240min. 180min and higher will result in Daily time frame. Anything above the Daily will result in Weekly HTF aggregation, above W = Monthly, above M = Quarterly.
Background Clouds:
In terms of visualization, each trend system is fully customizable through the inputs settings. There is also an option to turn on/off the background clouds behind the stop lines. These clouds can make the charts more clean & visible.
Tips & Tricks:
1. Different Trend Modes
Try out different modes in different markets. There is no one single mode that will fit to everyone on the same type of market. I myself actually prefer more Loose than the Normal.
2. Stop Line Mirroring
Whenever the Stop Lines start to mirror each other (there is one above the price and one below) this means the price is entering a ranging sideways market. It does not matter which Stop Line will the price touch first. They can both be faded until one of them flips.
3. Signs of the Ranging Market
Watch out for signs of ranging market. Whenever the Trend System looses its colors whether on trend line or trend bars, if everything turns neutral (gray) that is usually a solid indication of a range type action for the following moments. Also as already stated before, the Stop Line mirroring is a good sign of the range market.
4. Trailing Tool, Trend System as an Additional Study?
In case you are not a fan of the colorful green / red charts & candles. You can switch all of them off and just leave the Stop Line on. This way you can use the benefits of the trend system and still use other studies on top of that. Similarly as the Parabolic SAR is often used.
5. The Flip Setup
One of my favorite trades is the Flip Setup on the 5min charts. Whenever the Stop Line is broken , the very first opposing touch after the Trend System flips is a usually a highly participated touch. If there is a strong reaction, this means this is likely a beginning of a new trend. Once I am in the position i like to trail the Stop Line on the 1min charts.
Hope it helps.
All in One EMA indicator with Average EMA Calculations The Indicator displays multiple exponential moving averages (EMAs) on the chart. The six available options will let you adjust and set ]exponential moving averages ( EMAS) as per your choice. Additionally I have added an Average ema which will calculate the average of all the emas that you have selected. This average ema works very strong and greatly to find potential zone of dynamic supports and resistance as well as to gauge the overall trend .. The average ema will also allow you to keep your chart clean and you wont have to add too many emas together.
The average of the selected EMAs are displayed as a single line. This helps identify trends and potential reversals in the market. i hope this indicator will help you with trading...
Plz use the chart BINANCE:LINKBTC as reference, for back testing and educational purposes only.
Thumbs up if you liked the script.
Happy trading..
The HoneyChai RSI by CoffeeShopCryptoHere is a fun new way to view the RSI. A new TradingView Indicator for you RSI enthusiasts. This is the Honey Chai RSI Indicator.
This indicator combines the RSI oscillator with additional features to enhance its functionality and visual study.
The purpose of this indicator is to provide a more comprehensive view of the RSI and aid in identifying trends, potential entry / exit points, and ranging conditions.
How it's Built.
The RSI:
The RSI is represented by its common line which you can turn on and off, as usual.
Japanese candlesticks:
In this indicator, are also Japanese candlesticks giving you their representation of the RSI. This provides a clearer visualization of the RSI movements across its Open, High, Low, and Close, unlike the OHLC of the Heiken Ashi candles in the Heiken Ashi Algo.
In addition to the RSI line and Japanese candles, there are two moving averages applied to the RSI value. For the purpose of keeping with my CoffeeShop theme, the High average line is the Honey Line and the Low average line is the Chai Line. The user can choose between Exponential Moving Average or Simple Moving average. These moving averages are calculated based on the high vs low values of the past RSI readings, with the high average acting as the leading line.
When the Honey line is above the Chai Line, it indicates an uptrend, whereas when the Honey Line is below the Chai Line, it suggests a downtrend.
If the price is moving up but the Honey line is still below the Chai line, you're technically still in a downtrend and you should trade this like a pullback.
Identifying Trends.
To identify short entries, you need to wait for the Japanese candles to open and close below the Honey line while the Honey line is below the Chai Line. Conversely, you wait for the Japanese candles to open and close above the Honey line while the Honey line is above the Chai Line. This confirmation helps in identifying potential reversal points.
Range Bound Market.
The indicator also incorporates a visual representation of a ranging area. The 60 and 40 levels of the RSI are visually differentiated to indicate this range. When the Japanese candles are opening and closing within this range and the RSI remains contained within these levels, it suggests that the price is likely in a ranging phase, and traders should wait for a breakout from this range before taking action.
In summary, this custom indicator provides a comprehensive view of the RSI oscillator by incorporating Japanese candlestick visuals, moving averages, and a visual representation of the ranging area. By analyzing these elements, traders can gain insights into trends, potential entry points, and ranging conditions in the market.
---------HOW TO TRADE-----------
LONGS AND SHORTS
An example on how to use this in a long trade is to wait for your moving averages to be high (yellow) over low (orange). For the purpose of the description in this indicator you're looking for the honey to be over the chai.
Even if the RSI and Japanese candles in the oscillator are falling, however the honey is above the Chai, you are still in an uptrend.
The positioning of the moving averages will always determine the direction of the overall price trend so in this position you're looking for long entries.
take a long position as an entry when the open and the close of the Japanese candle in the oscillator is above your honey line.
when you notice a bearish candle closing below the honey line in an uptrend position you can exit your trade.
Confluence for short trades would be just the opposite and using the moving averages in an upside down pattern. In other words the honey needs to be below the chai and your Japanese candle needs to be closing bearish however they open and the close of that candle needs to be below both of your moving averages. exit when you get a bullish candle closing in between the averages.
TRADING RANGES
Wait for your moving average to enter into the range bound 60/40 area as well as your Japanese candles to Wick above and below this area but not close above and below the area.
At this point you can mark off the high and the low of the range as it pertains to your price chart and start using your range trading strategy.
RSI Exponential Smoothing (Expo)█ Background information
The Relative Strength Index (RSI) and the Exponential Moving Average (EMA) are two popular indicators. Traders use these indicators to understand market trends and predict future price changes. However, traders often wonder which indicator is better: RSI or EMA.
What if these indicators give similar results? To find out, we wanted to study the relationship between RSI and EMA. We focused on a hypothesis: when the RSI goes above 50, it might be similar to the price crossing above a certain length of EMA. Similarly, when the RSI goes below 50, it might be similar to the price crossing below a certain length of EMA.
Our goal was simple: to figure out if there is any connection between RSI and EMA.
Conclusion: Yes, it seems that there is a correlation between RSI and EMA, and this indicator clearly displays that relationship. Read more about the study here:
█ Overview of the indicator
The RSI Exponential Smoothing indicator displays RSI levels with clear overbought and oversold zones, shown as easy-to-understand moving averages, and the RSI 50 line as an EMA. Another excellent feature is the added FIB levels. To activate, open the settings and click on "FIB Bands." These levels act as short-term support and resistance levels which can be used for scalping.
█ Benefits of using this indicator instead of regular RSI
The findings about the Relative Strength Index (RSI) and the Exponential Moving Average (EMA) highlight that both indicators are equally accurate (when it comes to crossings), meaning traders can choose either one without compromising accuracy. This empowers traders to pick the indicator that suits their personal preferences and trading style.
█ How it works
Crossings over/under the value of 50
The EMA line in the indicator acts as the corresponding 50 line in the RSI. When the RSI crosses the value 50 equals when Close crosses the EMA line.
Bouncess from the value 50
In this example, we can see that the EMA line on the chart acts as support/resistance equals when RSI rejects the 50 level.
Overbought and Oversold
The indicator comes with overbought and oversold bands equal when RSI becomes overbought or oversold.
█ How to use
This visual representation helps traders to apply RSI strategies directly on the price chart, potentially making RSI trading easier for traders.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Extended from Moving AverageThis indicator helps avoid chasing extended stocks by showing every time a stock is too far extended from a selected moving average.
Features:
✔️ selectable moving average and source (high, low, close)
✔️ choose to plot or hide the moving average
✔️ selectable distance to be considered too extended
Swing Rapat Jik ( LOW-HIGH ) Smart Money TrendBandSWING RAPAT JIK ( LOW-HIGH ) Smart Money TrendBand
( 2023 updated edition )
The Swing Rapat Jik indicator is a method of knowing whether the current market is either at the highest or the lowest price.
It is also a relatively less risky strategy and suitable for long-term traders such as swing traders.
The analysis tool used is based on the Relative Strength Index ( RSI ) indicator as a parameter to measure the lowest price and the highest price in each cycle. If the price is at the extremely oversold level, then it shows the lowest price signal (LL/HL). Vice versa, if the price is at the extreme overbought level, then the signal will show the highest price signal (HH/LH).
It should be noted that this indicator is a repaint where it will make a re-mark if the price is at the lowest level of the previous signal. So, the solution is that I’ve added the Moving Average parameter as confirmation of the reversal of the LL price to the uptrend. That means the signal to enter the market only occurs when there is an Entry Price (EP) signal after LL/HL signal appears.
Please, do not enter the market when the EP signal is released if the LL/HL signal is not yet released. Make sure these two signals come out consecutively, starting with HL/LL and then the EP signal.
Key Signal;
LL = LOWER LOW
HL = HIGHER LOW
HH = HIGHER HIGH/TAKE PROFIT
LH = LOWER HIGH/TAKE PROFIT
EP = ENTRY PRICE
Hopefully, it can help traders to track the price at the lowest level before making a reversal and the highest price during the market supply situation.
*So far, the invention of the entry market is for the stock market only, which is to use buy signals only. Any updates for other markets will be notified from time to time.
Major updates;
1. Update version to Version 5 pine script
2. variable value used for the EP signal, to obtain a more significant weighted value.
3. Change of label color
4. Colored bars- bullish and bearish trends detected
SOPs and strategies
colored bars are pointers of the current trend and the period in which it occurred.
Use this combination as a strong confirmation
Odd_Moving AveragesMulti Moving Average Analysis
A highly customizable indicator to help discover moving averages being used in the market.
📈 Chart up to 15 Moving Averages in the same indicator
⏳ Changeable time frame resolution
Ⅲ Available types - Simple, Weighted, Volume-weighted
≡ Custom and pre configured length sets
🪄 Automatic hiding of moving averages a set % away from last price
🌈 14 selectable color sets for plot lines
🗻 Selectable themed legend of values
-Removes hidden values
-Selectable density of data
⇄ Selectable chart data locations
Shaktiman [DSS_Rajput]I'm a Momentum Trader, following the Indian markets, Mark Minervini and William O'Neil follower.
User Settings
Inputs tab
EMA option for Table - It compares the current price of the symbol to its key EMA's and calculates the rate of return to make it easier to track the performance of the symbol. It Helps you to identify how far the price is from its Key EMA's
ADDITIONAL TABLE DATA - It will allow you to use multiple performance data sets with your set of customizable inputs (You can change periods as per your requirements)
Show Inside Bar (IB): Allows you to add Inside Bar on your chart
Show NR4 (Narrow Range): Allows you to add an NR4 bar on your chart
Show INR7(Narrow Range): Allows you to add NR7 Bar on your chart
Distance_From_EMA_Table: Allows you to enable/disable the price difference with its key EMA's table.
ROC_Table: It compares the current price of the symbol to its past price and calculates the rate of return to make it easier to track the performance of the symbol.
Note that the Performance sidebar is not updated in real-time, while this indicator is, so on real-time charts.
The formula of the calculation is (Current value - Past value) * 100 / Past value, where Past value is: 1W, 1M, 3M, 6M, 1Y
Momentum_Table: It compares the current price of the symbol to its past lowest price of that period and calculates the %Gain of the symbol from the low of that period
Power_Play_Candidate: It will show the power play candidate, similar to IBD, It merely qualifies for Power_Play.
You need to wait for the Right Entry point. It will give you 8 Week Range.
According to IBD, it should move 100%+ in less than 8 weeks. You can modify your criteria by changing the percentage gain.
U/D Ratio: IBD defines the U/D ratio as "A 50-day ratio that is derived by dividing total volume on up days by the total volume on down days.
A ratio greater than 1.0 implies positive demand for a stock"
UpVol criteria: close>open and vice versa for DownVol
Rvol (Relative Vol): Percentage volume change (compared to daily average volume)
ADR : It allows you to add the Average Daily Range to the table.
Show 50D Avg. Vol & Avg. Vol rupee: It allows you to add 50-Day Avg. Vol and 50-Day Avg. Vol rupee.
Show_Bull_Snort: Allows you to add bull snort to your chart and style the bar.
Bull Snort is the work of Oliver Kell. For more info about Oliver kell, check youtube videos of Oliver Kell.
Normal Moving Average: Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Fixed Moving Average : Plot 4 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. Let's say you applied Fixed Daily 20MA, on the intraday chart.
It will not change its value and It will give you much more clarity that, from where the price is bouncing from 20MA. Explore it (You will definitely love it!)
Fixed Moving Average : Plot 2 Simple, Exponential, and Weighted Moving Averages. (You can choose an option between EMA/SMA/WMA)
Plus Point: It will not change its value when you switch to a different timeframe. (It's like Plotting 10 Week Line on Daily Chart & Intraday Charts)
Numbers of weeks to show High & Low: It will add data to the tables and also add 52 weeks of High & Low lines on the charts.
(Number of weeks is customizable, you can change as per your requirements.)
Style tab
You can modify the style and color of any of the inputs except table color.
Conclusion
If you like this script, click on Add to favorite indicators, so that you can easily add this indicator from your favorites tab right away.
Hope you find this useful. Please leave any questions you have in the comment section and I'll be happy to answer them.
Thanks!
rt maax EMA cross strategythis just sample of our strategies we published with open source, to learning our investor the way of trading and analysis, this strategy just for study and learning
in this strategy we use expontial moving avarage 20 , 50 , 200 and the we build this strategy when the price move up ema 200 and ema 20,50 cross up the 200 ema in this conditions the strargey will open long postion
and the oppisit it is true for short postion in this sitation the price should be under ema 200 and the ema 20 , 50 should cross under 200 ema then the strategy will open the short postion
we try this strategy on forex ,crypto and futures and it give us very good result ,, also we try this postion on multi time frame we find the stragey give us good result on 1 hour time frame .
in the end our advice for you before you use any stratgy you should have the knowledg of the indecators how it is work and also you should have information about the market you trade and the last news for this market beacuse it effect so much on the price moving .
so we hope this strategy give you brefing of the way we work and build our strategy
Dynamically Adjusting EMA Crossing
The Exponential Moving Average is the most commonly used indicator in every market. but no one can predict which pair of exponential moving average crossing will work best together. Every instrument require different EMAs crossing. It can be 2 EMA crossings or 3 EMA crossings.
Dynamically Adjusting EMA crossing tries to solve this issue. Algorithm finds the optimal EMA crossing setting for every instrument across all timeframes based on the EMA lengths provided in the settings. It evaluates the most profitable crossing combination for each instrument. The logic backtests the different combinations of EMA crossing based on the EMA lengths provided in the indicator's settings.
There are 3 EMA options in the settings Fact, Slow and Long. Indicator's Settings have the option to choose 2 EMA crossings or 3 EMA crossings.
Default Settings
Fast : 5 to 10
Slow : 13 to 19
Long : 20 to 60
Please do keep in mind that the performance of the indicator reduces as we increase the default settings range.
Please contact me for access
EMA and MACD with Trailing Stop Loss (by Coinrule)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.
Moving average convergence divergence ( MACD ) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average ( EMA ) from the 12-period EMA.
The result of that calculation is the MACD line. A nine-day EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals. Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line. Moving average convergence divergence ( MACD ) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
The Strategy enters and closes the trade when the following conditions are met:
LONG
The MACD histogram turns bearish
EMA7 is greater than EMA14
EXIT
Price increases 3% trailing
Price decreases 1% trailing
This strategy is back-tested from 1 January 2022 to simulate how the strategy would work in a bear market and provides good returns.
Pairs that produce very strong results include XRPUSDT on the 1-minute timeframe. This short timeframe means that this strategy opens and closes trades regularly
In order to further improve the strategy, the EMA can be changed from 7 and 14 to, say, EMA20 and EMA50. Furthermore, the trailing stop loss can also be changed to ideally suit the user to match their needs.
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.
SMA_EMA_CPR_PivotThis Script can do multiple jobs in single indicator.
Like -:
Plot 3 SMA as per your inputs.
Plot 3 EMA as per your inputs.
Plot CPR Levels.
Plot Pivot Levels.
Plot Previous Day High Low.
Indicator can used in Intraday stock trading, Positional Trading and options trading.
Please Enjoy.
Tripple EMA Strategy - Dhan HQDear Traders,
Here with presenting the new Indicator (Strategy) which is primarily built based on the the EMA moving Average and Candlestick Pattern.
Idea behind this Indicator: I am sure every trader would have traded using Moving average one day or the other. And Moving average is theoretically they are Lagging and the EMA are used in place of Moving average just to avoid a bit of Lag to take advantage of those accuracy while avoiding the Lag. In order to be successful in trading Money Management and Risk Management is very much crucial and should be part of every trade we place.
What this indicator is providing:
Based on the EMA and candlestick patterns and using the inputs provided for RISK and Money Management options, Indicator continuously scans for trading opportunities and provides alerts for possible trades. I have tried to capture some analytical inputs for one to think and take control over the Reward, Risk and Money management parameters to tweak the indicator accordingly.
Below are the Analytical outputs provided:
1. Total Trades taken (History till present) and its profitability % & appx PNL
2. Current Dates & Yesterday's Trades along with its appx PNL
3. Long Trades performance vs Short Trades performance
4. Retrieve PNL values post specified Date in the Input settings.
5. Last 7 Days PNL
6. Month's PNL
Note: There is known BUG in the calculation where the first date of the month for Monthly PNL value is a trading Holiday then Monthly PNL is being displayed as 0. similarly this Bug is flowed for Last 7 Days PNL. This will be addressed in upcoming version along with planned release.
Alerts & Notifications:
There are basically 2 types of Alerts provided one with General Notification and Other with Dhan HQ notifications to support Algo Trades for Dhan HQ Baskets.
Overview for Dhan HQ Trade Alerts:
1. When the Day Beginning (At Session Start) Hedge Position can be placed and shall be squared off post Closing the session
2. During the course of the Day Buy & Sell Baskets shall be executed
3. Can map the Trade Level SL values
4. Can map Daily Limit for SL to avoid excessive Loss. Upon Loss you could stop trades for the complete day or you may restart the trade post completion of X no of hours.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Trade Pro - Rejection Zone IndicatorThe Rejection Zone Indicator can be used to help trend following traders know when to buy dips in up trends, and when to sell pull backs in down trends.
The Rejection Zone Indicator is made up of the 20 and 50 period Exponential Moving Averages. This indicator has colored shading in between these two EMAs, which acts as a nice visual. When the 20 period Exponential Moving Average is below the 50 period Exponential Moving Average, the shaded cloud will be red, and when the 20 EMA is over the 50 EMA the cloud will be green. It is called the Rejection Zone indicator, because often in trends when price pulls back to the colored cloud, it will act as an area of support or resistance.
The suggested use of the Rejection Zone Indicator is to look for long trades when the cloud is green, and once price has pulled back into the green cloud. If the cloud is red one can look for short trading opportunity when price pulls back into the red cloud.
EMAs DistancesThis indicator shows 4 configurable EMAs and the distances (values and percentages) to the last price of the stock, etf or index.
EMA ON MA SETSOORY FOR MY EINGLISH
ITS NOT MY NATIVE AND IM NOT GOING TO GOOGLE TRANSLATE THIS
this is a beuaitful indicator that plot EMA that gat is calc from another ma and length for your choise so you will get an = 'ema on ma '
it can plot you more beautiful results and more smoothing results
i added golden/death cross for all ma
enjoy !
היי חברים זה בעצם אינדיקטור של ממוצע נע על ממוצע נע לנוחיכותכם
הפלט הראשי הוא EMA
הוא לוקח את החישוב שלו ממוצע אחר והאורך שתגדירו
נותן תוצאה יותר חלקה של ממוצעים נעים
הוספתי חתיוכים בין ההמוצעים
תהנו.