Division with other simbolI choose a symbol, and a source
It returns the division between the new symbol in that source with the current timeframe, and the current symbol with the selected source and the current timeframe
DIV = New symbol / Base symbol
----------------------------------
Elijo un simbolo, y un source
Me devuelve la division entre el nuevo simbolo en ese source con el timeframe actual, y el simbolo actual con el source seleccionado y el timeframe actual
DIV = Nuevo simbolo / Simbolo base
ממוצעים נעים
TMA MTFThis indicator plots three different Triple Moving Averages (TMAs) for two different time frames on a price chart:
Middle TMA Line: This is the main TMA line, calculated based on a user-defined number of past bars. It's represented by a solid line on the chart.
Upper TMA Line: This line is calculated by adding a certain multiple of the Average True Range (ATR) to the main TMA line. It helps identify potential resistance levels and is plotted as a solid line.
Lower TMA Line: Similar to the upper line, this line is calculated by subtracting a multiple of the ATR from the main TMA line. It helps identify potential support levels and is also plotted as a solid line.
Additionally, you have the option to overlay these TMA lines on a higher timeframe (HTF) if desired. When you enable this feature, it plots the same three TMA lines but calculated using data from a higher timeframe, which can provide additional context for your trading decisions.
The indicator uses different colors for the TMA lines based on their relationships:
Green: The middle TMA line is above the higher timeframe middle TMA line, suggesting a potential bullish (upward) trend.
Red: The middle TMA line is below the higher timeframe middle TMA line, suggesting a potential bearish (downward) trend.
In addition, it plots the upper and lower TMA lines in shades of purple and maroon, respectively, on the higher timeframe for reference.
Overall, this indicator helps traders identify potential areas of support and resistance and assess the trend direction by comparing the TMA lines of different timeframes.
Variable:
TMA_Period:
This input variable allows you to specify the number of past bars that are used to calculate the main Triple Moving Average (TMA) line. A larger value will result in a smoother TMA line, while a smaller value will make it more responsive to recent price changes.
ATR_Period:
This input variable determines the number of past bars used to calculate the Average True Range (ATR). The ATR is a measure of price volatility. A longer ATR period considers a broader range of price movement, while a shorter period reacts more quickly to recent volatility.
ATR_Multiplier:
This input allows you to set a multiplier for the ATR on the current timeframe. The ATR value is multiplied by this factor to calculate the upper and lower TMA lines. A higher multiplier will result in wider TMA bands, while a lower multiplier will make them narrower.
ATR_Multiplier_HTF:
Similar to ATR_Multiplier, this input sets a multiplier for the ATR on a higher timeframe (HTF). It affects the width of the HTF TMA bands.
TF_1:
This input variable lets you choose the desired higher timeframe (HTF) for the indicator. You can select from various timeframes, including 1 minute, 5 minutes, 15 minutes, 30 minutes, 60 minutes, 240 minutes (4 hours), daily (D), weekly (W), monthly (M), or choose "Auto" to let the script automatically determine the HTF based on the current timeframe.
src:
This input allows you to choose the price source used for calculations. By default, it's set to 'close,' which means the closing prices of each bar are used. You can change this to other price sources like 'open,' 'high,' 'low,' or 'ohlc4' (a combination of open, high, low, and close prices).
ma_type:
This input lets you select the type of moving average used in the calculations. You have three options: Weighted Moving Average (WMA), Double Weighted Moving Average (DWMA), and Triple Weighted Moving Average (TWMA).
Plot_TMA_HTF_Midline:
If set to 'true,' it will plot the middle TMA line of the higher timeframe (HTF) on the chart. If set to 'false,' the HTF middle TMA line will not be displayed.
Test - Symbiotic Exiton Measure Enthropic Nexus indicatorThe Symbiotic Exiton Measure Enthropic Nexus (SEMEN) Indicator is a technical analysis tool used in trading and investing. It's name might sound complex, but its function is quite simple - to help traders make informed decisions about buying or selling stocks by predicting market trends.
The SEMEN indicator uses a combination of various factors such as volume, price action, moving averages, and other indicators to generate a single numerical value that represents the overall health of the market. A high reading indicates a strong uptrend, while a low one suggests a downtrend.
Traders can use this information to enter or exit positions with confidence.
In essence, the SEMEN indicator provides a comprehensive view of the market's sentiment and direction, making it an essential tool for any trader or investor looking to make profitable decisions in today's volatile stock markets.
~description generated with Airoboros7b
- The indicator is experimental so use at your own discretion..
Geometrical Mean Moving AverageThe geometric moving average is a type of moving average that calculates the geometric mean of the previous n-periods of the price time series. Unlike the simple moving average that uses the arithmetic mean to continuously calculate the moving average as new price data comes in, the geometric moving average uses the geometric mean formula to get the moving average of the price data as new ones come in.
Why use a geometric moving average?
The geometric moving average differs from the simple moving average in how it is calculated. Most importantly, the geometric mean takes into account the compounding that occurs from period to period.
How can you use a geometric mean moving average?
You can use the GMMA just as you would use any other moving average indicator. You can use it to identify the direction of the trend, and in this case, it can also serve as a support level during an uptrend or a resistance level during a downtrend.
Drawbacks with a geometric moving average
Just like other moving average indicators, the GMA has limitations. Some of them are as follows:
It lags because it uses past price data.
It is pretty useless when the price action is choppy or moving predominantly sideways. During such periods, it can give multiple false signals.
Weighted Oscillator Convergence DivergenceThe Weighted Oscillator Convergence Divergence (WOCD) aims to help traders identify potential trend reversals or momentum shifts in financial markets by calculating and visualizing the difference between a smoothed oscillator (WMA) value and its exponential moving average (EMA) and simple moving average (SMA) counterparts. This indicator is particularly useful for traders who want an alternative perspective on price momentum and divergence.
Key Features:
Inputs:
Length: The user can specify the number of bars to consider for calculations (default is 9).
Smoothing 1: Defines the smoothing factor for the first smoothed value (default is 5).
Smoothing 2: Specifies the smoothing factor for the second smoothed value (default is 7).
Ma Type: There are three types of moving averages you can choose (Wilder, non-lag, Weighted is by default).
Color Settings: Users can customize the indicator's colors for various elements, such as length, smoothing values, and different sections of the histogram.
Calculation:
WOCD calculates the raw oscillator value by subtracting the close price from a 3-period High, Low, Close (HLC3) moving average.
It then applies smoothing to this raw oscillator value using two different methods: exponential moving average (EMA) and simple moving average (SMA) with user-defined smoothing periods.
Histogram Plot:
The indicator plots a histogram based on the difference between the smoothed oscillator and the first smoothed value.
When the histogram is above zero and rising, it is colored according to the "Above Grow" color setting. When it's above zero and falling, it uses the "Fall" color for visualization.
Similarly, when the histogram is below zero and rising, it is colored according to the "Below Grow" color setting, and when it's below zero and falling, it uses the "Fall" color.
Oscillator and Smoothed Values:
The indicator also plots the smoothed oscillator, smoothed value 1 (EMA-based), and smoothed value 2 (SMA-based) on the chart.
Zero Line:
A horizontal line at zero is drawn on the chart for reference.
How to Use the WOCD Indicator:
Trend Identification: Observe the histogram's direction and color. A rising histogram above zero may indicate bullish momentum, while a falling histogram below zero could signal bearish momentum.
Divergence: Look for divergences between price action and the histogram. When the histogram and price move in opposite directions, it can be a potential reversal signal.
Crossovers: Pay attention to crossovers between the smoothed oscillator and its smoothed counterparts (EMA and SMA). These crossovers can indicate changes in trend strength or direction.
Zero Line: The zero line can act as a reference point. Positive histogram values suggest bullish sentiment, while negative values indicate bearish sentiment.
Comparison to MACD Indicator:
The WOCD indicator shares some similarities with the Moving Average Convergence Divergence (MACD) indicator but also has distinct differences:
Similarities:
Both WOCD and MACD are momentum oscillators designed to identify potential trend reversals and divergences.
They use moving averages (EMA in the case of MACD) to smooth the raw oscillator values.
Both indicators provide histogram representations of the difference between the oscillator and its smoothed counterpart.
Differences:
WOCD uses a 3-period High, Low, Close (HLC3) moving average to calculate the raw oscillator value, whereas MACD uses the difference between two exponential moving averages (usually 12-period and 26-period EMAs).
The smoothing in WOCD employs both EMA and SMA, while MACD exclusively uses EMA.
WOCD allows users to customize colors for various elements, enhancing visual clarity.
OKX: MA CrossoverEXAMPLE Scripte from my stream , how to use OKX webhooks for create strategy on Pine with real\demo trading on your OKX account. This strategy only for test the functional forward orders to OKX. The backtest not included commisions and other.
OKX MA Crossover. This strategy generate JSONs for place orders on the exchange by alerts and webhooks.
In the script 2 function to generate entry and exit orders, and input parameters that needed for setup exchange.
Use it for test this stack and to write you own strategy for trade on the OKX Exchange.
Daily TrendDescription:
The "Daily Trend" script is a powerful technical analysis tool designed for TradingView. This indicator helps traders identify key support and resistance levels based on daily price data. It offers a visual representation of these levels, along with other technical indicators like Exponential Moving Averages (EMA), Supertrend, and Parabolic SAR.
Features:
Past Candle Price Levels: This script calculates and displays past daily candle price levels, including R1, R2, R3, R4, S1, S2, S3, and S4. These levels are vital for identifying potential reversals and breakout points.
Exponential Moving Average (EMA): The script includes an EMA indicator with a customizable period to help traders spot the trend direction and potential crossovers.
Supertrend Indicator: The Supertrend indicator is used to identify trend changes. It plots the Supertrend line and highlights the trend direction with color-coded regions.
Parabolic SAR: The Parabolic SAR indicator is integrated into the script to assist traders in identifying potential entry and exit points in the market.
Customizable Alerts: Traders can customize the indicator by choosing which past candle price levels and other features to display on the chart.
How to Use:
Apply the "Daily Trend" script to your TradingView chart.
Customize the indicator by enabling or disabling specific features, such as past candle price levels and EMA.
Pay attention to the color-coded regions for Supertrend and Parabolic SAR to determine the current trend direction.
Look for potential reversal or bounce signals based on the indicator's signals and the price action.
Consider using this script in conjunction with your trading strategy for enhanced technical analysis.
Risk Warning: Trading involves significant risk, and past performance is not indicative of future results. Always practice proper risk management and consider the broader context of the market before making trading decisions.
Tribute to David PaulI made this indicator as a tribute to the late David Paul .
He mentioned quite a lot about 89 periods moving average (especially on 4h), also the 21 and 55.
I put up some entries when three ma are crossed by price in the same direction, bull/bear backgrounds and a color code for candles because who doesn't love the feeling of a lasting trend.
To be more specific :
The indicator plots sma21, sma55, sma89 and AMA = (sma21+sma55+sma89)/3
When the closing price crosses the highest of the 3 sma, it is considered a bullish confirmation.
At this moment two lines appear, one on the bottom of the candle that crossed, one on the crossing point.
The lowest line can be used as the stop loss value of a long.
The highest line can be used as an entry point for a long.
When the closing price crosses the lowest of the 3 sma, it is considered a bearish confirmation.
At this moment two lines appear, one on the top of the candle that crossed, one on the crossing point.
The highest line can be used as the stop loss value of a short.
The lowest line can be used as an entry point for shorts.
When the closing price is above AMA, it is considered a bullish confirmation.
At this time a blue background appears at the crossing point.
The highest line can be used as the stop loss value for a long.
The starting point of the background can be used as the entry point for a long.
When the closing price is below AMA, it is considered a bearish confirmation.
At this time a red background appears at the crossing point.
The highest line can be used as the stop loss value for a short.
The starting point of the background can be used as the entry point for a short.
When the price is above 3 sma the candles turn blue. Signifying an upward trend.
When the price is below 3 sma the candles turn red. Signifying a bearish trend.
When the price is neither simultaneously above nor below the 3 sma, the candles are gray and the background linked to AMA becomes less vivid. Meaning a loss of vitality of the current trend or an absence of a clear trend.
Ideally, you should take a position towards "Real Long/Short Entry", set your stop loss towards "Ideal Long/Short Entry", and close the trade either when the background ends (riskier but more potential), or when the candles become gray (more conservative but noisier).
In the inputs, you can modify the display rules (explained in the tooltips), by default everything is displayed.
AI SuperTrend - Strategy [presentTrading]
█ Introduction and How it is Different
The AI Supertrend Strategy is a unique hybrid approach that employs both traditional technical indicators and machine learning techniques. Unlike standard strategies that rely solely on traditional indicators or mathematical models, this strategy integrates the power of k-Nearest Neighbors (KNN), a machine learning algorithm, with the tried-and-true SuperTrend indicator. This blend aims to provide traders with more accurate, responsive, and context-aware trading signals.
*The KNN part is mainly referred from @Zeiierman.
BTCUSD 8hr performance
ETHUSD 8hr performance
█ Strategy, How it Works: Detailed Explanation
SuperTrend Calculation
Volume-Weighted Moving Average (VWMA): A VWMA of the close price is calculated based on the user-defined length (len). This serves as the central line around which the upper and lower bands are calculated.
Average True Range (ATR): ATR is calculated over a period defined by len. It measures the market's volatility.
Upper and Lower Bands: The upper band is calculated as VWMA + (factor * ATR) and the lower band as VWMA - (factor * ATR). The factor is a user-defined multiplier that decides how wide the bands should be.
KNN Algorithm
Data Collection: An array (data) is populated with recent n SuperTrend values. Corresponding labels (labels) are determined by whether the weighted moving average price (price) is greater than the weighted moving average of the SuperTrend (sT).
Distance Calculation: The absolute distance between each data point and the current SuperTrend value is calculated.
Sorting & Weighting: The distances are sorted in ascending order, and the closest k points are selected. Each point is weighted by the inverse of its distance to the current point.
Classification: A weighted sum of the labels of the k closest points is calculated. If the sum is closer to 1, the trend is predicted as bullish; if closer to 0, bearish.
Signal Generation
Start of Trend: A new bullish trend (Start_TrendUp) is considered to have started if the current trend color is bullish and the previous was not bullish. Similarly for bearish trends (Start_TrendDn).
Trend Continuation: A bullish trend (TrendUp) is considered to be continuing if the direction is negative and the KNN prediction is 1. Similarly for bearish trends (TrendDn).
Trading Logic
Long Condition: If Start_TrendUp or TrendUp is true, a long position is entered.
Short Condition: If Start_TrendDn or TrendDn is true, a short position is entered.
Exit Condition: Dynamic trailing stops are used for exits. If the trend does not continue as indicated by the KNN prediction and SuperTrend direction, an exit signal is generated.
The synergy between SuperTrend and KNN aims to filter out noise and produce more reliable trading signals. While SuperTrend provides a broad sense of the market direction, KNN refines this by predicting short-term price movements, leading to a more nuanced trading strategy.
Local picture
█ Trade Direction
The strategy allows traders to choose between taking only long positions, only short positions, or both. This is particularly useful for adapting to different market conditions.
█ Usage
ToolTips: Explains what each parameter does and how to adjust them.
Inputs: Customize values like the number of neighbors in KNN, ATR multiplier, and moving average type.
Plotting: Visual cues on the chart to indicate bullish or bearish trends.
Order Execution: Based on the generated signals, the strategy will execute buy/sell orders.
█ Default Settings
The default settings are selected to provide a balanced approach, but they can be modified for different trading styles and asset classes.
Initial Capital: $10,000
Default Quantity Type: 10% of equity
Commission: 0.1%
Slippage: 1
Currency: USD
By combining both machine learning and traditional technical analysis, this strategy offers a sophisticated and adaptive trading solution.
MA Support & Resistance SignalThis indicator is to show MA Support/Resistance and trend of a stock.
It contains three (3) Moving Averages that can be set to SMA or EMA:
1. Upper Line : SMA 5 (default)
2. Lower Line : SMA 20 (default)
3. Support/Resistance Line : SMA 10 (default)
Other signals:
1. Bull and Blue Dotted Line signal: Upper Line (SMA 5) crossover with Lower Line (SMA 20).
2. Bear and Red Dotted Line signal: Lower Line (SMA 20) crossover with Upper Line (SMA 5).
3. Red Triangle signal: Price closes below Support/Resistance Line (SMA 10).
4. Green Bar signal: Price breaks Support/Resistance Line (SMA 10).
The way how I use it:
- Since I don't like my chart to be crowded with a lot of moving averages, I will disable SMA 5 and SMA 10 and will only leave SMA 20 as my final support line.
- Entry when only:
1. Bull signal appeared.
2. Green bar appeared, or;
3. Price rebound on SMA 20.
I let the script open so that you guys can custom it based on your own preferences. Hope you guys enjoy it.
Moving Average Cross trade PLAbstract
This script evaluates the potential trading proceeding and loss of the moving average cross strategy and plot it as a chart.
We can use it as a reference to whether we follow the original trading signals or not.
Introduction
Moving average cross is a popular trading strategy.
The strategy suggests traders buy when the short term moving average is above the long term moving average and sell when the short term moving average is below the long term moving average.
However, just like the most technical indicators, the signals are not always accurate.
This problem causes traders don't have sufficient confidence to trade with these signals.
On the other hand, the natural risk management suggests us only invest after major risks are past.
Therefore, we wait until many counterexamples of trading signals are past.
What will happen if we imagine that following a specific trading signal is a fund?
We can evaluate the potential trading proceeding and loss and plot it as a chart.
And then, we can measure how much loss may encounter in many worst cases and regard it as a reference to whether we follow the original trading signals or not.
How it works
1. Determine the instruments and time frames we are interested in.
2. Determine the long term moving average and the short term moving average.
3. The strategy suggests traders buy when the short term moving average is above the long term moving average and sell when the short term moving average is below the long term moving average.
4. The potential trading proceeding and loss is plotted as a chart.
5. There are two colors in the chart. One is when the short term moving average is above the long term moving average and the other is when the short term moving average is below the long term moving average.
6. We can observe the local maximum and the local minimum or apply other indicators we are interested in on the numbers it provides.
Parameters
x_type1 = How to compute the short term moving average. The option diff means the price several days ago.
x_src1 = How to summarize the price of a trading day. It depends on the open, high, low or close prices.
x_ma1 = How many days included in the short term moving average. When it is 1, the signal becomes when the price is above or below a single moving average.
x_type2 = How to compute the long term moving average
x_src2 = How to summarize the price of a trading day. It depends on the open, high, low or close prices.
x_ma2 = How many days included in the long term moving average
Conclusion
This indicator can quantize the potential trading proceeding and loss and can imply when following the original trading signals is good or not.
Combining the instruments which are long term investible and use this indicator to avoid potential risks, we can make proceeding better than holding the major stock markets.
Median of Means Estimator Median of Means (MoM) is a measure of central tendency like mean (average) and median. However, it could be a better and robust estimator of central tendency when the data is not normal, asymmetric, have fat tails (like stock price data) and have outliers. The MoM can be used as a robust trend following tool and in other derived indicators.
Median of means (MoM) is calculated as follows, the MoM estimator shuffles the "n" data points and then splits them into k groups of m data points (n= k*m). It then computes the Arithmetic Mean of each group (k). Finally, it calculate the median over the resulting k Arithmetic Means. This technique diminishes the effect that outliers have on the final estimation by splitting the data and only considering the median of the resulting sub-estimations. This preserves the overall trend despite the data shuffle.
Below is an example to illustrate the advantages of MoM
Set A Set B Set C
3 4 4
3 4 4
3 5 5
3 5 5
4 5 5
4 5 5
5 5 5
5 5 5
6 6 8
6 6 8
7 7 10
7 7 15
8 8 40
9 9 50
10 100 100
Median 5 5 5
Mean 5.5 12.1 17.9
MoM 5.7 6.0 17.3
For all three sets the median is the same, though set A and B are the same except for one outlier in set B (100) it skews the mean but the median is resilient. However, in set C the group has several high values despite that the median is not responsive and still give 5 as the central tendency of the group, but the median of means is a value of 17.3 which is very close to the group mean 17.9. In all three cases (set A, B and C) the MoM provides a better snapshot of the central tendency of the group. Note: The MoM is dependent on the way we split the data initially and the value might slightly vary when the randomization is done sevral time and the resulting value can give the confidence interval of the MoM estimator.
Trend_Trader_WMA (Momentum)<---> Caution! This is first test version of indicator. I am ready to get more ideas+feedback to develop it more. <--->
The "Momentum_Trader_WMA" indicator is a versatile technical analysis tool designed to help traders identify potential trend changes and momentum shifts in the market. It combines multiple indicators and moving averages to provide a comprehensive view of price action and momentum.
Key Features:
Weighted Moving Averages (WMAs): The indicator calculates two different WMAs with user-defined lengths, providing a smoothed representation of price data.
Average True Range (ATR) Bands: ATR is used to calculate dynamic bands around the WMA Average. These bands can help traders gauge market volatility and potential breakout points. The color of the ATR bands can be seen as an early signal of trends or the continuation of current trends.
Commodity Channel Index (CCI): CCI is a momentum oscillator that measures the relative strength of price changes. The indicator calculates CCI values based on a user-defined period.
Exponential Moving Average (EMA) of CCI: An EMA of CCI is plotted to help identify trends and momentum shifts.
Color-Coded Bands: The ATR bands change colors based on CCI conditions, providing visual cues for potential trading opportunities. When ATR bands transition from narrow (indicating low volatility) to wide (indicating increased volatility), it can be seen as an early signal of a potential trend change or the continuation of the current trend.
Buy and Sell Signals: The indicator generates buy and sell signals based on crossovers of WMAs and CCI thresholds, making it easier for traders to identify entry and exit points.
Customizable Moving Averages: Traders can enable or disable different moving averages (e.g., SMA, EMA, WMA, RMA, VWMA, HMA) with various periods and colors to adapt the indicator to their trading preferences.
CCI Dot Alerts: Dots are displayed at the bottom of the chart based on CCI values, helping traders spot extreme CCI conditions.
How to Use:
Trend Identification: The WMAs and ATR bands can help identify the current trend direction and its strength. When the WMAs are in an uptrend (green) and the ATR bands widen, it may indicate a strong bullish trend. Conversely, when the WMAs are in a downtrend (red) and the ATR bands narrow, it may suggest a weakening bearish trend.
Momentum Confirmation: The CCI and its EMA provide insights into market momentum. Look for CCI crossovers above 100 for potential bullish momentum and below -100 for potential bearish momentum.
Buy and Sell Signals: Pay attention to the buy and sell signals generated by the indicator. Buy when the WMAs cross over and CCI crosses above 100. Sell when the WMAs cross under and CCI crosses below -100.
ATR Bands as Early Signals: The color changes in the ATR bands can be seen as early signals of trends or the continuation of current trends. Wide ATR bands may indicate increased volatility and potential trend changes, while narrow ATR bands suggest reduced volatility and potential trend continuation.
Moving Averages: Customize the indicator by enabling or disabling specific moving averages according to your preferred trading strategy.
CCI Dots: Use the CCI dots to identify extreme CCI conditions, which may indicate overbought or oversold market conditions.
PS:
Recommended to use Indicator with price action conecpts(eg. support and resistance) as they play important role in any market.
Buy and sell signals are not really accurate. I would personally look for trend shift in WMA middle line and confirmation from CCI dots at bottom. For example. If middle line turns green and within recent 3-4 candles (or next 3-4 candles) dots tunrns green also, that means momentum has been rised in the direction of bulls.
pls, take s/r concepts first when working. I am thinking to add more precise buy sell signal method to make it easier to trade.
Good luck with your trades :)
ROCkin RSIROCkin RSI Indicator
Overview
The "ROCkin RSI" indicator combines the traditional Relative Strength Index (RSI) with an innovative approach using the Rate of Change (ROC) to offer a new way to visualize and interpret market momentum. By averaging the slope of the RSI over time and allowing for different types of moving averages, this indicator aims to help traders identify trending and reversal patterns more efficiently.
Features
RSI Calculations: The core of the indicator is based on the standard Relative Strength Index, an oscillator that measures the speed and change of price movements. The RSI oscillates between 0 and 100 and is usually used to identify overbought or oversold conditions.
Rate of Change of Price (ROC): Instead of simply plotting the RSI, this indicator calculates the Rate of Change of the closing price, essentially looking at how steep the RSI curve is over a user-defined period.
Smoothing: To reduce noise and make the curve smoother, the slope of the RSI is averaged over a given number of periods, which can either be a Simple Moving Average (SMA) or an Exponential Moving Average (EMA).
Column Plots: The smoothed RSI slope is plotted as columns, where the color of the columns (red or green) indicates whether the slope is positive or negative.
Optional RSI Moving Average: The indicator also offers an optional feature to plot a moving average of the smoothed RSI slope, aiding in trend identification.
Inputs
RSI Periods: The number of periods used to calculate the RSI.
Slope Periods: The number of periods used for calculating the Rate of Change.
Average Periods: The number of periods used for smoothing the RSI slope.
Type of Average: Choose between EMA (Exponential Moving Average) and SMA (Simple Moving Average) for smoothing.
Show RSI Moving Average: Toggle this to either show or hide the moving average of the smoothed RSI slope.
Moving Average Period: The period used for calculating the RSI Moving Average.
Moving Average Type: Choose between EMA and SMA for the RSI Moving Average.
How to Interpret
Positive Slope (Red Columns): Indicates upward momentum in the RSI, which may imply a bullish trend.
Negative Slope (Green Columns): Indicates downward momentum in the RSI, suggesting a possible bearish trend.
RSI Moving Average: Acts as a signal line to confirm the trend. When the smoothed RSI slope is above its moving average, it confirms the bullish trend, and when it's below, it confirms the bearish trend.
Practical Use
Entry/Exit Signals: Consider entering a long position when the columns of the green histogram cross above the moving average. Conversely, consider entering a short position when the columns cross under when red. The higher the columns the more likely the trade will be a good one.
Fine-Tuning and Optimization
It's crucial to understand that the default settings might not be optimal for all trading scenarios. The effectiveness of the ROCkin RSI indicator can vary based on the asset you're trading, the market conditions, and your trading style. Therefore, it's highly recommended to play with the settings and study the historical performance on the chart to grasp how the indicator behaves.
By experimenting with different periods for RSI, the Rate of Change, and the moving averages, you can tailor the indicator to better suit your needs. Studying how the indicator would have performed in the past can help you understand its potential strengths and weaknesses. Once you've got a feel for how it operates, you can then optimize the settings to align with your trading strategy and risk tolerance.
ATR Based EMA Price Targets [SS]As requested...
This is a spinoff of my EMA 9/21 cross indicator with price targets.
A few of you asked for a simple EMA crossover version and that is what this is.
I have, of course, added a bit of extra functionality to it, assuming you would want to transition from another EMA indicator to this one, I tried to leave it somewhat customizable so you can get the same type of functionality as any other EMA based indicator just with the added advantage of having an ATR based assessment added on. So lets get into the details:
What it does:
Same as my EMA 9/21, simply performs a basic ATR range analysis on a ticker, calculating the average move it does on a bullish or bearish cross.
How to use it:
So there are quite a few functions of this indicator. I am going to break them down one by one, from most basic to the more complex.
Plot functions:
EMA is Customizable: The EMA is customizable. If you want the 200, 100, 50, 31, 9, whatever you want, you just have to add the desired EMA timeframe in the settings menu.
Standard Deviation Bands are an option: If you like to have standard deviation bands added to your EMA's, you can select to show the standard deviation band. It will plot the standard deviation for the desired EMA timeframe (so if it is the EMA 200, it will plot the Standard Deviation on the EMA 200).
Plotting Crossovers: You can have the indicator plot green arrows for bullish crosses and red arrows for bearish crosses. I have smoothed out this function slightly by only having it signal a crossover when it breaks and holds. I pulled this over to the alert condition functions as well, so you are not constantly being alerted when it is bouncing over and below an EMA. Only once it chooses a direction, holds and moves up or down, will it alert to a true crossover.
Plotting labels: The indicator will default to plotting the price target labels and the EMA label. You can toggle these on and off in the EMA settings menu.
Trend Assessment Settings:
In addition to plotting the EMA itself and signaling the ATR ranges, the EMA will provide you will demographic information about the trend and price action behaviour around the EMA. You can see an example in the image below:
This will provide you with a breakdown of the statistics on the EMA over the designated lookback period, such as the number of crosses, the time above and below the EMA and the amount the EMA has remained within its standard deviation bands.
Where this is important is the proportion assessment. And what the proportion assessment is doing is its measuring the amount of time the ticker is spending either above or below the EMA.
Ideally, you should have relatively equal and uniform durations above and below. This would be a proportion of between 0.5 and 1.5 Above to Below. Now, you don't have to remember this because you can ask the indicator to do the assessment for you. It will be displayed at the bottom of your chart in a table that you can toggle on and off:
Example of a Uniform Assessment:
Example of a biased assessment:
Keep in mind, if you are using those very laggy EMAs (like the 50, 200, 100 etc.) on the daily timeframe, you aren't going to get uniformity in the data. This is because, stocks are technically already biased to the upside over time. Thus, when you are looking at the big picture, the bull bias thesis of the stock market is in play.
But for the smaller and moderate timeframes, owning to the randomness of price action, you can generally get uniformity in data representation by simply adjusting your lookback period.
To adjust your lookback period, you simply need to change the timeframe for the ATR lookback length. I suggest no less than 500 and probably no more than 1,500 candles, and work within this range. But you can use what the indicator indicates is appropriate.
Of course, all of these charts can be turned off and you are left with a clean looking EMA indicator:
And an example with the standard deviation bands toggled on:
And that, my friends, is the indicator.
Hopefully this is what you wanted, let me know if you have any suggestions.
Enjoy and safe trades!
SMI Ergodic Indicator + OscillatorThis indicator is one that I came across a while ago. The main way this indicator works is a lot like the True Strength Index except it also adds a signal line. I like to think of it as a faster MACD that gives you a chance to lag a little less behind the MACD. This of course comes with the additional risk of fake-outs being prevalent. The signal line in the indicator allows you to use the EMA in the indicator itself and adds another indicator that it's either going to do a reversal or confirm trend.
In the indicator I created it has the Oversold and Overbought areas highlighted to show the oscillators function as kind of an RSI + MACD indicator. There is also added crossing alerts in the form of circles (or whatever you want to change it to) indicating a cross of the SMI line and the Signal EMA line. This is usually the point where you want to make an entrance or exit point. The Overbought and Oversold zones are adjustable to wherever you as a trader feel comfortable having them be.
I also combined bother the SMI and Signal line with the SMI Oscillator adding a histogram.
True Range Moving Average Deviation🔶 Overview
The True Range Moving Average Deviation Indicator (TRMAD) is a technical analysis tool that combines elements of price deviation, volatility, and overbought/oversold conditions.
🔶 Key Components
Current price (Close) : most recent closing price of the asset.
Moving Average (MA) : represents a smoothed trendline of the asset's closing prices over a specified period. By default, TRMAD uses the Simple Moving Average (SMA) with a 20-period setting.
Average True Range (ATR) : reflects the average price range between the high and low over a given time frame. By default, TRMAD uses a 14-period ATR setting with a Simple Moving Average (SMA) calculation. ATR quantifies the historical price volatility of the asset, which is crucial for normalizing the price deviation.
🔶 Calculation
(Close - MA) / ATR
🔶 Interpretation
When TRMAD is above +3 ATR , it is often considered an indication that the asset may be overbought, suggesting a potential reversal or correction to the downside.
When TRMAD is below -3 ATR , it is often considered an indication that the asset may be oversold, suggesting a potential reversal or bounce to the upside.
TRMAD values around 0 ATR may indicate a balanced market condition.
🔶 Usage
🔹 Overbought and Oversold Conditions:
TRMAD can help identify overbought and oversold conditions. When TRMAD reaches or exceeds certain user-defined thresholds (e.g., +3 ATR or -3 ATR), it can signal that the asset is in an extreme condition.
Traders can use these extreme conditions to adjust their positions or look for potential reversal opportunities.
🔹 Divergence Analysis:
Traders often analyze divergences between the TRMAD indicator and price movements. For example, if the price is making higher highs while TRMAD is making lower highs (bearish divergence), it could indicate a potential trend reversal.
🔹 Trend Confirmation:
TRMAD can be used in conjunction with other technical indicators to confirm trends. For example, if TRMAD is consistently positive during an uptrend, it can provide confirmation of the trend's strength.
Positive TRMAD : When TRMAD is positive but hasn't reached the overbought threshold (e.g., +3 ATR), it suggests that there is some bullish momentum, but traders may exercise caution and look for other confirming signals before considering a long position.
Negative TRMAD : When TRMAD is negative but hasn't reached the oversold threshold (e.g., -3 ATR), it suggests some bearish sentiment, but traders may want to seek additional confirmation before considering a short position.
🔹 Risk Management:
Traders can use TRMAD as part of their risk management strategy. For instance, if TRMAD suggests that an asset is overbought, a trader might consider tightening their stop-loss orders to manage potential downside risk.
🔶 Credits
The idea about this indicator came from Fabio Figueiredo (Vlad)
Nadaraya-Watson Envelope: Modified by YosietRange Filter indicator based on the LuxAlgo Nadaraya-Watson Envelope () indicator adding the SMA 30 high and SMA 7 low to predict the changes of the trends lines price.
WARNING: This indicator, as the same as the original, repaints the chart and could affect the exact values of the prices.
SMA Low 7 was identified using tensorflowJS years ago as accurate and abstract rsi indicator
SMA High 30 was identified using tensorflowJS years ago as accurate and strong trend line
This two SMAs were added to the original indicator Nadaraya-Watson to predict the exact points where the price will change direction or will re-test the trend to continue on.
The signals will act as the Williams Fractals, replacing the original signals of the indicator.
For those ICT/SMC traders, the bands and SMAs can toggle off in the settings of this indicator.
SETTINGS
Can set the source of the UPPER band indivuadilly
Can set the source of the LOWER band indivuadilly
Can toggle the visibility of the bands, this will not affect the calculations
Can toggle the visibility of SMAs
ALERTS AND SIGNALS
When the SMA LOW 7 cross under or over the bands, will trigger a signal orange
When the SMA 30 High cross over the upper band, will trigger a short signal purpple
HOW TO USE IT
If the both signals appears (sma 7 low and sma 30 high) crossing the upper band at the same point, this means that the price will drop strongly.
If the sma 7 low cross signal (orange triangle) appears under the price and lower band, means that the price will go up.
The separation of the signals from the chart will suggest the force of the movement. While more distance be, strongest reaction of the price.
DISCLAIMER : This indicator or script does not imply or constitute financial advice, investment advice, trading advice or any other type of advice or recommendation by and for TradingView. Use it at your own risk and your own decision.
Moving Averages w/Signals [CSJ7]Unlock the power of three dynamic moving averages: Fast, Medium, and Slow. Choose between the reliability of Simple or the responsiveness of Exponential MAs. Plus, with our tailored Buy and Sell signals based on user-defined crossing scenarios, you're equipped with a clear roadmap in the ever-changing landscape of the markets.
1. Spot Trends with Ease: Our color-coded system makes identifying the market's direction intuitive. Green signals bullish momentum, while red indicates bearish movements.
2. Precision Signals: Navigate the markets confidently with our Buy and Sell signals, designed to highlight potential entry and exit points.
3. Gauge Trend Strength: The color intensity between the Medium and Slow MAs offers a visual cue on the trend's strength, ensuring you're always in the know.
Limitations:
- Inherent Lag: As with all moving average tools, there's a natural delay. But it's this reflective nature that offers valuable insights.
- Stay Alert in Sideways Markets: During consolidative phases, the indicator might produce occasional false signals. Always cross-reference with other tools.
- Customization is Key: The tool's true potential shines when you adjust the settings to align with your trading style and strategy.
4. How to Use:
Quick Setup: Select your preferred MA type, set the lengths, and define your ideal crossover scenarios. It's that simple!
Interpreting Signals: A green triangle below the price suggests a potential buying zone, while a red triangle above hints at a selling opportunity.
Trend Insights: The color gradient between the Medium and Slow MAs offers a visual representation of the trend's vigor. The more vibrant, the stronger the trend.
Elevate your trading strategy with the Moving Averages w/Signals & AutoTrade . With clarity and precision, it's the companion every trader deserves.
Alxuse Supertrend 4EMA Buy and Sell for tutorialAll abilities of Supertrend, moreover :
Drawing 4 EMA band & the ability to change values, change colors, turn on/off show.
Sends Signal Sell and Buy in multi timeframe.
The ability used in the alert section and create customized alerts.
To receive valid alerts the replay section , the timeframe of the chart must be the same as the timeframe of the indicator.
Supertrend with a simple EMA Filter can improve the performance of the signals during a strong trend.
For detecting the continuation of the downward and upward trend we can use 4 EMA colors.
In the upward trend , the EMA lines are in order of green, blue, red, yellow from bottom to top.
In the downward trend, the EMA lines are in order of yellow, red, blue, green from bottom to top.
How it works:
x1 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA3, MA4)
x2 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA2, MA3)
x3 = MA1 < MA2 and MA2 < MA3 and MA3 < MA4 and ta.crossunder(MA1, MA2)
y1 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA3, MA4)
y2 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA2, MA3)
y3 = MA4 < MA3 and MA3 < MA2 and MA2 < MA1 and ta.crossover(MA1, MA2)
Red triangle = x1 or x2 or x3
Green triangle = y1 or y2 or y3
Long = BUY signal and followed by a Green triangle
Exit Long = SELL signal
Short = SELL signal and followed by a Red triangle
Exit Short = BUY signal
It is also possible to get help from the Stochastic RSI and MACD indicators for confirmation.
For receiving a signal with these two conditions or more conditions, i am making a video tutorial that I will release soon.
Supertrend
Definition
Supertrend is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility. It can be used to detect changes in trend direction and to position stops.
The basics
The Supertrend is a trend-following indicator. It is overlaid on the main chart and their plots indicate the current trend. A Supertrend can be used with varying periods (daily, weekly, intraday etc.) and on varying instruments.
The Supertrend has several inputs that you can adjust to match your trading strategy. Adjusting these settings allows you to make the indicator more or less sensitive to price changes.
For the Supertrend inputs, you can adjust atrLength and multiplier:
the atrLength setting is the lookback length for the ATR calculation;
multiplier is what the ATR is multiplied by to offset the bands from price.
When the price falls below the indicator curve, it turns red and indicates a downtrend. Conversely, when the price rises above the curve, the indicator turns green and indicates an uptrend. After each close above or below Supertrend, a new trend appears.
Summary
The Supertrend helps you make the right trading decisions. However, there are times when it generates false signals. Therefore, it is best to use the right combination of several indicators. Like any other indicator, Supertrend works best when used with other indicators such as MACD, Parabolic SAR, or RSI.
Exponential Moving Average
Definition
The Exponential Moving Average (EMA) is a specific type of moving average that points towards the importance of the most recent data and information from the market. The Exponential Moving Average is just like it’s name says - it’s exponential, weighting the most recent prices more than the less recent prices. The EMA can be compared and contrasted with the simple moving average.
Similar to other moving averages, the EMA is a technical indicator that produces buy and sell signals based on data that shows evidence of divergence and crossovers from general and historical averages. Additionally, the EMA tries to amplify the importance that the most recent data points play in a calculation.
It is common to use more than one EMA length at once, to provide more in-depth and focused data. For example, by choosing 10-day and 200-day moving averages, a trader is able to determine more from the results in a long-term trade, than a trader who is only analyzing one EMA length.
It’s best to use the EMA when for trending markets, as it shows uptrends and downtrends when a market is strong and weak, respectively. An experienced trader will know to look both at the line the EMA projects, as well as the rate of change that comes from each bar as it moves to the next data point. Analyzing these points and data streams correctly will help the trader determine when they should buy, sell, or switch investments from bearish to bullish or vice versa.
Short-term averages, on the other hand, is a different story when analyzing Exponential Moving Average data. It is most common for traders to quote and utilize 12- and 26-day EMAs in the short-term. This is because they are used to create specific indicators. Look into Moving Average Convergence Divergence (MACD) for more information. Similarly, the 50- and 200-day moving averages are most common for analyzing long-term trends.
Moving averages can be very useful for traders using technical analysis for profit. It is important to identify and realize, however, their shortcomings, as all moving averages tend to suffer from recurring lag. It is difficult to modify the moving average to work in your favor at times, often having the preferred time to enter or exit the market pass before the moving average even shows changes in the trend or price movement for that matter.
All of this is true, however, the EMA strives to make this easier for traders. The EMA is unique because it places more emphasis on the most recent data. Therefore, price movement and trend reversals or changes are closely monitored, allowing for the EMA to react quicker than other moving averages.
Limitations
Although using the Exponential Moving Average has a lot of advantages when analyzing market trends, it is also uncertain whether or not the use of most recent data points truly affects technical and market analysis. In addition, the EMA relies on historical data as its basis for operating and because news, events, and other information can change rapidly the indicator can misinterpret this information by weighting the current prices higher than when the event actually occurred.
Summary
The Exponential Moving Average (EMA) is a moving average and technical indicator that reflects and projects the most recent data and information from the market to a trader and relies on a base of historical data. It is one of many different types of moving averages and has an easily calculable formula.
The added features to the indicator are made for training, it is advisable to use it with caution in tradings.
Crypto Notes Scalping Indicator by Mohsin
**Crypto Notes Indicator**
This custom trading indicator, named "Crypto Notes," is designed to assist traders in analyzing cryptocurrency price movements. It combines two key components: the SSL (Stochastic Support and Resistance) channel and a Moving Average.
**Indicator Components:**
1. **SSL Channel:**
- The SSL channel is a technical analysis tool that helps identify potential support and resistance levels in the cryptocurrency price chart.
- The indicator calculates two values: `sslDown` and `sslUp`, which represent potential support and resistance levels, respectively.
- The SSL channel is based on a user-defined period and length, allowing traders to customize the sensitivity of the support and resistance levels.
2. **Buy and Sell Signals:**
- Buy and sell signals are generated when the `sslUp` crosses above `sslDown` (a buy signal) or when `sslUp` crosses below `sslDown` (a sell signal).
- These signals help traders identify potential entry and exit points for their cryptocurrency trades.
3. **Moving Average (MA1):**
- The indicator also includes a customizable exponential moving average (EMA) with a length defined by the user.
- This moving average (MA1) can be used to smooth out price data and identify trends in the cryptocurrency's price movement.
**How to Use:**
1. **SSL Channel:** The SSL channel visually represents potential support and resistance levels on the price chart. Traders can observe price behavior concerning these levels to make trading decisions.
2. **Buy Signals:** Buy signals are labeled as "BUY" on the chart when `sslUp` crosses above `sslDown`. This is an indication of a potential bullish trend or an opportune time to enter a long position.
3. **Sell Signals:** Sell signals are labeled as "SELL" on the chart when `sslUp` crosses below `sslDown`. This suggests a potential bearish trend or an opportune time to exit a long position or consider shorting.
4. **Moving Average (MA1):** The customizable moving average (MA1) can help traders identify trends in the cryptocurrency's price movement. When MA1 is above the price, it may suggest an uptrend, and when it's below, it may suggest a downtrend.
**Customization:**
- Traders can adjust the indicator's parameters, such as the SSL channel period, length, and the length of the EMA (MA1), to suit their specific trading strategies and preferences.
**Disclaimer:** This indicator is a tool for technical analysis and does not provide financial advice. Trading cryptocurrencies involves risks, and users should conduct thorough research and risk management before making any trading decisions.
**Note:** It's essential to thoroughly test this indicator and incorporate it into a comprehensive trading strategy before using it for actual trading.
---
Please ensure you understand the indicator's functionality and consider using it alongside other tools and analysis methods as part of your trading strategy.
SMA/EMA/RSImagic 36.963 by IgorPlahutaTwo Elements in this script:
Alerts: These are notifications that draw your attention to specific market conditions. There are two types:
RSI Higher Lows or Lower Highs: This alert triggers when the Relative Strength Index (RSI) forms higher lows or lower highs.
RSI Exiting 30 (Up) or RSI Exiting 70 (Down): These alerts activate when the RSI crosses the 30 threshold upwards or the 70 threshold downwards.
ALL BUY/SELL: to catch both of them with one setting
To Set Up an Alert: To configure an alert, select the one relevant to your trading strategy, choose the "Greater than" option, and input a value of "0" (this essentially activates the alert). Adjust other settings as per your requirements.
Please note that these alerts should be used in conjunction with a system you trust for confirmation.
Moving Averages: This involves monitoring several moving averages:
SMA12, SMA20, EMA12, EMA20: These moving averages are highlighted with background colors to help you quickly identify changes or crossovers. They are superimposed on each other for easy comparison.
SMA 50, SMA200: These moving averages are also highlighted with background colors to spot crossovers, and their lines change color depending on their direction (falling in red or rising in green).
Enjoy using these tools in your trading endeavors!
BZ_SMASMA crossover with 80% profitable probability
SMA crossover with 80% profitable probability
SMA crossover with 80% profitable probabilitySMA crossover with 80% profitable probability
SMA crossover with 80% profitable probability