Algorganic Buy / Sell / X-Exit Signal [UOI]The " Algorganic Buy / Sell / X-Exit Signal " indicator is an Algorithmic Machine Learning-based superpack indicator that generates buy and sell signals for trading in financial markets. It is packed with conditional statemnets and filters to avoid false signals and utilizes Nearest Neighbors Model (NNM) algorithm with a distance metric to determine the direction of the price movement and make predictions according to the next past 12 bars for the next 4 to 8 bars in whatever chart frame the trader is using. Ideal time frames are 2, 3, 5 and 15 minutes for option traders and scalpers can use it on the 1 minute chart.
The indicator takes into account various technical indicators such as Relative Strength Index (RSI), Average Directional Index (ADX), CCI, Stochastic, ATR and major EMAs and has two optimizer for confirmation. These indicators are used as features to train the Machine Learning model and at the same time to provide better buy and sell signals with multiple "if" conditions.
The NNM algorithm calculates the distance between the current data point and historical data points. It works like a mixture of ATR and ADX. By considering the nearest neighbors, the model predicts the direction of future price movement. The predictions are filtered using additional criteria, including volatility, trend detection, and, ATR and ADX values.
The indicator provides visual signals on the chart, indicating when to enter a long (buy) or short (sell) position but traders should also be mindful of support and resistance levels and oversold and overbought conditions and the higher timeframe signal. It also offers options for dynamic exits based on specific conditions or fixed exits after a predefined number of bars.
Additionally, the indicator includes filters based on EMA (Exponential Moving Average), SMA (Simple Moving Average), and a kernel regression technique. These filters help to refine the signals and reduce noise in the predictions.
The indicator also includes alert functionalities to notify traders of entry and exit points.
The Algorganic is a versatile trading indicator that provides buy and sell signals based on the analysis of various popular technical indicators in combination with Machine Learning techniques with technical analysis and support and resistance levels to generate trading signals, helping traders make informed decisions. This powerful tool overlays on your price chart and can be used across different markets and timeframes.
Key Features:
1. Dynamic EMA Support and Resistance Levels: You can define the top and bottom lines as either 'Support' or 'Resistance'. These levels are calculated using an Exponential Moving Average (EMA) and Average True Range (ATR) inputs.
2. Exponential Moving Average (EMA): The EMA is calculated based on the EMA length input provided by the user, with a default setting of 21 periods.
3. Average True Range (ATR): The ATR is calculated with a default length of 14 periods and is used in determining the support and resistance levels.
4. Buy/Sell Signals: The indicator provides buy and sell signals when the price hits the defined support or resistance levels. These signals are represented by X-shapes plotted on the chart, with green indicating a hit on support (buy signal), and red indicating a hit on resistance (sell signal).
5. Trend Strength Analysis: It uses a unique combination of technical indicators like MACD, RSI, Velocity, CCI, Stochastic, and a custom trend strength indicator. The settings for each of these indicators can be customized according to user preference.
6. Bull/Bear Tug of War: This feature paints the little triangles green if the majority of the indicators are bullish, and red if the majority are bearish. This is a powerful feature to visualize the overall market sentiment.
7. Buy/Sell Alert: The script generates alerts for potential buy and sell signals. Alerts contain information about the signal type, ticker symbol, and current price.
8. Plot EMA Line: This indicator includes an option to display an additional EMA line on the chart, which can be toggled on or off as per the user's choice.
How to use it:
You basically need to master riding this machine. There are a lot of conditions that have been added to make sure novice traders do not make a mistake. The image below shows how to use the indicator. Pay attention to colors:
Longer time frame you should pay attention to the EMA lines and over bought and oversold levels in the optimizers. here is an example:
And another example on 15 min timeframe:
On top of all the above, this indicator has a built-in advanced support and resistance tool that dynamically identifies pivot points and their corresponding support and resistance zones based on the historical data of a given asset. So what this means is that you should ignore a buy signal very close to a resistance and only enter when the resistance is broken.
Here are the configurable support and resistance parameters:
1. Pivot Period : The period considered for pivot detection. The range is between 4 to 30 days with a default value of 25.
2. Source: The price point to be used as the source for pivot detection. You can choose between 'High/Low' and 'Close/Open'.
3. Maximum Number of Pivot: This defines the maximum number of pivot points that the algorithm will store. This can be anywhere from 5 to 100, with 45 as the default value.
4. Maximum Channel Width % : This sets the maximum width of the support/resistance channel as a percentage. Minimum value is 1, with a default value of 10. Higher numbers capture longer timeframe and lower number shorter timeframes. For scalping use 5 or 8 for swing use 12 or 14.
5. Maximum Number of Lines: This sets the maximum number of support/resistance lines displayed on the chart. It ranges from 1 to 15 with a default of 10.
6. Minimum Strength: This is the minimum strength of the support or resistance line, defined by the number of times price touches it. It ranges from 1 to 10 with a default of 2.
7. Line Style: This option allows the user to choose the line style between 'Solid', 'Dotted', and 'Dashed'.
8. Line Width: This allows users to choose the width of the line ranging from 1 to 4.
9. Resistance Color and Support Color: These define the colors for the resistance and support lines.
The script also includes functions to calculate if the price has crossed over or under a support or resistance line.
The S/R assist uses these inputs to calculate pivot highs and lows, create support and resistance zones, and plot these on the chart. When the price crosses a support or resistance line, the script can identify this as a possible trading signal. The lines' strengths are also calculated, and only those with strengths above the user-defined minimum are drawn on the chart.
Exponential Moving Average (EMA)
Volume Spike, Price Move >3% Spike with Vol & Gap Up IdentifierTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
PA Double Diamond [NawidD.]This indicator will use ALMA cross as strategy to display Buy and Sell signals. You can filter the signals with several options, like a Moving Average (MA), True Strength Index (TSI), Range Filter, and/or filter by session. You can set alerts with pre-defined Take Profit (TP) and Stoploss (SL). Please read below for more detailed information.
Plots on the chart
- ALMA Fast and ALMA Slow.
- ALMA Cross Dots on top.
- Buy/Sell signals. Show as a Diamond or as regular.
- Moving Average (MA). Available options: SMA/EMA/ZLEMA/DEMA/TEMA.
- Sessions Filter (London/New York/Tokyo/Sydney)
- Take Profit and Stoploss.
- Show Stoploss hit.
ALMA
Default is ALMA Fast set to 13 and ALMA Slow set to 50. These can be changed by input.
ALMA Cross Dots on top
This will display dots on top of the chart. It shows ALMA Fast and ALMA Slow crosses only, without MA, TSI, Range Filter, and Session filter.
- Blue dot: ALMA crossover, up direction.
- Orange dot: ALMA crossunder, down direction.
Moving Average (MA) for overall trend direction
It is possible to enable the overal trend direction using the MA.
When enabled, Buy signals will be shown when signal is above the MA, and Sell signals will be shown when signal is below the MA. The following options are available:
- SMA = Simple Moving Average
- EMA = Exponential Moving Average
- ZLEMA = Zero Lag Exponential Moving Average
- DEMA = Double Exponential Moving Average
- TEMA = Triangular Moving Average
True Strength Index (TSI)
The signals can be filtered using the True Strength Index (TSI). Please note, this indicator will use the TSI, but won't display it for visualization. Default options: Long Length 25, Short Long 13, Signal Length 13. This can be changed by input.
Range Filter
The signals can be filtered using the Range Filter. Change the input in the settings. You can also display the Range Filter from the Styles tab.
Sessions Filter
Filter signals by session. You can also select the UTC timezone, and use daylight savings time (this will add 1 hour for daylight savings time). Available options to use as session filter: London/New York/Tokyo/Sydney. You can also display the sessions without using them as filter.
Take Profit (TP) and Stoploss (SL)
The TP and SL can be set. Use the value in ticks. So 30 pips equals 300 ticks. You can enable/disable the TP and SL from settings.
Alert Option
Alerts can be set to message you with the pre-defined TP and SL when a Buy Signal or Sell Signal occurs. I recommend to use alerts with trigger "Once per bar close". When linked to your broker/metatrader it is possible to set the indicator as autotrading since it will message you:
- Entry price
- TP price
- SL price
Parabolic SAR + EMA 200 + MACD SignalsParabolic SAR + EMA 200 + MACD Signals Indicator, a powerful tool designed to help traders identify optimal entry points in the market.
This indicator combines three popular technical indicators: Parabolic SAR (Stop and Reverse), EMA200 (Exponential Moving Average 200) and MACD (Moving Average Convergence Divergence) - to provide clear and concise buy and sell signals based on market trends.
The MACD component of this indicator calculates the difference between two exponentially smoothed moving averages, providing insight into the trend strength of the market. The Parabolic SAR component helps identify potential price reversals, while the EMA200 acts as a key level of support and resistance, providing additional confirmation of the overall trend direction.
Whether you're a seasoned trader or just starting out, the MACD-Parabolic SAR-EMA200 Indicator is a must-have tool for anyone looking to improve their trading strategy and maximize profits in today's dynamic markets.
Buy conditions
The price should be above the EMA 200
Parabolic SAR should show an upward trend
MACD Delta should be positive
ُSell conditions
The price should be below the EMA 200
Parabolic SAR should show an downward trend
MACD Delta should be negative
DCA EMA Simple Bot [Starbots]
This is a simple idea of DCA trading on EMA crosses. Strategy is not repainting.
The difference between this and any other strategy is, that this script allows you to preset DCA buy triggers at desired levels and customize each DCA order size independently. Alerts are working, this strategy is easily used for automatic trading.
I mainly trade on Cryptohopper, Pionex, 3commas. This was created for community, alerts are working and non-repainting. Should work on any other as well.
Trading Condition:
It's buying when Fast EMA crosses up Slow EMA. Set your paramters.
It's selling if EMA's crosses back, signaling a sell. Optional.
DCA:
You can enter DCA on 20 custom levels or layers. It buys DCA when price hits the plotted blue line on the chart that's set by input % triggers. (buy 1st DCA at 2% drop, buy 2nd DCA at 5% drop,...)
Set your Inital Capital and Pyramiding in Properties tab, Initial Order Size and DCA Order Size (lot1,lot2,lot3,..), Order Type are changed in strategy inputs.
-By default you can see that we buy when EMA's cross up and signal a buy for 10% of equity, if market is dropping you will then place a first DCA order ( 20% equity) at 2% drop (lower) from initial order. If market keeps dropping you have more DCA levels where you can buy and average down your holding position. For selling you can use Take profit and Stop Loss targets that averages down multiple open positions, it will sell it once it reaches your desirable Take Profit and close a deal. You can also close your trade if EMA signals a sell.
Pyramiding - number of orders you can open at a time
Your first buy order is pyramiding 1. To allow it to buy 1 DCA or merge one time, set pyramding to 2.
Want to DCA 10 times? Set pyramiding at 11. (+1 always)
More features:
- Profit Calendar
- Show Balance label before every new trade
- DCA table - visualize how much of your investment is used in trades. If a background of the table is green you are okay, if the background color is red - you are using more money for orders than you actually have.
Buy Orders << Strategy Equity/Capital
- Show / Hide DCA lines - if your chart processing is getting slow you should hide some DCA levels to speed it up
- Backtesting Range - for testing the strategy in different time windows
- Alerts
When all trades are closed on your chart, winning rate of the strategy is 100% actually.
Win rate is shown differently as it's actually closing and opening every trade individually by default in TradingView system. We merge positions together and average it down into one big position to later sell for a profit (DCA).
You use this Trading Algorithm at your own risk. Do not trade before testing or invest something you cannot afford to lose on markets.
Trend hunter strategy - buy & sellThe indicator combines multiple technical indicators and conditions to generate buy and sell signals.
Here's how the indicator works and how to use it:
Strategy Selection:
The indicator provides a dropdown menu to choose the type of strategy. The available options are "Pullback" and "Simple."
Supertrend Settings:
The Supertrend indicator is used to identify the trend direction.
The indicator takes two input parameters:
ATR Length: Specifies the length of the Average True Range (ATR) used in the Supertrend calculation. The default value is 10.
Factor: Specifies the factor used in the Supertrend calculation. The default value is 3.0.
EMA Settings:
The indicator also includes an Exponential Moving Average (EMA) condition.
You can enable or disable the EMA condition using the "Ema Condition On/Off" checkbox.
If enabled, the indicator calculates an EMA based on the close price.
You can specify the length of the EMA using the "Ema Length" input parameter. The default value is 200.
RSI Settings:
The Relative Strength Index (RSI) indicator is used to generate additional conditions.
You can enable or disable the RSI condition using the "Rsi Condition On/Off" checkbox.
If enabled, the indicator calculates the RSI based on the close price.
You can specify the length of the RSI using the "Rsi Length" input parameter. The default value is 14.
Additionally, you can set the overbought and oversold levels for the RSI using the "RSI BUY Level" and "RSI SELL Level" input parameters, respectively. The default value for both is 50.
Final Conditions:
The indicator combines the Supertrend, EMA, and RSI conditions to generate buy and sell signals.
The specific conditions depend on the chosen strategy:
For the "Simple" strategy, the buy condition is when the Supertrend is in an up trend, not in a previous long position, the RSI is above the overbought level, and the close price is above the EMA.
For the "Pullback" strategy, the buy condition is when there is a cross under of the previous low with the Supertrend, the Supertrend is in an up trend, the RSI is above the overbought level, and the close price is above the EMA.
The sell conditions are the opposite of the respective buy conditions.
Backtest Period:
You can specify the start and end dates for the backtesting using the "Start calculations from" and "End calculations" inputs, respectively. The default start date is "2005-01-01" and the default end date is "2045-03-01." (this is work in progress) Still working on the table part, it is a bit tricky.
Trade Direction:
You can choose the trade direction using the "Trade Direction" input parameter. The available options are "Long," "Short," and "Both."
Depending on the selected trade direction, the indicator will generate signals accordingly.
Visual Display:
The indicator plots the Supertrend line on the price chart.
Buy signals are shown as green labels below the price bars.
Sell signals are shown as red labels above the price bars.
Adjust the input parameters according to your preferences, and then apply the indicator to a chart to see the generated signals. Please note that this indicator should be used for educational purposes only and should be thoroughly tested before using it for real trading.
3 Fib EMAs To Scalp Them AllThe "3 Fib EMAs To Scalp Them All" was made in order to clear up when we should look for shorts, longs, or walk away. Also it can alert you when a trend starts, or when there is a possible reversal. I use it for scalping/day trading in 5m-1h timeframes.
1. EMAs: By default, the indicator uses Fibonacci numbers (21, 55, 233), but you can change them.
2. Color Changes: The color of the Micro EMA line changes depending on its relation to the Mid and Macro EMAs.
When Micro EMA < Mid < Macro EMA, it turns red, indicating a potential bearish trend - that's when you should look for shorts
When Micro EMA > Mid > Macro EMA, it turns green, indicating a potential bullish trend - that's when you should look for longs
A white Micro EMA is when you need to take some rest, enjoy your coffee, and avoid overtrading.
3. Signals: The indicator provides visual signals in the form of diamonds and crosses and corresponding alert signals.
A red diamond above the bar signals a potential beginning of a downtrend
A red cross above the bar signals the end of the downtrend and can be used as a signal for a possible reversal up/breakout.
A green diamond below the bar signals a potential beginning of a downtrend,
A green cross below the bar signals the end of the uptrend and can be used as a signal for a possible reversal down/breakout.
4. Alerts: For algo traders and people who prefer to stay away from the monitor... there are alerts for every signal.
Friendly note: Don't blindly follow the signals for your long and short entries. The signals only pop up when the EMA cross value gets a confirmation. A smart move would be to wait for a retracement to the EMA line and use momentum indicators like market cipher B to pinpoint those ideal entry points.
EMA with Buy/Sell Signals by lbkindCertainly! Here's a description of the code:
This Pine Script code is designed to plot Exponential Moving Averages (EMAs) on a chart and generate buy/sell signals based on specific conditions. The code includes a filter to reduce false signals by considering the trend of the EMA 200.
The key components of the code are as follows:
1. Input Variables: The code starts by defining input variables such as the periods for the EMAs (ema200Period, ema50Period, ema13Period), the Average True Range period (atrPeriod), and the chopiness threshold (chopinessThreshold).
2. Calculating EMAs: The EMAs (ema200, ema50, ema13) are calculated using the `ema()` function based on the closing price.
3. Average True Range (ATR): The ATR is calculated using the `atr()` function with the specified period (atrPeriod).
4. Normalized ATR: The normalized ATR is computed by dividing the ATR by the closing price and multiplying by 100. This allows for better comparison across different price levels.
5. EMA 200 Trend Direction: The code determines the trend direction of the EMA 200 by comparing the current value with the previous value. The variables `ema200TrendUp` and `ema200TrendDown` are assigned `true` or `false` values based on the trend direction.
6. Generate Buy/Sell Signals: The buySignal is generated when the following conditions are met:
- There is a crossover of the shorter EMAs (ema13, ema50).
- The EMA 200 is in an uptrend (`ema200TrendUp` is true).
- The current close is above the EMA 200.
- The normalized ATR is below the specified chopiness threshold.
The sellSignal is generated when the opposite conditions are met.
7. Plotting: The EMAs (ema200, ema50, ema13) are plotted on the chart using the `plot()` function. The buy and sell signals are plotted as labels using the `plotshape()` function. The buySignal is displayed below the candle (`location=location.belowbar`), and the sellSignal is displayed above the candle (`location=location.abovebar`).
By incorporating these features, the code provides a visual representation of the EMAs, along with buy and sell signals that consider the EMA 200 trend, crossover of shorter EMAs, and the normalized ATR condition. This helps in identifying potential entry and exit points in the market while attempting to reduce false signals.
Projected EMA based on past 21 days [UOI]As we transition from a bear market to a more positive market sentiment, many equities are starting to rise above the 200-day Exponential Moving Average (EMA) and experience significant price increases solely based on this technical factor.
Here is a good example with NYSE:AMC :
This indicator is designed to help you predict the future crossover point by calculating the average price over the past 21 days and projecting the 200-day EMA for the future.
This indicator is tailored to assist average individuals who are interested in swing trading stocks or other securities. It enables them to anticipate when the price of a stock might move above or below a significant level known as the 200-day EMA, although it can be adjusted to different values like 100 or 50 EMA. When a stock price moves above the 200-day EMA, it is often considered a positive sign for future price increases.
Here is how this can help us understand the natural cycle of price action:
The indicator functions by calculating the average price over the past 200 days, which helps smooth out daily price fluctuations and provides a clearer perspective of the overall trend. It also considers the average price change over the previous 21 days to project future prices. By doing so, it aims to predict when the price might cross above the 200-day EMA line.
When utilizing this indicator, you will observe two lines on the price chart. The first line represents the 200-day EMA, visually depicting the average price trend. The second set of lines, displayed as dashed lines, indicate potential future price movements. These lines assist in anticipating when the price might surpass the 200-day EMA line, indicating a potential upcoming bullish (upward) trend.
To summarize, this indicator serves as a valuable tool for average individuals interested in trading securities. It facilitates the identification of critical points in stock prices, empowering users to make more informed decisions regarding when to buy or sell based on projected movements relative to the 200-day EMA line.
9:22 5 MIN 15 MIN BANKNIFTY9:22 5 MIN 15 MIN BANKNIFTY Strategy with Additional Filters
The 9:22 5 MIN 15 MIN BANKNIFTY Strategy with Additional Filters is a trend-following strategy designed for trading the BANKNIFTY instrument on a 5-minute chart. It aims to capture potential price movements by generating buy and sell signals based on moving average crossovers, breakout confirmations, and additional filters.
Key Features:
Fast MA Length: 9
Slow MA Length: 22
ATR Length: 14
ATR Filter: 0.5
Trailing Stop Percentage: 1.5%
Pullback Threshold: 0.5
Minimum Candle Body Percentage: 0.5
Use Breakout Confirmation: Enabled
Additional Filters:
Volume Threshold: Set a minimum volume requirement for trades.
Trend Filter: Optionally enable a trend filter based on a higher timeframe moving average.
Momentum Filter: Optionally enable a momentum filter using the RSI indicator.
Support/Resistance Filter: Optionally enable a filter based on predefined support and resistance levels.
Buy and Sell Signals:
Buy Signal: A buy signal is generated when the fast moving average crosses above the slow moving average, with additional confirmation from breakout and volume criteria, along with optional trend, momentum, and support/resistance filters.
Sell Signal: A sell signal is generated when the fast moving average crosses below the slow moving average, with similar confirmation and filtering criteria as the buy signal.
Exit Strategy:
The strategy employs a trailing stop-loss mechanism based on a percentage of the average entry price. The stop-loss is dynamically adjusted to protect profits while allowing for potential upside.
Please note that this strategy should be thoroughly backtested and evaluated in different market conditions before applying it to live trading. It is also recommended to adjust the parameters and filters according to individual preferences and risk tolerance.
Feel free to customise and adapt the description as needed to suit your preferences and the specific details of your strategy.
CUSTOM VWAP EMAThe Custom VWAP EMA (Volume-Weighted Average Price Exponential Moving Average) indicator is a powerful tool developed by Vedic Trading to provide traders with valuable insights into market trends and potential reversals. This indicator combines two key elements: the VWAP and the 37 EMA, along with a color-changing feature, to enhance trading decisions.
The VWAP is a popular technical analysis tool used to calculate the average price at which a security has traded throughout the day, taking into account both price and volume. It provides a weighted average based on the volume traded at different price levels, giving more importance to higher volume areas. The VWAP helps traders identify areas of support and resistance and provides a reference point for assessing the fair value of an asset.
The 37 EMA is an exponential moving average calculated by placing more weight on recent price data points. It helps smooth out price fluctuations and provides a visual representation of the overall trend. The 37 EMA is commonly used to identify the direction of the market and potential entry and exit points.
The Custom VWAP EMA indicator combines the VWAP and the 37 EMA to provide traders with a comprehensive view of market dynamics. It calculates the VWAP for different time intervals, such as 15 minutes, daily, and weekly, allowing traders to assess the intraday, daily, and longer-term trends.
One unique feature of this custom indicator is the color-changing capability. The indicator's color changes based on the relationship between the VWAP and the 37 EMA. For example, if the VWAP is above the 37 EMA, the indicator may turn green, indicating a potential bullish trend. Conversely, if the VWAP falls below the 37 EMA, the indicator may change to red, suggesting a potential bearish trend. This color-coded visual cue helps traders quickly identify market conditions and potential trade opportunities.
The Custom VWAP EMA indicator developed by Vedic Trading provides traders with a comprehensive analysis of market trends by combining the VWAP and the 37 EMA. Its color-changing feature enhances the visual interpretation, making it easier for traders to spot potential trading opportunities. This indicator can be a valuable tool for traders seeking to make informed decisions based on the interplay between volume, price, and trend dynamics.
Buy Sell using 5-8-13 EMA, RSI, PSAR IndicatorThis indicator generates Scalping and Strong Buy/Sell Signals.
Quick Scalp signals are generated using 5 EMA and RSI.
Strong Buy/Sell Signals are generated using combination of 5-8-13 EMA and Parabolic SAR.
Signals generated:
QB: Quick Buy
QS: Quick Sell
SB: Strong Buy
SS: Strong Sell
Machine Learning : Cosine Similarity & Euclidean DistanceIntroduction:
This script implements a comprehensive trading strategy that adheres to the established rules and guidelines of housing trading. It leverages advanced machine learning techniques and incorporates customised moving averages, including the Conceptive Price Moving Average (CPMA), to provide accurate signals for informed trading decisions in the housing market. Additionally, signal processing techniques such as Lorentzian, Euclidean distance, Cosine similarity, Know sure thing, Rational Quadratic, and sigmoid transformation are utilised to enhance the signal quality and improve trading accuracy.
Features:
Market Analysis: The script utilizes advanced machine learning methods such as Lorentzian, Euclidean distance, and Cosine similarity to analyse market conditions. These techniques measure the similarity and distance between data points, enabling more precise signal identification and enhancing trading decisions.
Cosine similarity:
Cosine similarity is a measure used to determine the similarity between two vectors, typically in a high-dimensional space. It calculates the cosine of the angle between the vectors, indicating the degree of similarity or dissimilarity.
In the context of trading or signal processing, cosine similarity can be employed to compare the similarity between different data points or signals. The vectors in this case represent the numerical representations of the data points or signals.
Cosine similarity ranges from -1 to 1, with 1 indicating perfect similarity, 0 indicating no similarity, and -1 indicating perfect dissimilarity. A higher cosine similarity value suggests a closer match between the vectors, implying that the signals or data points share similar characteristics.
Lorentzian Classification:
Lorentzian classification is a machine learning algorithm used for classification tasks. It is based on the Lorentzian distance metric, which measures the similarity or dissimilarity between two data points. The Lorentzian distance takes into account the shape of the data distribution and can handle outliers better than other distance metrics.
Euclidean Distance:
Euclidean distance is a distance metric widely used in mathematics and machine learning. It calculates the straight-line distance between two points in Euclidean space. In two-dimensional space, the Euclidean distance between two points (x1, y1) and (x2, y2) is calculated using the formula sqrt((x2 - x1)^2 + (y2 - y1)^2).
Dynamic Time Windows: The script incorporates a dynamic time window function that allows users to define specific time ranges for trading. It checks if the current time falls within the specified window to execute the relevant trading signals.
Custom Moving Averages: The script includes the CPMA, a powerful moving average calculation. Unlike traditional moving averages, the CPMA provides improved support and resistance levels by considering multiple price types and employing a combination of Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs). Its adaptive nature ensures responsiveness to changes in price trends.
Signal Processing Techniques: The script applies signal processing techniques such as Know sure thing, Rational Quadratic, and sigmoid transformation to enhance the quality of the generated signals. These techniques improve the accuracy and reliability of the trading signals, aiding in making well-informed trading decisions.
Trade Statistics and Metrics: The script provides comprehensive trade statistics and metrics, including total wins, losses, win rate, win-loss ratio, and early signal flips. These metrics offer valuable insights into the performance and effectiveness of the trading strategy.
Usage:
Configuring Time Windows: Users can customize the time windows by specifying the start and finish time ranges according to their trading preferences and local market conditions.
Signal Interpretation: The script generates long and short signals based on the analysis, custom moving averages, and signal processing techniques. Users should pay attention to these signals and take appropriate action, such as entering or exiting trades, depending on their trading strategies.
Trade Statistics: The script continuously tracks and updates trade statistics, providing users with a clear overview of their trading performance. These statistics help users assess the effectiveness of the strategy and make informed decisions.
Conclusion:
With its adherence to housing trading rules, advanced machine learning methods, customized moving averages like the CPMA, and signal processing techniques such as Lorentzian, Euclidean distance, Cosine similarity, Know sure thing, Rational Quadratic, and sigmoid transformation, this script offers users a powerful tool for housing market analysis and trading. By leveraging the provided signals, time windows, and trade statistics, users can enhance their trading strategies and improve their overall trading performance.
Disclaimer:
Please note that while this script incorporates established tradingview housing rules, advanced machine learning techniques, customized moving averages, and signal processing techniques, it should be used for informational purposes only. Users are advised to conduct their own analysis and exercise caution when making trading decisions. The script's performance may vary based on market conditions, user settings, and the accuracy of the machine learning methods and signal processing techniques. The trading platform and developers are not responsible for any financial losses incurred while using this script.
By publishing this script on the platform, traders can benefit from its professional presentation, clear instructions, and the utilisation of advanced machine learning techniques, customised moving averages, and signal processing techniques for enhanced trading signals and accuracy.
I extend my gratitude to TradingView, LUX ALGO, and JDEHORTY for their invaluable contributions to the trading community. Their innovative scripts, meticulous coding patterns, and insightful ideas have profoundly enriched traders' strategies, including my own.
EMA ProHi Traders!
This Improved EMA Cross Pro Indicator does a few things that Ease Up Our Charting.
Personally it Saved me Tons of Time searching for structure highs / lows, measuring ranges and distances from my entry to stop or take profit.
It's like having most of your trade in front of you, charted for you.
Works Across Assets & Time Frames.
The Functions
1. Signals EMA Crosses - green for Bull Cross & Red for Bear Cross
2. Signals Touches to the 55 EMA
a. In a Bull Cross it will only signal touches and closes Above the 55
b. In a Bear Cross it will only signal touches and closes Under the 55
3. Plots Current Horizontals:
a. The current position of the 55
b. The last High & Low
4. Calculation:
a. % from the 55 to the High & Low
b. Risk / Reward Ratio ("Bad Risk Management" message appears if ratio is not favorable)
c. Over Range between the Low and the High
5. Labels - Current prices for all horizontals marked as Entry, Exit & Stop
Notes:
* This Indicator is Interchanging between bull and bear crosses, it recognizes the trend and adapts its high and low output.
* You Can and Should make your personal changes. everything can be changed in the settings inputs.
* You can Turn On & Off most functions in the settings inputs.
BYBIT:BTCUSDT.P
EMA orderly stacked or notThis script plots a green circle on top of the chart when the EMAs are stacked positively, a red circle if they are stacked negatively and gray if neither positively nor negatively stacked.
The EMAs used are:
8 EMA
21 EMA
34 EMA
55 EMA
89 EMA
Useful when you look for a quick and easy way to see if these EMAs are stacked positively or negatively as a confirmation to the Squeeze Pro indicator if going long or short (Squeeze Pro is developed by John Carter at SimplerTrading.com and can be purchased there).
Default 100 bars back, but that can be adjusted.
Remember to do your own research.
Feel free to adjust the script to your liking.
The script is not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by me.
Have fun!
ADW - MomentumADW - Momentum is a trading indicator based on the Relative Momentum Index (RMI) and Exponential Moving Averages (EMAs). This indicator plots the RMI along with its EMAs and highlights regions where RMI crosses its slow EMA. Additionally, it provides alerts when the momentum flips bullish or bearish.
Key Features:
The RMI helps to identify momentum in the market.
Three EMAs (Fast, Standard, and Slow) were calculated on the RMI. These can be utilized to analyze the momentum trend over different periods.
Highlighted regions and colour coding to indicate when RMI crosses its Slow EMA, signalling potential momentum shifts.
Customizable parameters: Users can specify the lengths of the RMI and EMAs, boundaries for RMI, and colours for various components of the plot.
Alerts: The script can alert users when the momentum has flipped bullish or bearish.
The script is organized into several sections:
Inputs: The user can customize several parameters including the RMI averaging length, momentum lookback, RMI boundaries, and the EMA lengths. In addition, users can also specify the colours for the RMI line, Slow EMA line, and the fill colour.
RMI Calculation: The script calculates the RMI based on the user-provided length and momentum lookback. This is done by first calculating two EMAs - one for the positive differences between closing prices (emaInc), and one for the negative differences (emaDec). Then, the RMI is computed using these EMAs.
Plotting: The script plots the RMI line, Slow EMA line, and two horizontal lines indicating the RMI boundaries. In addition, it also fills the region between the RMI and Slow EMA lines.
Conditions: The script computes the conditions for bullish and bearish momentum flips. These are defined as when the RMI crosses above or below the Slow EMA respectively.
Alerts: Finally, the script sets up two alert conditions based on the bullish and bearish conditions. These alert the user when the momentum has flipped bullish or bearish, with a message that includes the current RMI value.
DB ZEMAThe DB ZEMA indicator is a no repaint indicator that is designed to local trends and local tops/bottoms. Since the indicator does not repaint, decisions can be made upon bar/period OPEN.
That means, when the indicator turns red indicating a market top is finished, then a decision can be made to close at the OPEN of that period. Likewise, when the indicator turns green, a decision can be made to buy at OPEN or during the current bar.
Additionally, traders may use the ZEMA level to get insight on the strength of the asset. For example, when the ZEMA is below -50 that would indicate a major low or weakness is present. ZEMAs under a certain threshold can indicate very good investment long entry points. Alternatively, zooming the chart out to view a long range of periods can show a pattern of common low ZEMA levels can be used as a baseline for good entry points. The same holds true for existing a long or entering a short.
Using a combination of the ZEMA color and the ZEMA level it's can be easy to tell smart entry and exist points. Especially on the weekly or higher timeframes.
For traders wanting real time data, there is a setting to disable the no-repaint mode to display the current real time ZEMA value. Traders may also adjust the length. By default the length of 10 is provided which is excellent for Weekly. We recommend a length of less than 10 for even high timeframes. For example a length of 2 is excellent on 4 Month timeframe for looking at market cycles, etc.
Finally the indicator offers the ability to change the symbol. This can be helpful in crypto in comparing the chart asset again BTC or similar.
Enjoy!
Bars Since EMA Touch (BSET)// Description:
Welcome to the "Bars since EMA touch" indicator, designed and developed by StockJustice. This script provides a unique approach to analyzing price movements relative to the Exponential Moving Average (EMA). It offers valuable insights into trend strength and trend duration, allowing traders to make informed decisions.
// How it Works:
The indicator calculates the EMA based on the chosen length, which is customizable through the input settings. Additionally, it calculates the MACD (Moving Average Convergence Divergence) and its signal line to further enhance the analysis.
The script tracks the number of bars since the price touches or crosses the EMA. It provides a histogram plot that represents this count. Positive values indicate bars since the price crossed above the EMA, while negative values indicate bars since the price crossed below the EMA.
The color of the histogram bars adjusts dynamically based on the relationship between the current close price and the EMA. If the close is above the EMA and the bars since EMA touch is greater than zero, the histogram will be colored red if the signal line is above the MACD. If the close is below the EMA and the bars since EMA touch is greater than zero, the histogram will be colored green if the signal line is below the MACD. Otherwise, the histogram bars will be colored blue or white, depending on the direction of the crossover.
The script also calculates percentiles for bullish and bearish trends. These percentiles indicate the proportion of trend durations that exceed a certain threshold, which is set at 20% by default. The percentile plots help identify significant trend durations and gauge their strength relative to the entire trend history.
// Usage:
This indicator can be applied to various markets and timeframes, accommodating different trading strategies. It is suitable for both intraday and swing trading. Traders can use it in conjunction with other technical analysis tools to confirm trade entries, identify trend reversals, or determine potential price targets.
// Input Parameters:
Length of EMA: This parameter allows you to define the length of the Exponential Moving Average used in the calculations. The default value is 9, but feel free to adjust it according to your preferences and trading style.
// Notes on Uniqueness:
The "Bars since EMA touch" indicator stands out from other published scripts due to its comprehensive analysis of trend durations, the use of MACD and its signal line, and the dynamic coloring of the histogram bars based on various conditions. The incorporation of percentiles provides further insights into trend strength. This unique combination of features makes the indicator a powerful tool for traders seeking a deeper understanding of price action.
// Relevance for Technical Analysis and Trading
The "Bars since EMA touch" indicator can be utilized for various aspects of technical analysis, including trend continuation, trend reversal, and identifying potential entry and exit points. Here's how you can apply it in different scenarios:
Trend Continuation:
When the histogram bars show positive values (indicating bars since the price crossed above the EMA), it suggests the presence of an ongoing uptrend. Traders can use this information to confirm the strength of the prevailing trend. If the histogram bars remain positive and the trend continues to unfold, it signals a potential opportunity to stay in the trade or consider adding to existing positions.
Trend Reversal:
Conversely, when the histogram bars show negative values (indicating bars since the price crossed below the EMA), it indicates a potential trend reversal or the beginning of a downtrend. Traders can watch for the histogram bars to transition from positive to negative values, signaling a possible trend reversal. This information can be used as an early indication to exit long positions or consider initiating short positions.
Entry and Exit Points:
Traders can incorporate the "Bars since EMA touch" indicator with other technical analysis tools to identify optimal entry and exit points. For example, when the histogram bars are positive, indicating an ongoing uptrend, traders might consider entering long positions when the price retraces and touches the EMA. This strategy aims to capitalize on potential pullbacks within the overall upward trend.
Conversely, when the histogram bars are negative, indicating a potential downtrend, traders might wait for the price to rally and touch the EMA before considering short positions. This approach seeks to enter short positions during temporary bounces within the overall downward trend.
Confirmation with MACD:
The script also incorporates the MACD and its signal line. Traders can analyze the relationship between the MACD and the signal line to confirm trend signals provided by the histogram bars. When the MACD crosses above the signal line and the histogram bars are positive, it adds further strength to the bullish indication. Similarly, when the MACD crosses below the signal line and the histogram bars are negative, it reinforces the bearish signal.
Responsive Histogram Color Scheme:
The color change of the histogram in the "Bars since EMA touch" indicator is specifically designed to alert traders to potential trend weakness or a shift in market dynamics. When the histogram bars turn red (for uptrends) or green (for downtrends), it signifies a weakening trend as the price approaches or hovers around the EMA. This color change acts as a visual cue, indicating that the trend may be losing momentum or facing resistance. It prompts traders to exercise caution, reassess the market conditions, and consider adjusting their trading strategies accordingly, such as tightening stops, taking partial profits, or preparing for a potential trend reversal.
// Red and Green Horizontal Lines:
The plotted percentile values in the "Bars since EMA touch" indicator hold significant importance as they provide insights into the strength and duration of trends. The percentile lines represent the proportion of trend durations that exceed a certain threshold, which is set at 20% by default.
The "Bull 15% Percentile" plot indicates the percentage of bullish trends that have lasted longer than 20% of the entire trend history. A higher value suggests that a significant portion of bullish trends has surpassed the threshold, indicating the presence of relatively strong and sustained uptrends.
On the other hand, the "Bear 15% Percentile" plot represents the percentage of bearish trends that have persisted beyond 20% of the total bearish trend history. A higher value suggests that a notable proportion of bearish trends has extended beyond the threshold, signifying the presence of pronounced and enduring downtrends.
These percentile lines serve as valuable reference points for traders, as they highlight significant trend durations compared to the overall trend history. They offer insights into the relative strength and duration of the prevailing trends, enabling traders to assess the potential continuation or reversal of the current trend. Additionally, observing changes in the percentile values over time can provide further indications of shifts in market dynamics and trend strength.
By incorporating these percentile lines into their analysis, traders can gain a better understanding of the market's trend characteristics and make more informed trading decisions.
Remember, as with any technical analysis tool, it's essential to consider other factors such as support and resistance levels, volume patterns, and broader market conditions to increase the accuracy of your trading decisions. It's recommended to backtest and validate the indicator's performance before using it in live trading.
NOTE: The 9ema is plotted on the chart simply to visually show how, once contact is made, the histogram stops plotting new bars. This visualization is needed to confirm how the script works.
Broadview Dominance SuiteIntroducing the revolutionary Broadview Dominance Suite, a culmination of scientific precision and astute mathematical finance, designed to provide traders with unparalleled insights into market dynamics and the balance of power. This suite leverages a comprehensive set of seven distinct moving averages, including the Simple Moving Average (SMA), Exponential Moving Average (EMA), Hull Moving Average (HMA), Weighted Moving Average (WMA), Volume Weighted Moving Average (VWMA), Triple Exponential Moving Average (TEMA), and Least Squares Moving Average (LSMA). Through the combination of these moving averages, the Broadview Dominance Suite offers traders an authoritative perspective on the control exerted by market participants over a given period.
At the heart of the Broadview Dominance Suite lies the concept of the balance of power, a pivotal determinant of market dynamics. The balance of power refers to the tug-of-war between buyers (bulls) and sellers (bears) within the market. By analyzing the relationship between the market participants, the suite allows traders to identify and comprehend who holds control over a specific timeframe.
The seven different types of moving averages employed in the Broadview Dominance Suite contribute to an in-depth assessment of market dominance. Each moving average possesses unique characteristics that facilitate a comprehensive evaluation of the balance of power. Let's delve into the moving averages included in this suite and their respective properties:
Simple Moving Average (SMA): The SMA, known for its simplicity, calculates the average price over a specified period. When applied to the balance of power, the SMA provides a smoothed line that highlights overall price trends. Its straightforward nature allows for a clear interpretation of the dominant market forces.
Exponential Moving Average (EMA): The EMA assigns more weight to recent prices, making it highly responsive to short-term price movements. By incorporating the EMA into the balance of power analysis, traders can identify potential trend reversals and shifts in market control with increased accuracy.
Hull Moving Average (HMA): The HMA employs weighted moving averages and a square root function to reduce lag and noise. This results in a smoother line that closely aligns with current price action. When assessing the balance of power, the HMA enables traders to discern precise trend indications, minimizing false signals and providing a clearer understanding of market dominance.
Weighted Moving Average (WMA): The WMA assigns varying weights to different price points within the selected period, placing greater emphasis on recent data. This feature allows the WMA to be more sensitive to recent price changes. When utilized in the analysis of the balance of power, the WMA excels at detecting short-term shifts in market control and identifying periods of heightened buying or selling pressure.
Volume Weighted Moving Average (VWMA): The VWMA incorporates trading volume into its calculation, highlighting the importance of volume in determining market dynamics. By integrating volume data, the VWMA offers a more comprehensive understanding of price levels where significant buying or selling activity occurs. In the context of the balance of power, the VWMA provides valuable insights into the intensity of market control exerted by the bulls or bears.
Triple Exponential Moving Average (TEMA): The TEMA employs multiple exponential smoothing techniques to reduce lag and enhance responsiveness. It excels at capturing short-term price movements and potential trend reversals. By incorporating the TEMA into the analysis of the balance of power, traders can gain a deeper understanding of swift shifts in market control, allowing for timely decision-making.
Least Squares Moving Average (LSMA): The LSMA minimizes the sum of squared differences between the moving average and the actual price, resulting in a curve that closely fits the price data. When applied to the balance of power, the LSMA provides a smooth line that effectively captures significant price trends. Its ability to filter out noise ensures a clearer representation of dominant market forces.
By combining these seven moving averages within the Broadview Dominance Suite, traders gain an authoritative assessment of market control. The interplay between these moving averages presents a nuanced and multi-faceted perspective on the balance of power. When a line falls below the center line, it signifies the market is under the control of the bears, indicating a dominance of selling pressure. Conversely, when the lines rise above the center line, it suggests the market is controlled by the bulls, with buying pressure prevailing.
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.
VWAP + 2 Moving Averages + RSI + Buy and SellIndicator: VWAP + 2 Moving Averages + RSI + Buy and Sell
Buy and Sell Arrows (Great for use alone or in conjunction with other scripts on the chart)
This indicator displays BUY (BUY) and SELL (SELL) arrows on the chart based on a combination of moving averages, VWAP and RSI. Arrows are a visual way to identify trading opportunities and can be useful for traders who want to follow a strategy based on these conditions.
The indicator uses two moving averages (20 and 50 periods) to identify upward crosses (buy) and downward crosses (sell). In addition, it takes into account VWAP (Volume Weighted Average Price) and RSI (Relative Strength Index) as additional filters to confirm buy and sell signals.
This script is great for use both independently and in conjunction with other indicators and strategies. You can combine it with other indicators and customize it to your preferences to create a more comprehensive trading strategy.
Please remember that this indicator is provided for educational purposes only and does not constitute financial advice. It is always recommended to carry out a thorough analysis before making any trading decisions.
Give this indicator a try and enjoy clear visualization of buy and sell arrows on your chart. Happy trading!
5EMA BollingerBand Nifty Stock Scanner
What ?
We all heard about (well: over-heard) 5-EMA strategy. Which falls into the broader category of mean reversal type of trading setup.
What is mean reversal?
Price (or any time series, in fact) tries to follow a mean . Whenever price diverges from the mean it tries to meet it back.
It is empirically observed by some traders (I honestly don't know who first time observed it) that in Indian context specially, 5 Exponential Moving Average (5-EMA) works pretty good as that mean.
So whenever price moves away from that 5-EMA, it ultimately comes back and attain total nirvana :) Means: if price moved way higher than the 5EMA without touching it, then price will correct to meet it's 5-EMA and if price moved way lower, it will be uplifted to meet it's 5-EMA. Funny - but it works !
Now there are already enough social media coverage on this 5-EMA strategy/setup. Even TradingView has some excellent work done on these setups. Kudos to all those great souls.
So when we came to know about this, we were thinking what we should do for the community. Because it is well cover topic (specially in Indian context). Also, there are public indicators.
Then we thought why not come up with a scanner which will scan all the Nifty-50 constituent stocks and find out on the fly, real-time which all stocks are matching this 5-EMA setup and causing a Buy/Sell trade recommendation.
Hence here we are with the first version of our first scanner on the 5EMA setup (well it has some more masala than merely a 5-EMA setup).
Why?
Parts of why is already covered up.
Now instead of blindly following 5-EMA setup, we added the Bollinger band as well. Again: it's also not new. There are enough coverage in social media about the 5-EMA+BB strategy/setup. We mercilessly borrowed from all of these.
Suppose you have an indicator.
Now you apply the indicator in your chart. And then you need to (rock) and roll through your watchlist of Nifty-50 stocks (note: TradingView has no default watchlist of Nifty-50 stock by default - you have to create one custom watchlist to list all manually) to find out which all are matching the setup, need to take a note about the trade recomendations (entry, SL, target) and other stuffs like VWAP, Volume, volatility (Bollinger Band Width).
Not any more.
This scanner will track all the Nifty-50 stocks (technically: 40 stocks other than Banking stocks) and provide which one to Buy or Sell (if any), what's the entry, SL, target, where is the VWAP of the day, what's the picture in volume (high, low, rising, falling) and the implied volatility (using Bolling band width). Also it has a naive alerting mechanism as well.
In fact the code is there to monitor the (Future) OI also and all the OI drama (OI vs price and all the 4 stuffs like long build up, long unwinding, short covering, short buildup). But unfortunately, due to some limitations of the TradingView (that one can not monitor more than 40 `ta.security` call) we have to comment out the code. If you wish you can monitor only 20 stocks and enable the OI monitoring also (20 for stocks + 20 for their OI monitoring .. total 40 `ta.security` call).
How?
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
Simple, but effective.
Customization
As usual the EMA setup (5 default), the BB setup (20 SMA with 1.5 standard deviation), we provided option wherther to include or exclude BB role in the 5-EMA setup (as we found out there are two schools of thought .. some people use BB some don't. Lets make all happy :))
We also provide options to choose other symbols using Settings if they wish so. We have the default 40 non banking Nifty stocks (why non-banking? - Bank Nifty is in ATH :) .. enough :)). But if user wishes can monitor others too (provided the symbol is there in TradingView).
Although we strongly recommend the timeframe as 30 minutes , you can choose what's fit you most.
The output of the scanner is a table. By default the table is placed in the right-bottom (as we are most comfortable with that). However you can change per your wish. We have the option to choose that.
What is unique in it ?
This is more of an indicator. This is a scanner (of Nifty-50 stocks). So you can apply (our recommendation is in 30m timeframe) it to any chart (does not matter which chart it is) and it will show every 30 mins (which is also configurable) which all stocks (along with trade levels) to Buy and Sell according to the setup.
It will ease your trading activity.
You can concentrate only on the execution, the filtering you can leave it to this one.
Limitations
There is a build in limitation of the TradingView platform is that one can call only upto 40 securities API. Not beyond that. So naturally we are constraint by that. Otherwise we could monitor 190 Nifty F&O stocks itself.
30m is the recommended timeframe. In very lower (say 5m) this script tends to go out of heap (out of memory). Please note that also.
How to trade using this?
Put any chart in 30m (recommended) timeframe.
Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
This will provide the Buy (shown in green color) or Sell (shown in red color) recommendations in a table, at every 30m candle closing.
Note the volume and BB width as well.
Wait for at least 2 5-minutes candles to close above/below the recommended level .
Take the trade with the SL and target mentioned.
Mentions
@QuantNomad. The whole implementation concept we mercilessly borrowed from him, even some of his code snippet we took it (after asking him through one of his videos comment section and seeking explicit permission which he readily granted within an hour). Thank You sir @QuantNomad. Indebted to you.
Monika (Rawat) ji: for reviewing, correcting, providing real time examples during live market hours, often compromising her own trading activities, about the effectiveness and usefulness of this setup. Thank You madam ji. Indebted to you.
There are innumerable contents in social media about this. Don't even know whom all we checked. Thanks to all of them.
Happy Trading (in stocks - isn't enough of Indices already?)
Disclaimer
This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
Crypto Trend IndicatorThe Crypto Trend Indicator is a trend-following indicator specifically designed to identify bullish and bearish trends in the price of Bitcoin, and other cryptocurrencies. This indicator doesn't provide explicit instructions on when to buy or sell, but rather offers an understanding of whether the trend is bullish or bearish. It's important to note that this indicator is only useful for trend trading.
The band is a visual representation of the 30-day and 60-day Exponential Moving Average (EMA). When the 30-day EMA is above the 60-day EMA, the trend is bullish and the band is green. When the 30-day EMA is below the 60-day EMA, the trend is bearish and the band is red. When the 30-day EMA starts to converge with the 60-day EMA, the trend is neutral and the band is grey.
The line is a visual representation of the 20-week Simple Moving Average (SMA) in the daily timeframe. "Bull" and "Bear" signals are generated when the 20-day EMA is either above or below the 20-week SMA, in conjunction with a bullish or bearish trend. When the band is green and the 20-day EMA is above the 20-week SMA, a “Bull” signal emerges. When the band is red and the 20-day EMA is below the 20-week SMA, a “Bear” signal emerges. The 20-week SMA can potentially also function as a leading indicator, as substantial price deviations from the SMA typically indicate an overextended market.
While this indicator has traditionally identified bullish and bearish trends in various cryptocurrency assets, past performance does not guarantee future results. Therefore, it is advisable to supplement this indicator with other technical tools. For instance, range-bound indicators can greatly improve the decision-making process when planning for entries and exits points.