Multi-Timeframe Trend Detector [Alifer]Here is an easy-to-use and customizable multi-timeframe visual trend indicator.
The indicator combines Exponential Moving Averages (EMA), Moving Average Convergence Divergence (MACD), and Relative Strength Index (RSI) to determine the trend direction on various timeframes: 15 minutes (15M), 30 minutes (30M), 1 hour (1H), 4 hours (4H), 1 day (1D), and 1 week (1W).
EMA Trend : The script calculates two EMAs for each timeframe: a fast EMA and a slow EMA. If the fast EMA is greater than the slow EMA, the trend is considered Bullish; if the fast EMA is less than the slow EMA, the trend is considered Bearish.
MACD Trend : The script calculates the MACD line and the signal line for each timeframe. If the MACD line is above the signal line, the trend is considered Bullish; if the MACD line is below the signal line, the trend is considered Bearish.
RSI Trend : The script calculates the RSI for each timeframe. If the RSI value is above a specified Bullish level, the trend is considered Bullish; if the RSI value is below a specified Bearish level, the trend is considered Bearish. If the RSI value is between the Bullish and Bearish levels, the trend is Neutral, and no arrow is displayed.
Dashboard Display :
The indicator prints arrows on the dashboard to represent Bullish (▲ Green) or Bearish (▼ Red) trends for each timeframe.
You can easily adapt the Dashboard colors (Inputs > Theme) for visibility depending on whether you're using a Light or Dark theme for TradingView.
Usage :
You can adjust the indicator's settings such as theme (Dark or Light), EMA periods, MACD parameters, RSI period, and Bullish/Bearish levels to adapt it to your specific trading strategies and preferences.
Disclaimer :
This indicator is designed to quickly help you identify the trend direction on multiple timeframes and potentially make more informed trading decisions.
You should consider it as an extra tool to complement your strategy, but you should not solely rely on it for making trading decisions.
Always perform your own analysis and risk management before executing trades.
The indicator will only show a Dashboard. The EMAs, RSI and MACD you see on the chart image have been added just to demonstrate how the script works.
DETAILED SCRIPT EXPLANATION
INPUTS:
theme : Allows selecting the color theme (options: "Dark" or "Light").
emaFastPeriod : The period for the fast EMA.
emaSlowPeriod : The period for the slow EMA.
macdFastLength : The fast length for MACD calculation.
macdSlowLength : The slow length for MACD calculation.
macdSignalLength : The signal length for MACD calculation.
rsiPeriod : The period for RSI calculation.
rsiBullishLevel : The level used to determine Bullish RSI condition, when RSI is above this value. It should always be higher than rsiBearishLevel.
rsiBearishLevel : The level used to determine Bearish RSI condition, when RSI is below this value. It should always be lower than rsiBullishLevel.
CALCULATIONS:
The script calculates EMAs on multiple timeframes (15-minute, 30-minute, 1-hour, 4-hour, daily, and weekly) using the request.security() function.
Similarly, the script calculates MACD values ( macdLine , signalLine ) on the same multiple timeframes using the request.security() function along with the ta.macd() function.
RSI values are also calculated for each timeframe using the request.security() function along with the ta.rsi() function.
The script then determines the EMA trends for each timeframe by comparing the fast and slow EMAs using simple boolean expressions.
Similarly, it determines the MACD trends for each timeframe by comparing the MACD line with the signal line.
Lastly, it determines the RSI trends for each timeframe by comparing the RSI values with the Bullish and Bearish RSI levels.
PLOTTING AND DASHBOARD:
Color codes are defined based on the EMA, MACD, and RSI trends for each timeframe. Green for Bullish, Red for Bearish.
A dashboard is created using the table.new() function, displaying the trend information for each timeframe with arrows representing Bullish or Bearish conditions.
The dashboard will appear in the top-right corner of the chart, showing the Bullish and Bearish trends for each timeframe (15M, 30M, 1H, 4H, 1D, and 1W) based on EMA, MACD, and RSI analysis. Green arrows represent Bullish trends, red arrows represent Bearish trends, and no arrows indicate Neutral conditions.
INFO ON USED INDICATORS:
1 — EXPONENTIAL MOVING AVERAGE (EMA)
The Exponential Moving Average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points.
The EMA is calculated by taking the average of the true range over a specified period. The true range is the greatest of the following:
The difference between the current high and the current low.
The difference between the previous close and the current high.
The difference between the previous close and the current low.
The EMA can be used by traders to produce buy and sell signals based on crossovers and divergences from the historical average. Traders often use several different EMA lengths, such as 10-day, 50-day, and 200-day moving averages.
The formula for calculating EMA is as follows:
Compute the Simple Moving Average (SMA).
Calculate the multiplier for weighting the EMA.
Calculate the current EMA using the following formula:
EMA = Closing price x multiplier + EMA (previous day) x (1-multiplier)
2 — MOVING AVERAGE CONVERGENCE DIVERGENCE (MACD)
The Moving Average Convergence Divergence (MACD) is a popular trend-following momentum indicator used in technical analysis. It helps traders identify changes in the strength, direction, momentum, and duration of a trend in a financial instrument's price.
The MACD is calculated by subtracting a longer-term Exponential Moving Average (EMA) from a shorter-term EMA. The most commonly used time periods for the MACD are 26 periods for the longer EMA and 12 periods for the shorter EMA. The difference between the two EMAs creates the main MACD line.
Additionally, a Signal Line (usually a 9-period EMA) is computed, representing a smoothed version of the MACD line. Traders watch for crossovers between the MACD line and the Signal Line, which can generate buy and sell signals. When the MACD line crosses above the Signal Line, it generates a bullish signal, indicating a potential uptrend. Conversely, when the MACD line crosses below the Signal Line, it generates a bearish signal, indicating a potential downtrend.
In addition to the MACD line and Signal Line crossovers, traders often look for divergences between the MACD and the price chart. Divergence occurs when the MACD is moving in the opposite direction of the price, which can suggest a potential trend reversal.
3 — RELATIVE STRENGHT INDEX (RSI):
The Relative Strength Index (RSI) is another popular momentum oscillator used by traders to assess the overbought or oversold conditions of a financial instrument. The RSI ranges from 0 to 100 and measures the speed and change of price movements.
The RSI is calculated based on the average gain and average loss over a specified period, commonly 14 periods. The formula involves several steps:
Calculate the average gain over the specified period.
Calculate the average loss over the specified period.
Calculate the relative strength (RS) by dividing the average gain by the average loss.
Calculate the RSI using the following formula: RSI = 100 - (100 / (1 + RS))
The RSI oscillates between 0 and 100, where readings above 70 are considered overbought, suggesting that the price may have risen too far and could be due for a correction. Readings below 30 are considered oversold, suggesting that the price may have dropped too much and could be due for a rebound.
Traders often use the RSI to identify potential trend reversals. For example, when the RSI crosses above 30 from below, it may indicate the start of an uptrend, and when it crosses below 70 from above, it may indicate the start of a downtrend. Additionally, traders may look for bullish or bearish divergences between the RSI and the price chart, similar to the MACD analysis, to spot potential trend changes.
EMAS
gFancyMALibrary "gFancyMA"
printLbl(y, x, c, m, b, s)
Parameters:
y (float)
x (int)
c (color)
m (string)
b (bool)
s (string)
gFancyMALibrary "GalacticS2021"
printLbl(y, x, c, m, b)
Parameters:
y (float)
x (int)
c (color)
m (string)
b (bool)
Higher Fibonacci EMAOverall image:
If the closing price is higher than the three Fibonacci EMAs (uptrend):
Thanks to @ZenAndTheArtOfTrading and his indicator "Higher Timeframe EMA", URL =
This is a trend-discriminating indicator that uses 3 EMAs.
The Williams Alligator is the underlying philosophy, and we have applied it to capture the larger trend.
It is set up for the current time frame + 2 higher time frames.
One of the upper time legs has a daily EMA length of 13 Fibonacci numbers.
The top-level time leg has a weekly EMA with a length of 5 Fibonacci.
If the current closing price of the ticker leg is higher than these three EMAs, the bar color will be green. If it is lower, it will be red. If it is neither, it will be gray.
If the bar color is green, it suggests that the trend is upward. If it is red, you can consider entering short. If it is gray, it is best not to enter anything.
All in One EMA indicator with Average EMA Calculations The Indicator displays multiple exponential moving averages (EMAs) on the chart. The six available options will let you adjust and set ]exponential moving averages ( EMAS) as per your choice. Additionally I have added an Average ema which will calculate the average of all the emas that you have selected. This average ema works very strong and greatly to find potential zone of dynamic supports and resistance as well as to gauge the overall trend .. The average ema will also allow you to keep your chart clean and you wont have to add too many emas together.
The average of the selected EMAs are displayed as a single line. This helps identify trends and potential reversals in the market. i hope this indicator will help you with trading...
Plz use the chart BINANCE:LINKBTC as reference, for back testing and educational purposes only.
Thumbs up if you liked the script.
Happy trading..
EMA 08:00// Some traders prefer to start the charts at 8am in the morning.
// This chart setting is not possible as of today, but the following script lets you calculate ema for a defined time range.
// Right now it is set to include bars from 08:00 to 23:59, meaning that early pre market 04:00 to 07:59 is left out.
[MAD] Support / ResistanceSupport/Resistance - Multi-Timeframe Data Plotter
This Pine Script indicator provides users with the ability to analyze various technical indicators, including Bollinger Bands, Simple Moving Averages (SMA), Exponential Moving Averages (EMA), and Pivot Points, across different timeframes. It visually represents these indicators on the chart, allowing for comprehensive analysis.
Key Features:
Bollinger Bands: The indicator supports 6 different timeframes for Bollinger Bands. Users can customize the length of the Bollinger Bands for each timeframe and choose whether to display levels and plots.
Simple Moving Averages (SMA): The indicator supports 4 different timeframes for SMAs. Users can define custom lengths for the SMAs and choose which ones to display on the chart or in the S/R Screen.
Exponential Moving Averages (EMA): Similar to SMAs, the indicator supports 4 different timeframes for EMAs. Users can define custom lengths for the EMAs and choose which ones to display on the chart or in the S/R Screen.
Pivot Points: The indicator supports 4 different timeframes for Pivot Points. Users can choose between Traditional and Fibonacci calculation methods and customize the appearance of the pivot levels.
Global Switches: Users have the option to enable or disable the display of pivots, Bollinger Bands, SMAs, EMAs, open/close/high/low values, horizon plot, and VPR-style plot (weighted Gaussian addition).
Plot Limitation: Users can limit the plotting of support and resistance lines by specifying a percentage up/down.
This indicator offers extensive customization and flexibility, allowing users to analyze the market using these technical indicators across multiple timeframes.
Please refer to this screenshot for an overview of all available settings:
Additionally, the indicator includes a multiplot-chartselect feature to address the limitation of 32 data streams with colors. This feature enables the selection of 10 SMAs or EMAs from different timeframes, along with 3 timeframes of Bollinger Bands and the daily open/close values, all in a single packed indicator. Here is an example of how the data can be displayed:
Enabling all features simultaneously may result in visual overload. However, for users who wish to view specific indicators, this indicator provides all the necessary options. Please refer to this screenshot for an example of various indicators displayed:
To enhance visibility, all lines are weighted, and line and label positions can be dynamically shifted based on these weights.
SmartVPSGTitle: 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.
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 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
SPX-40 % PMO Above Zero [bluesky]█ OVERVIEW
The "SPX-40 % PMO Above Zero" script analyzes market breadth based on the percentage of stocks within the SPX-40 subset with a Positive Momentum Oscillator (PMO) value greater than or equal to zero. It provides insights into the strength and breadth of positive momentum signals, aiding traders in making informed decisions.
█ CONCEPTS
This script evaluates the percentage of stocks within the SPX-40 subset that have a PMO value above zero. By calculating this percentage, the script identifies periods of broad positive momentum and potential trading opportunities.
█ CALCULATION
The script calculates the percentage of stocks with a PMO value above zero within the SPX-40 subset. It uses the PMO values of individual stocks to assess market breadth and determine the strength of positive momentum signals.
█ HOW TO USE IT
- Timeframe: Optimize the script for different timeframes to analyze market breadth effectively.
- Market Breadth Analysis: The script displays the percentage of SPX-40 stocks with a PMO value above zero, indicating the strength of positive momentum signals across the subset.
- Trend Identification: Monitor changes in the percentage of stocks above zero to identify shifts in market breadth and trends.
- Risk Management: Consider the breadth of positive momentum signals when setting stop-loss levels or evaluating overall market conditions.
█ ADDITIONAL OPTIONS
- This script offers additional options to enhance analysis and customization, including the usage of two exponential moving averages (fast and slow) for additional insights into momentum trends.
- Background colors for EMA crossovers can be visualized using customizable options, aiding in trend identification.
- The Heikin Ashi candles option can be enabled for a different perspective on price movements.
█ FLEXIBILITY AND ADAPTABILITY
It's important to note that the default selection of 40 stocks within the SPX-40 subset may need adjustment over time as market dynamics change. Traders have the flexibility to modify the list of stocks to reflect the current market conditions and ensure the script's relevance and accuracy. Please review and update the list periodically to maintain the effectiveness of the analysis.
█ DISCLAIMER
Trading involves risks, and past performance is not indicative of future results. The "SPX-40 % PMO Above Zero" script is a tool designed to assist traders in analyzing market breadth and positive momentum signals. It should be used in conjunction with sound risk management practices and a comprehensive trading strategy. Traders are encouraged to perform their due diligence, exercise caution, and adapt the script to their individual trading preferences and requirements.
Please note that this script does not make any claims of guaranteed profitability or provide investment advice. Always consult with a qualified financial professional before making any investment decisions.
SPX-Sectors % PMO Above Zero [bluesky]█ OVERVIEW
The "Subsector-11 % PMO Above Zero" script analyzes market breadth based on the percentage of 11 user-adjustable subsector ETFs of the S&P 500 with a Positive Momentum Oscillator (PMO) value greater than or equal to zero. It provides insights into the strength and breadth of positive momentum signals within specific subsectors, aiding traders in making informed decisions.
█ CONCEPTS
This script utilizes the PMO values of the 11 user-adjustable subsector ETFs of the S&P 500 to assess market breadth. By calculating the percentage of subsector ETFs with a PMO value above zero, it identifies periods of broad positive momentum and potential trading opportunities within those specific sectors.
█ PMO (Positive Momentum Oscillator)
Developed by Carl Swenlin, the PMO is an oscillator based on a Rate of Change (ROC) calculation that is smoothed twice with exponential moving averages using a custom smoothing process. The PMO is normalized, allowing it to be used as a relative strength tool. Traders can rank subsector ETFs based on their PMO values as an expression of relative strength.
█ CALCULATION
The script calculates the percentage of subsector ETFs with a PMO value above zero based on the provided PMO values of the 11 user-adjustable subsector ETFs. It uses custom smoothing functions similar to Exponential Moving Averages (EMAs) to derive the PMO values.
█ HOW TO USE IT
- Timeframe: Optimize the script for different timeframes to analyze market breadth effectively within specific subsectors.
- Subsector Analysis: The script displays the percentage of subsector ETFs within the 11 user-adjustable subsectors of the S&P 500 with a PMO value above zero, indicating the strength of positive momentum signals within those subsectors.
- Trend Identification: Monitor changes in the percentage of subsector ETFs above zero to identify shifts in market breadth and trends.
- Risk Management: Consider the breadth of positive momentum signals within specific subsectors when setting stop-loss levels or evaluating overall market conditions.
█ ADDITIONAL OPTIONS
This script offers additional options to enhance analysis and customization:
- Candle Style: Choose from different candle styles such as Heikin Ashi, Three Line Break, Candles, or Line for chart visualization.
- PMO Settings: Adjust the lengths of the PMO calculation and signal length according to your trading preferences.
- Moving Average Settings: Incorporate the usage of fast and slow exponential moving averages (EMAs) for additional insights into momentum trends.
█ FLEXIBILITY AND ADAPTABILITY
The script allows traders to adjust the subsector ETF names according to their specific requirements. Please review and update the list of subsector ETFs periodically to reflect the desired sectors for analysis and ensure the script's relevance and accuracy.
█ DISCLAIMER
Trading involves risks, and past performance is not indicative of future results. The "Subsector-11 % PMO Above Zero" script is a tool designed to assist traders in analyzing market breadth and positive momentum signals within specific subsectors. It should be used in conjunction with sound risk management practices and a comprehensive trading strategy. Traders are encouraged to perform their due diligence, exercise caution, and adapt the script to their individual trading preferences and requirements.
Please note that this script does not make any claims of guaranteed profitability or provide investment advice. Always consult with a qualified financial professional before making any investment decisions.
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!
MultiMovesCombines 3 different moving averages together with the linear regression. The moving averages are the HMA, EMA, and SMA. The script makes use of two different lengths to allow the end user to utilize common crossovers in order to determine entry into a trade. The edge of each "cloud" is where each of the moving averages actually are. The bar color is the average of the shorter length combined moving averages.
-The Hull Moving Average (HMA), developed by Alan Hull, is an extremely fast and smooth moving average. In fact, the HMA almost eliminates lag altogether and manages to improve smoothing at the same time. A longer period HMA may be used to identify trend.
-The exponential moving average (EMA) is a technical chart indicator that tracks the price of an investment (like a stock or commodity) over time. The EMA is a type of weighted moving average (WMA) that gives more weighting or importance to recent price data.
-A simple moving average (SMA) is an arithmetic moving average calculated by adding recent prices and then dividing that figure by the number of time periods in the calculation average.
-The Linear Regression Indicator plots the ending value of a Linear Regression Line for a specified number of bars; showing, statistically, where the price is expected to be. Instead of plotting an average of past price action, it is plotting where a Linear Regression Line would expect the price to be, making the Linear Regression Indicator more responsive than a moving average.
The lighter colors = default 50 MA
The darker colors = default 200 MA
EMA/MA + Super Trend + BBHere is what this indicator does :
1. EMA+SMA moving average system
1. EMA moving average (five in total)
2. SMA moving average (five in total)
3. deduction price
4. EMA/SMA cross prompt: EMA 12//26 cross, or MA14/MA28 cross
5. EMA/SMA parallel prompt: prompt when EMA 12/26/52 is in parallel, or prompt when MA14/MA28/MA 60 is in parallel
Why use EMA 12/26 cross prompt, and MA14/MA28 cross prompt?
Because I backtested BTC based on the winning rate of EMA and MA crossover, its winning rate is higher.
Why use parallel prompt?
Because after the moving averages cross, they will start to be in parallel mode. If you don't see the moving averages be in parallel, it will be a warning sign.
2. Super Trend:
Super Trend is used to assist in judging the current trend.
3. BB Bollinger Bands:
Use the size of the opening to judge whether the major trend is coming.
How to use this indicator? (see chart)
1. Choose EMA or MA, or mix them at the same time
2. Use the Bollinger Bands to find the potential big trend is coming
3. Confirm the trend with Supertrend
4. Use moving averages to confirm crossover and long or short moving average parallel signals
5. The deduction price is used to judge whether the moving average continues to go up or down
Why to do this, why mix them?
1. When the opening of the Bollinger band is very small, it means that the trend is coming
2. Supertrend can help us confirm whether it is an upward or downward trend
3. The crossing and parallel of moving averages can be used as entry trading signals
4. The deduction price is used to judge whether the moving average continues to go up or down
This's why there is a mix of Moving average, Supertrend and BB.
這是這個指標的功能(instructions in Chinese):
一、EMA+SMA 均線系統
1、EMA 均線(共五條)
2、SMA 均線(共五條)
3、抵扣價:可以五條均線的折扣價位置
4、EMA/SMA 交叉提示:EMA 12/EMA 26交叉 或 MA14/MA28 交叉
5、EMA/SMA 排列提示:EMA 12/26/52 呈排列時提示,或 MA14/MA28/MA 60 排列時提示
交叉定義:
二、Super Trend 超級趨勢:
Super Trend 用來輔助判斷當前趨勢。
三、BB 布林帶:
藉由開口大小判斷大趨勢是否即將來臨。
如何使用這個指標?(見圖表說明)
1、選擇EMA或MA均線,或同時混合使用它們
2、用布林帶尋找潛在大趨勢即將來臨
3、用Supertrend 確認趨勢
4、用均線確認交叉與多頭或空頭均線排列訊號
5、抵扣價用來判斷均線是否持續向上或向下
為什麼要這麼做?
1、當布林帶的開口很小時,說明趨勢即將來臨
2、Supertrend 可以幫助我們確認是向上還是向下趨勢
3、均線的交叉與排列可以作為進場交易訊號
4、抵扣價則用來判斷均線是否持續向上或向下
這就是為什麼要混合使用這幾個指標的原因。
EMA bridge and dashboard with color coding.
Summary:
This is a custom moving average indicator script that calculates and plots different Exponential Moving Averages (EMAs) based on user-defined input values. The script also displays MACD and RSI, and provides a table that displays the current trend of the market in a color-coded format.
Explanation:
- The script starts by defining the name of the indicator and the different inputs that the user can customize.
- The inputs include bridge values for three different EMAs (high, close, and low), and four other EMAs (5, 50, 100, and 200).
- The script assigns values to these inputs using the `ta.ema()` function.
- Additionally, the script calculates EMAs for higher timeframes (3m, 5m, 15m, and 30m).
- The script then plots the EMAs on the chart using different colors and line widths.
- The script defines conditions for going long or short based on the crossover of two EMAs.
- It plots triangles above or below bars to indicate the crossover events.
- The script also calculates and displays the RSI and MACD of the asset.
- Finally, the script creates a table that displays the current trend of the market in a color-coded format. The table can be positioned on the top, middle, or bottom of the chart and on the left, center, or right side of the chart.
Parameters:
- i_ema_h: Bridge value for high EMA (default=34)
- i_ema_c: Bridge value for close EMA (default=34)
- i_ema_l: Bridge value for low EMA (default=34)
- i_ema_5: Value for 5-period EMA (default=5)
- i_ema_50: Value for 50-period EMA (default=50)
- i_ema_100: Value for 100-period EMA (default=100)
- i_ema_200: Value for 200-period EMA (default=200)
- i_f_ema: Value for fast EMA used in MACD calculation (default=9)
- i_s_ema: Value for slow EMA used in MACD calculation (default=21)
- fastInput: Value for fast length used in MACD calculation (default=7)
- slowInput: Value for slow length used in MACD calculation (default=14)
- tableYposInput: Vertical position of the table (options: top, middle, bottom; default=middle)
- tableXposInput: Horizontal position of the table (options: left, center, right; default=right)
- bullColorInput: Color of the table cell for a bullish trend (default=green)
- bearColorInput: Color of the table cell for a bearish trend (default=red)
- neutColorInput: Color of the table cell for a neutral trend (default=white)
- neutColorLabelInput: Color of the label for neutral trend in the table (default=fuchsia)
Usage:
To use this script, simply copy and paste it into the Pine Editor on TradingView. You can then customize the input values to your liking or leave them at their default values. Once you have added the script to your chart, you can view the EMAs, MACD, RSI, and trend table on the chart. The trend table provides a quick way to assess the current trend of the market at a glance.
Relative Strength Index w/ STARC Bands and PivotsThis is an old script that I use with some useful RSI strategies from "Technical Analysis for the Trading Professional" 2nd edition by Constance Brown.
The base RSI comes with the option for custom length, and has some pre-configured ranges for looking at exits and entrances. The idea is to be bullish when bounces happen in the red zone during an already bullish trend or when the indicator enters green without a rejection. Be bearish if the indicator falls through the red zone or fails to enter green during an already bearish trend.
I have added the formulas used for creating STARC bands (just think fancier volatility bands) with adjustable tolerances. The idea is to look out for when the RSI touches one of the bands and reverses. This is usually indicative of a strong reversal (though the timing will be up to the trader). Best use this on shorter time frames during a volatile time of a stock's price action.
Although a little messy, there is a small segment of the script which includes pivot points. I like to use these because they make indicating local highs/lows for finding divergences easier.
Finally, I have added a couple of customizable EMAS for the RSI itself. Useful when combined with the other features!
Multi-Timeframe Trend IndicatorThe Multi-Timeframe Trend Indicator (MTFTI) is a trend analysis tool designed to help traders quickly and easily assess the market direction across multiple timeframes. With the help of a table to visualize the trends on different timeframes.
Key features:
Multi-timeframe trend indicator for the following timeframes: 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours, 12 hours, 1 day, and 1 week and average.
Displays trends for selected timeframes in a table.
Considers short and long-term exponential moving averages (EMAs) to determine trends.
Calculation of the average trend for all timeframes.
Display of trends with appropriate coloring for better readability (green for "Up", red for "Down", and intermediate shades for neutral or strong trends).
List of Parameters
Customization of the table's position on the screen (top-left, top-right, middle-left, middle-right, bottom-left, bottom-right).
Setting the lengths of the short and long-term exponential moving averages.
Option to activate or deactivate the display of EMAs for better customization (true by default).
Please note that the MTFTI is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Colorful Moving Averageswhat is Colorful Moving Averages?
This indicator allows you to use your favorite moving averages in their advanced form.
what it does?
It gives you easy access to the following information with a single indicator: the direction and momentum of the price,
rate of change of momentum (acceleration),
time-dependent change in momentum,
and all the other information a moving average provides.
it paints the selected moving average type according to the momentum it has, and also shows the momentum and acceleration values in a table. colors are interpreted as follows: the color of the moving average is red, the momentum is negative; A green color means the momentum is positive, and a yellow color means the momentum is 0. As the momentum changes, the moving average takes on different shades of these 3 colors. how it actually works can be easily understood at a glance.
"Δ" sign indicates momentum compressed between 100 and -100.
"Γ" sign indicates the momentum of the momentum, that is the acceleration. its values are compressed between 100 and -100.
how it does it?
it uses this formulas:
how to use it?
First, select the moving average type you want to use. then set the length and source. Now, with a single indicator, you can observe both the distance of the price from the mean, its instantaneous momentum relative to the last candle by looking at the symbol "Δ", the current change of momentum by looking at the symbol "Γ", and the time-dependent change in its momentum by looking at the colors. you can also see the maximum and minimum points where the momentum is equal to 0.
Negroni MA & RSI Strategy, plus trade entry and SL/TP optionsI will start with the context, and some things to think about when using a strategy tool to back-test ideas.
CONTEXT
FIRST: This is derived from other people's work, but I honestly hadn't found a mixed indicator MA strategy tool that does what this now does. If it is out there, apologies!!
This tool can help back-test various MA trends (SMA, EMA, HMA, VWMA); as well as factoring in RSI levels (or not); and can factor in a fixed HTF MA (or not). You can apply a 'retest entry' or a 'breakout entry', and you can also apply various risk mgt for SL/TP orders: 1) No SL/TP; or 2) a fixed %, or 3) dynamic ATR multipliers.
Find below, some details explaining what this tool is attempting to do.
Thank you, tack, salute!
THINGS TO REVIEW (it is not just about 'profitability'!!)
Whilst discretion is always highly encouraged as a trader, and a 100% indicator-driven strategy is VERY unlikely to yield sustainable results going forward, at the very least back-testing your strategies can help provide some guidance, not just on win rate Vs profit factor, but other things including:
a) Trade frequency: if a strategy has an 75% win rate and profit factor of 4, with all your parameters and confluence checks, but only triggers 3 trades every 5 years, is that realistically implementable to your trading situation if you have a $10,000 account?
b) Trade entry type: is it consistently better to wait for a retest of an 'MA zone', or is it better to market buy/sell on breakout of the 'MA zone'?
c) Risk management (SL/TP): is it consistently better to have a fixed static % for SL/TP ("I always place my stops 2% away, whether it is EURUSD or BTCUSDT"), or would you be better placed to try using an ATR multiplier of the respective assets?
d) Moving average type: is your old faithful 100 EMA really serving you well, or is the classic SMA more reliable, or how about the HMA, or the VWMA? Is the 100/200 cross holding up, or do you need something more sensitive? Is there any significant difference between a 10 EMA/20 EMA trend zone compared to a 13 EMA /25 EMA zone?
e) Confluence: Do added confluence checks (RSI, higher timeframe MA) actually improve profitability? But even if they do, is at the cost of cutting too many trades?
INPUTS AND PARAMETERS
Choice 1) Entry Strategy: Retest or Breakout - You can select both!
[ ]:
a) RETEST entry strat: price crosses UNDER FastMA INTO the 'MA trend zone'.
b) BREAKOUT entry strat: price crosses OVER FastMA OUT the 'MA trend zone'.
Choice 2) Risk Management (SL and TP) - You can select more than 1 strategy!
a) No SL/TP: Long trades are closed when the LOW crosses back UNDER the fastMA again, and shorts are closed when the HIGH crosses back OVER the fastMA again.
b) Static % SL/TP: Your SL/TP will be a fixed % away from avg. position price... WARNING: You should change this for various asset classes; FX vol is not the same as crypto altcoin vol!
c) Dynamic ATR SL/TP: Your SL/TP is a multiple of your selected ATR range (default is 50, see 'info' when you select ATR range). ATR accounts for the change in vol of different asset classes somewhat, HOWEVER... you should probably still not have the same multiplier trading S&P500 as you would trading crypto altcoins!
Then select your preferred parameters: EMA, SMA, HMA, VWMA, etc. You can mix and match, and most options have a info/tooltip guide.
RSI note: If you don't care for RSI levels, then set buy signal at 1... i.e always buys! Similarly set sell signal at 99.
ATR note: standard ATR length is usually 14, however... your SL/TP will move POST entry, and can tighten or widen your initial SL/TP... for better AND usually for worse! Go find a trade (strat 3) on the chart, look at the SL/TP lines, now change the number to 5, you'll see.
Fixed HTF MA note: If you don't care for HTF MA confluence, just change the timeframe/options to match the 'Slow MA' options you've chosen.
Rekt Edge Reversion BandRekt Edge Reversion band is a technical indicator that utilizes a combination of moving averages and standard deviations to determine optimal entry and exit points in the market. By comparing the current price to its moving average, the indicator identifies potential trends and determines how you can position around them by plotting buy/sell signals and two channels based on user input parameters. The user can choose between Simple Moving Average ( SMA ) or Exponential Moving Average ( EMA ) and select the moving average period, the unit of separation, the multiples of the unit, and other important parameters. The indicator's inputs can be adjusted to suit different trading styles, and it can be used on any time frame. The indicator can be used to identify potential trend reversals or breakouts (or breakdowns) when the price moves outside of the channels. The indicators potential use cases include identifying overbought or oversold conditions. With its ability to provide a clear signal on when to enter and exit a trade, this indicator is a popular tool among traders looking to make more informed and profitable trading decisions. This indicator can also be used in conjunction with other technical analysis tools to confirm or invalidate trading signals.
Customizable Moving Average RibbonThis indicator is a highly customizable moving average ribbon with some unique features.
This script can utilize multiple unique sources, including a non-repainting renko closing price. Renko charts focus solely on price movement and minimize the impacts of time and the extra noise time creates. Employing the renko close helps smooth out the MA ribbon. Insignificant price movements will not cause a change in the plotted lines of the indicator unless a new threshold is breached or a "brick" is created. This is highly useful for quickly identifying consolidation areas or overall flat price movement.
There are two methods for selecting the box size when utilizing the renko source. Box size is critical for the overall function and efficacy of the plots you will visually see with this indicator. Box size is set automatically using the Average True Range "ATR" or manually using the "Traditional" setting. The simplest way to determine a manual box size is to take the ATR of the given instrument and round it to the nearest decimal place. As an example, if the ATR for the asset is 0.18, you would round that number to 0.2 and utilize this as your traditional box size.
The MA ribbon contains eleven adjustable moving average lines. Users can choose to turn off as many as they would like. Users can also adjust the length of the individual moving averages and the source for all moving averages. There are nine types of moving averages to choose from for the ribbon. The MA options are:
Exponential Moving Average = 'EMA'
Double Exponential Moving Average= 'DEMA'
Triple Exponential Moving Average = 'TEMA'
Simple Moving Average = 'SMA'
Relative Moving Average = 'RMA'
Volume Weighted Moving Average = 'VWMA'
Weighted Moving Average = 'WMA'
Smoothed Simple Moving Average = 'SSMA'
Hull Moving Average = 'HULL'
We believe that the ribbons features, including the line color change, help quickly identify trends and give users optimum customization. Users can select from five different color schemes including:
Green/Red
Purple/White
White/Blue
Silver / Orange
Teal/ Orange
TwV Market SignalsSignals Indicator
Summary
This indicator allows traders to have in handy short and long signals and estimate the trend of the market.
The indicator draws Long and Short signals depending on the trend analysis. The indicators also use meaningful colors for traders to be able to visually understand the graphs, such us fillings on EMAs, so the possible trend is represented.
The colors used are light green for bullish, red for bearish, dark green for possible bearish to bullish change and purple for possible bullish to bearish change. These colors are applicable to all fillings and summary box.
How to use this indicator
The use of EMAs 10,20 and 50 draw the medium to long term trends, therefore avoiding signals against the trend. Furthermore the EMAs will advise possible change in trends, specially considering the 10 and 20 cross, considering that crossing the 10,20 and 50, might confirm the change in med to long term trend change of the price. This is completely visual in the chart as it tints green for positive trend and yellow to red for negative trend.
The 200 SMA is included as it also gives better confirmation to the trend, the basics tell that when the EMAs mentioned above are below the 200 SMA then the likelihood for entries in long positions are not the best and vice versa for short.
Therefore, the trader shall filter Long and Short Signals accordingly as this EMAs are not used to send Long and Short signals considering that they confirm the trend in a slow pace and not reactively to the price volatility.
There are two strategies built-in within the indicator:
Strategy 1 – Longer time trades and high volatility handling
The Long and Short Signals are based on 14 and EMAs (by default). This two Mas are used to send signals based on their crossovers as they are way more reactive to the price movement.
Trader shall consider that EMAs are used for higher timeframes, therefore the indicator has the possibility to adjust the EMAs and use SMAs or WMAs instead for one or the two parameters (14 and 21).
WMAs react faster to the price volatility so the trader shall adjust this according to the timeframe being used. (Lower timeframes suggested).
This strategy is used for trades that might keep running for longer periods of times.
For reference on what the SMAs, EMAs and WMAs are, please see below sections in the description.
Strategy 2 - Shorter time trades and unhandled high volatility
The Long and Short Signals are bases on HMA. HMAs (Hull Moving Averages) track the price movement and volatility way faster that SMAs, EMAs and WMAs, therefore as the HMA follow the price quicker, it is intended for short time trades even in higher timeframes.
Scalping is not suggested using this strategy as HMA do not handle high volatility even on higher timeframes.
One of the biggest differences from the first strategy is that there is no more than a single HMA length to work with, which is 24 as default.
HMAs calculation is different to other MAs, therefore combining various HMAs lengths looking for crossovers become trend identification a lot less precise. HMAs are not intended to be used with different length crossovers.
Exit points = The use of Stochastic and VRVP
Stochastic RSI
It is well known that when Stochastic RSI resets when overbought or oversold therefore traders have within a summary box the possibility to check whether the K & D lines in the Stochastic RSI hace crossed over bullish or bearish.
Although the crossover is not mandatory for a change trend, the crossover might be used by the trader to exit a position considering that the price might move on the opposite direction.
Traders shall look at the summary box, where bullish and bearish crossovers are shown, so they evaluate their position exit.
Visible Range Volume Profile
The use of the VRVP is to find support and resistance on the price movements. Although high and lows are used as possible supports and resistances, VRVP shows an area of confluence on the order book, where volume of positions are accumulated and that might act as support or resistance depending on the price direction.
Traders can visually activate the VRVP to see the Point of Control (POC) directly on the chart as a line (similar as how a support or resistance would be drawn). Moreover, traders have the ability to see within the summary box, whether to see if the price is above or below the POC, so they clearly know if it is acting as support or resistance.
Price Direction
Trade the market trend is well know to be used to identify possible price direction. It is important not to confuse the longer time trend drawn by the EMAs with the TTM Trend bar color. The TTM trend colors bars according to the price direction, helping traders not to confuse when a red bar appears on an up trend or green bars on a down trend.
This coloring helps traders not to exit trades based on bar coloring, which might psychologically affect when scalping or short-term trading specially.
Originally, the TTM trend is used considering the ADX in and indicator called TTM Squeeze, where the strength of the movement is measured, therefore although candle colors help with the price direction, ADX provides the trader the ability to see whether the direction is losing momentum and then catch the best possible exit before the direction change.
How to use Summary
1. Receive the Long or Short Signals using strategy 1 or 2, depending on the selected in the main menu of the indicator.
2. Evaluate the trend based on the 10,20, 50 and 200 MAs. Filter the Long and Short signals accordingly.
3. Monitor constantly the TTM Trend and the ADX for the direction and strength of the position entered and review if the momentum is being lost, considering step 4 or other possible reasons that might lead to exiting the position.
4. Once entered to a position evaluate constantly the Stochastic RSI bearish or bullish crossover or POC value on screen or summary box to exit the position.
Terminology basics
Trend indicators
Exponential Moving Average (EMAs): The base indicator is composed of moving averages of 10, 20 and 55 exponential periods, to determine a possible bullish or bearish trend (EMA Crossing)
Simple Moving Average (SMA): The base indicator is composed of a moving average of 200 simple periods, which in conjunction with the EMAs can lead to estimate potential upward or downwards moves, as well as possible resistances. (SMA Positioning)
Weighted moving average (WMA): It is a technical indicator that traders use to generate trade direction and make a long or short position. It assigns greater weighting to recent data points and less weighting on past data points. (WMA Crossing)
Strength and S/R indicators
VPVR (Volume Profile Visible Range): It allows to determine the Point of Control (POC) which is the node with the highest volume profile. This can be used as an important retest point or to calculate potential support and resistance. The POC level is represented with a red dotted line in the graph.
The VPVR is a simplified version of the “TwV Multi-timeframe Dynamic VRVP” that you can find for free use in my profile. This version calculates the main’s timeframe POC and also has the possibility to be fixed range if the trader enables it from the menu. (Dynamic range by default).
ADX (Average Directional Index): The ADX helps the indicator to estimate the strength of the movement, always considering the DI+ and DI- to not go against the trend strength. This is represented as summary text in a table.
/
Exit indicator
Stochastic RSI: It is an indicator used in technical analysis that ranges between zero and a hundred and is created by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold (Exit zones)
/
Summary Panel
This panel allows the trader to have a summary of the current status (bearish or bullish) of some of the most determinant indicators within the strategy. It has the following characteristics:
It is placed on the right bottom side of the chart by the default. Traders can change its position or hidden it through the main menu of the indicator.
Its colors change according to the indicator’s values and constant change for easier detection.
The summary box shows the projection for each of the indicators (Trend, Stochastic, EMA, VPVR and ADX).
The summary box is multi-language (English and Spanish), which can be changes in the main menu of the indicator
Alerts
Within the indicator’s menu, you can set up alerts for all long, short, close long and close short signals, which might come in handy when the trader would like to have notifications on the Trading View website, desktop app or phone apps. Furthermore, there are also signals for possible exit points, which can also be activated from the indicator’s menu.