Major and Minor Trend Indicator by Nikhil34aScript Description:
This script is designed to provide a visual indication of the major and minor trends of an asset, along with potential buy and sell signals. It calculates two Simple Moving Averages (SMA): a longer-term 200-period SMA (Major SMA) and a shorter-term 20-period SMA (Minor SMA). The script determines whether the asset's closing price is above or below these moving averages to identify the major and minor trends. It also detects potential buying and selling opportunities based on the intersection of the asset's price with the SMA lines.
Usefulness:
This script can be useful for traders and investors who follow trend-based strategies and want to monitor the major and minor trends of an asset. By visually displaying the trends and potential buy and sell signals, it helps traders make informed decisions about entering or exiting positions.
Simple Explanation on BTC Chart:
In the context of a BTC chart, let's consider the following scenario:
BTC is currently trading above the 200-period SMA (Simple Moving Average), which is located at 29,059.
BTC is trading below the 20-period SMA, positioned at 30,178.
The current price of BTC is 29,916.
Based on this information, we can conclude that:
The major trend is bullish since BTC is trading above the 200-period SMA.
The minor trend is bearish as BTC is trading below the 20-period SMA.
The intersection of the price with the moving averages indicates a potential selling opportunity.
Traders using this script would observe that BTC is in a bullish major trend, a bearish minor trend, and there is a possibility of a sell signal. They may consider these factors when making trading decisions, such as adjusting their positions or taking profits.
Remember to conduct your own analysis and consider additional factors before making any trading decisions.
Średnie kroczące
Trendilo LSMA Band ExampleThe "Trendilo LSMA Example" indicator is a technical analysis tool that combines two moving averages, the Linear Regression Moving Average (LSMA) and the Hull Moving Average (HMA), to provide insights into market trends.
The indicator plots a line on the price chart, which represents the combined values of the LSMA and HMA. This line changes color based on the direction of the trend. When the line is green, it suggests an upward trend, indicating that prices may continue to rise. Conversely, when the line is red, it suggests a downward trend, indicating that prices may continue to fall. If the line is yellow, it suggests a neutral or sideways trend, indicating that prices may be moving within a range without a clear trend.
Traders can customize the indicator by adjusting the input parameters. The "LSMAlen" parameter determines the length of the LSMA, the "LSMA Offset" parameter sets the offset for the LSMA, and the "LSMA Smoother" parameter controls the smoothing factor. Additionally, the "HMAlen" parameter determines the length of the HMA.
By using the Trendilo LSMA Example indicator, traders can get a visual representation of the market trend and use it to make informed trading decisions. Green indicates a potential buying opportunity, red suggests a potential selling opportunity, and yellow suggests a period of uncertainty where it may be prudent to wait for a clearer trend signal.
[DisDev] D-I-Y Gridbot🟩 This script is a “do-it-yourself” Grid Bot Simulator, used for visualizing support and resistance levels. Prices are divided into grids, or trade zones, that will trigger signals each time a new zone is entered. During ranging markets, each transaction is followed by a “take profit.” As the market starts to trend, transactions are stacked (compare to DCA ), until the market consolidates. No signals are triggered above the upper gridline or below the lower gridline. Unlike the previous version, all grids may be adjusted in real-time by dragging the gridlines up and down to the desired support and resistance levels.
When adding the indicator to a new chart, you must choose six grid levels by clicking on the desired support or resistance price. You can change all of these levels at any time directly on the chart.
⚡ OVERVIEW ⚡
The D-I-Y Gridbot is an interactive tool designed for visualizing support and resistance levels. As a continuation of the original Gridbot Simulator , which has received significant recognition on TradingView, earning over 4000 boosts and an Editor's Pick status. This tool serves not only as an evolved version of its predecessor, but also as an open-source template for developing future gridbots. It aims to foster discussions and facilitate innovations around grid-trading strategies.
One of the new features of this gridbot is the real-time adjustability of all gridlines. Users can move these lines up and down to set their desired support and resistance levels in response to changing market conditions. Additionally, the D-I-Y Gridbot is compatible with multiple timeframes and can be used on most TradingView charts.
Drag gridlines up or down to desired price level.
Key Features 🔑
All gridlines are adjustable in real-time, directly on the chart
Signals can be filtered by a customizable moving average or by VWAP
Customizable support and resistance levels
Potentially increases profitability in ranging markets
Benefits 💸
Customizable Support and Resistance Levels : The D-I-Y Gridbot allows users to set their preferred support and resistance levels, which can be changed at any time directly on the chart. This provides users with the ability to customize their trading parameters based on their strategy and risk tolerance.
Various Trading Strategies : The D-I-Y Gridbot supports various trading strategies, including Mean Reversion, Ranging Markets, and Dollar-cost averaging (DCA). This allows users to capitalize on price reversals, execute buy and sell orders at predetermined levels, and buy more of an asset as the price falls, respectively.
Multi-Timeframe and Versatility : The D-I-Y Gridbot is compatible with multiple timeframes and can be used on any TradingView chart.
Experimental and Educational : The D-I-Y Gridbot is considered a proof-of-concept tool that is both experimental and educational. This can provide traders with a deeper understanding of grid trading strategies and the ability to experiment with different trading parameters and strategies.
⚙️ CONFIGURATION & SETTINGS ⚙️
Inputs 🔧
Trigger : Candle location to trigger the signal. "Wick" will use either high or low, depending on the signal direction. "Close" will use the close price. “MA” will use the selected moving average or VWAP.
Confirmation : Market direction to confirm the candle trigger. "Reverse" will confirm the signal when the price crosses back over the trigger. "Breakout" will confirm when the price breaks out of the trigger.
Number of Support/Resistance zones : 1 = Only Top Grid is Support/Only Bottom Grid is Resistance. 2 = Top two grids are Resistance/Bottom two grids are Support. 3 = Top three grids are Resistance/Bottom three grids are Support
MA Type : Exponential Moving Average (EMA), Hull Moving Average (HMA), Simple Moving Average (SMA), Triple Exponential Moving Average (TEMA), Volume Weighted Moving Average (VWMA), Volume Weighted Average Price (VWAP)
MA Filter : Use Moving Average as a reversion filter for signals. When enabled, no buys when above MA, no sells when below. Use in conjunction with S/R zones to reduce false signals.
Allow Repeat Signals . When enabled, signals will reset when nearest gridline is triggered. When disabled, only one signal will be triggered per gridline.
Line/Fill colors
Gridlines . Adjusts gridline prices manually.
Left : Trigger = Wick. Confirm = Breakout. Buys are signaled when LOW breaks below gridline. Sells are triggered when HIGH breaks above gridline.
Right : Trigger = Close. Confirm = Breakout. Buys are signaled when the candle CLOSES below the gridline. Sells are triggered when the candle CLOSES above the gridline.
Left : Confirm=Breakout. Signals on breaking through the next gridline.
Right : Confirm=Reverse. Signals only when crossing back from the gridline.
S/R Zones=1. Upper gridline is Resistance / Lower is Support. Middle 4 are neutral.
S/R Zones = 3. Upper three gridlines are Resistance / Lower three are Support
Notes:
If gridlines are dragged out of order on a live chart, they will auto-sort into the correct order.
Price levels may be entered in settings, or adjusted in real-time directly on the chart.
When changing symbols, remember to adjust the gridlines to accommodate the new symbol.
Alerts 🔔
Users can set alerts based on their chosen parameters for triggers, confirmations, number of support/resistance zones, and smoothing type, enabling precise control over alert conditions.
💡 USAGE & STRATEGY 💡
Trading Strategies 📈
Mean Reversion: The script can be used to capitalize on price reversals back to the mean.
Ranging Markets: The script excels in ranging markets, executing buy and sell orders at predetermined levels.
Dollar-cost averaging (DCA): The script can be used to execute DCA orders, buying more of an asset as the price falls, and lowering the average cost per unit.
Timeframes and Symbols ⌚
Multi-Timeframe: The indicator is compatible with multiple timeframes.
Versatile: Can be used on any crypto trading pair on TradingView.
🤖 DETAILS & METHODOLOGY 🤖
Algorithm and Calculation 🛡️
Grids are set and adjusted when loading the indicator on the chart and may be customized anytime afterward by clicking and dragging the gridlines on the chart.
Gridlines are updated, sorted, and stored in a float array.
Signals are calculated based on candle trigger, market direction, and previous price level.
📚 ADDITIONAL RESOURCES 📚
Chart Examples 📊
S/R Zones = 3: Three Support and Three Resistance. Filter = 50-period Triple Exponential Moving Average (TEMA)
S/R Zones = 1: One Support, One Resistance, and Four Neutral Zones. Support Zones: Buys only. Resistance Zones: Sells only. Neutral Zones: Grid-dependent
When MA filter is enabled, Buys are only triggered below Moving Average, and Sells are only triggered above.
Trigger = Wick. Confirmation = Breakout. Buys are signaled when Low breaks above the next grid level. Sells are signaled when High breaks below the next grid level.
🚀 CONCLUSION 🚀
The D-I-Y Gridbot is a proof-of-concept, emphasizing its experimental and educational nature. In future versions, we will aim to incorporate concepts such as auto-adjusting grids and angled grids for trending markets. The script is designed to evolve through user feedback and suggestions, shaping its future iterations.
Credit: This is a continuation of the Gridbot series by xxattaxx-DisDev . Explicit permission was granted by user xxattaxx-disdev to re-use all Gridbot code and all materials without restrictions.
⚠️ DISCLAIMER ⚠️
This indicator is a proof-of-concept and is considered experimental and educational. When gridlines are drawn in hindsight, signals appear to be predictive and valid. Future results may always vary when the trend direction changes. Comments and suggestions are encouraged.
This indicator is provided as a tool for traders and should not be used as the sole basis for making trading decisions. Always conduct your own research and consider your risk tolerance before entering any trades.
Range Weighted Moving Average (RWMA)The Range Weighted Moving Average (RWMA) :
The Range Weighted Moving Average (RWMA) is a variation of the traditional moving average that incorporates the price range within each period as a weighting factor.
It assigns higher weights to periods with larger price ranges, aiming to provide a moving average that responds more dynamically to changes in price range and volatility.
Compared to a normal Simple Moving Average (SMA) or Exponential Moving Average (EMA), the RWMA offers several potential advantages:
Why do i think its better than Normal SMA , EMA ?
Increased Sensitivity: The RWMA reacts faster to changes in price compared to traditional moving averages. By incorporating the price range, which represents the volatility of each period, the RWMA gives more importance to periods with larger price ranges. This increased sensitivity can help traders identify price movements and trends more quickly.
Adaptive to Volatility: The RWMA adjusts dynamically to changes in market volatility. During periods of high volatility, the RWMA places more weight on those periods, capturing and reflecting the increased price movements. This adaptability allows the RWMA to be responsive to different market conditions and better capture significant price swings.
Filtering Potential: The RWMA can be utilized as a filtering tool in trading strategies. By using the RWMA as a trend indicator or filter, traders can focus on trades that align with the direction indicated by the RWMA. This filtering mechanism can help eliminate trades that go against the prevailing momentum, potentially improving the overall quality of trade entries.
Pullback WarningThe Pullback Warning indicator is a simple indicator that highlights the potential for a market pullback, by measuring distances between certain key moving averages.
John Pocorobba recently shared in his general market updates, research showing that when the distance between the closing price and the 9 day exponential moving average is greater than the distance between the 9 day exponential moving average and the 20 day exponential moving average a pullback is likely.
While this condition occurs frequently, I added sensitivity options to try and filter out the noise. The sensitivity is based on the closing price’s extension from the 50 day simple moving average. Depending on your level of sensitivity, only signals that occur when price is extended either 5, 6, or 7 percent away from the 50 sma will be plotted.
Choose how to see the signal:
Highlight Background
Plot a symbol at desired location
Note this signal works best on indexes, not individual securities.
Volume Spike, Price Move >3% Spike with Vol & Gap Up IdentifierTitle: Identifying Volume Spikes, Price Movements and Gap Ups: A TradingView Script
Introduction:
In the world of trading, identifying volume spikes and price movements can provide valuable insights into market trends and potential trading opportunities. In this article, we'll explore a TradingView script that helps traders visualize volume spikes, price up moves with volume spikes, and gap-up days on their charts.
Detecting Price Up Moves:
The script starts by calculating price up moves. It compares the current day's closing price with the previous day's closing price and checks if it has increased by 3% or more. This helps traders spot significant upward price movements.
Detecting Volume Spurts:
Next, the script focuses on detecting volume spikes, which are often associated with increased market activity and potential trading opportunities. It compares the current day's volume with the highest volume of the previous nine sessions. If the current volume exceeds all the volumes of the previous nine sessions, it is considered a volume spurt.
Example:
Let's consider a hypothetical scenario where we have the following volume data for a stock:
Day 1: 100,000
Day 2: 80,000
Day 3: 120,000
Day 4: 150,000
Day 5: 200,000
Day 6: 90,000
Day 7: 110,000
Day 8: 130,000
Day 9: 140,000
Day 10: 250,000 (current day)
To determine if there is a volume spurt on Day 10, the script compares the current day's volume (250,000) with the highest volume of the previous nine sessions. In this case, the highest volume among the previous nine sessions is 200,000 (on Day 5). Since the current day's volume (250,000) exceeds the highest volume of the previous nine sessions (200,000), it is considered a volume spurt.
Identifying Gap-Up Days:
Gap-up days occur when the market opens significantly higher than the previous day's close. To identify these days, the script compares the current day's low price with the previous day's high price. If the low price is greater than the previous day's high, it is marked as a gap-up day.
Visualizing the Findings:
To provide a clear visual representation of the identified patterns, the script uses different shapes and colors. First, it plots small red dots above the candles whenever a volume spurt is detected. These dots help traders quickly identify periods of increased volume activity.
For price up moves with volume spikes, the script utilizes blue triangular shapes below the candles. This allows traders to pinpoint instances where both price and volume are showing positive signs, indicating potential bullish movements.
Additionally, the script incorporates green candles to represent gap-up days. These candles help traders recognize days when the market opens with a significant upward gap, suggesting a potential shift in market sentiment.
Conclusion:
The TradingView script discussed in this article provides traders with a visual representation of volume spikes , price up moves with volume spikes , and gap-up days . By incorporating these visual cues into their analysis, traders can gain valuable insights into market trends and potential trading opportunities.
Remember, this script should be used for educational and informational purposes only and does not serve as financial advice or recommendations. Traders are encouraged to customize and modify the script according to their specific trading strategies and risk tolerance.
Share this script with other traders on TradingView to enhance their chart analysis and trading decisions.
PS: This TradingView script is designed to work specifically on the daily timeframe (daily candles). It calculates and identifies volume spurts based on the volume data of the daily timeframe. Since it is designed for the daily timeframe, it may not produce accurate results or work as intended on other timeframes.
Williams %R Cross Strategy with 200 MA Filter
1. The script is a trading strategy based on the Williams %R indicator and a 200-period moving average (MA) filter.
2. The user can input the length of the Williams %R indicator (`wrLength`), the threshold for %R crossing (`crossPips`), the take profit level in pips (`takeProfitPips`), and the stop loss level in pips (`stopLossPips`).
3. The script calculates the Williams %R using the `ta.highest` and `ta.lowest` functions to find the highest high and lowest low over the specified length (`wrLength`).
4. It also calculates a 200-period simple moving average (`ma200`) using the `ta.sma` function.
5. The entry conditions are defined as follows:
- For a long entry, it checks if the Williams %R crosses above the -50 line by a threshold of `crossPips` and if the close price is above the 200-period MA.
- For a short entry, it checks if the Williams %R crosses below the -50 line by a threshold of `crossPips` and if the close price is below the 200-period MA.
6. The exit conditions are defined as follows:
- For a long position, it checks if the close price reaches the take profit level (defined as the average entry price plus `takeProfitPips` in pips) or the stop loss level (defined as the average entry price minus `stopLossPips` in pips).
- For a short position, it checks if the close price reaches the take profit level (defined as the average entry price minus `takeProfitPips` in pips) or the stop loss level (defined as the average entry price plus `stopLossPips` in pips).
7. The script uses the `strategy.entry` function to place long and short orders when the respective entry conditions are met.
8. It uses the `strategy.close` function to close the long and short positions when the respective exit conditions are met.
The script allows you to customize the parameters such as the length of Williams %R, the crossing threshold, take profit and stop loss levels, and the moving average period to suit your trading preferences.
The Z-score The Z-score, also known as the standard score, is a statistical measurement that describes a value's relationship to the mean of a group of values. It's measured in terms of standard deviations from the mean. If a Z-score is 0, it indicates that the data point's score is identical to the mean score. Z-scores may be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean.
The concept of Z-score was introduced by statistician Carl Friedrich Gauss as part of his "method of the least squares," which was an important step in the development of the normal distribution and Z-score tables. It's a key concept in statistics and is used in various statistical tests.
In financial analysis, Z-scores are used to determine whether a data point is usual or unusual. You can think of it as a measure of how many standard deviations an element is from the mean. For instance, a Z-score of 1.0 would denote a value that is one standard deviation from the mean. Z-scores are also used to predict probabilities, with Z-scores having a distribution that is expected to be normal.
In trading, a Z-score is used to determine how often a trading system may produce a string of winners or losers. It can help a trader to understand whether the losses or profits they see are something that the system would most likely produce, or if it's a once in a blue moon situation. This helps traders make decisions about when to start or stop a system.
I just wanted to play a bit with the Z-score I guess.
Feel free to share your findings if you discover additional applications for this strategy or identify timeframes where it appears to perform more optimally.
How it works:
This strategy is based on a statistical concept called Z-score, which measures the number of standard deviations a data point is from the mean. In other words, it helps determine how unusual or usual a data point is.
In the context of this strategy, Z-score is applied to a 10-period EMA (Exponential Moving Average) of Heikin-Ashi candlestick close prices. The Z-score is calculated over a look-back period of 25 bars.
The EMA of the Z-score is then calculated over a 20-bar period, and the upper and lower thresholds (bounds for buy and sell signals) are defined using the 90th and 10th percentiles of this EMA score.
Long positions are taken when the Z-score crosses above the lower threshold or crosses above the mid-line (50th percentile). An additional long entry is made when the Z-score crosses above the highest value the EMA has been in the past 100 periods.
Short positions are initiated when the EMA crosses below the upper threshold, lower threshold or the highest value the EMA has been in the past 100 periods.
Positions are closed when opposing entry conditions are met, for example, a long position is closed when the short entry condition is true, and vice versa.
Set your desired start date for the strategy. This can be modified in the timestamp("YYYY MM DD") function at the top of the script.
Parabolic SAR + EMA 200 + MACD SignalsParabolic SAR + EMA 200 + MACD Signals Indicator, a powerful tool designed to help traders identify optimal entry points in the market.
This indicator combines three popular technical indicators: Parabolic SAR (Stop and Reverse), EMA200 (Exponential Moving Average 200) and MACD (Moving Average Convergence Divergence) - to provide clear and concise buy and sell signals based on market trends.
The MACD component of this indicator calculates the difference between two exponentially smoothed moving averages, providing insight into the trend strength of the market. The Parabolic SAR component helps identify potential price reversals, while the EMA200 acts as a key level of support and resistance, providing additional confirmation of the overall trend direction.
Whether you're a seasoned trader or just starting out, the MACD-Parabolic SAR-EMA200 Indicator is a must-have tool for anyone looking to improve their trading strategy and maximize profits in today's dynamic markets.
Buy conditions
The price should be above the EMA 200
Parabolic SAR should show an upward trend
MACD Delta should be positive
ُSell conditions
The price should be below the EMA 200
Parabolic SAR should show an downward trend
MACD Delta should be negative
Bollinger Bands Lab - by InFinitoVariation of the Moving Average Lab that includes Bollinger Bands functionality for any manually created Moving Average. It includes:
- Standard Deviations for any MA
- Fixed Symmetrical Deviations for any MA that remain at a constant % away from the MA
- The same Moving Average creation settings from the Moving Average Lab
"The Moving Average Lab allows to create any possible combination of up to 3 given MAs. It is meant to help you find the perfect MA that fits your style, strategy and market type.
This script allows to average, weight, double and triple multiple types and lengths of Moving Averages
Currently supported MA types are:
SMA
EMA
VWMA
WMA
SMMA (RMA)
HMA
LSMA
DEMA
TEMA
Features:
- Double or Triple any type of Moving Average using the same logic used for calculating DEMAs and TEMAs
- Average 2 or 3 different types and lengths of Moving Average
- Weight each MA manually
- Average up to 3 personalized MAs
- Average different Moving Averages with different length each "
The preview screenshot shows:
- The combination of:
- 200 LSMA - Weight: 1
- 200 HMA - Weight: 2
- 200 VWMA - Weight: 1 - Double
- The regular Bollinger Band setting, 2 standard deviations
- Two fixed symmetrical deviations at 15% and 20% away from the XMA
Normalized Volume Rate of ChangeThis indicator is designed to help traders gauge changes in volume dynamics and identify potential shifts in buying or selling pressure. By normalizing the volume rate of change and comparing it to moving averages of itself, it offers valuable insights into market trends and can assist in making informed trading decisions.
Calculation:
The indicator calculates the Volume Rate of Change (VROC) by measuring the percentage change in volume over a specified length. This calculation provides a relative measure of how quickly the volume is increasing or decreasing. It then normalizes the VROC to a range of -1 to +1 by scaling it based on the highest and lowest values observed within the specified length. This normalization allows for easy comparison of the current VROC value with historical levels, enabling traders to assess the intensity of volume fluctuations.
Interpretation:
The main plot of the indicator displays the normalized VROC values as columns. The color of each column provides valuable information about the relationship between the VROC and the moving averages. Lime-colored columns indicate that the VROC is above both moving averages, suggesting increased buying pressure and potential bullish sentiment. Conversely, fuchsia-colored columns indicate that the VROC is below both moving averages, suggesting increased selling pressure and potential bearish sentiment. Yellow-colored columns indicate that the VROC is between the two moving averages, reflecting a period of consolidation or indecision in the market.
To further enhance interpretation, the indicator includes two moving averages. The Aqua line represents the faster moving average (MA1), and the Orange line represents the slower moving average (MA2). These moving averages provide additional context by smoothing out the VROC values and highlighting the overall trend. Traders can observe the interaction between the moving averages and the VROC to identify potential crossovers and assess the strength of trend reversals or continuations.
Colors:
-- Lime : The lime color is used to represent high volume rate of change above both moving averages. This color indicates a potentially bullish market sentiment, suggesting that buyers are dominant.
-- Fuchsia : The fuchsia color is used to represent low volume rate of change below both moving averages. This color indicates a potentially bearish market sentiment, suggesting that sellers are dominant.
-- Yellow : The yellow color is used to represent the volume rate of change between the two moving averages. This color reflects a transitional phase where neither buyers nor sellers have a clear advantage, signaling a period of consolidation or indecision in the market.
To provide additional visual cues for potential trade signals, the indicator includes lime-colored arrows below the price chart when there is a crossover upwards (MA1 crossing above MA2). This lime arrow indicates a potential bullish signal, suggesting a favorable time to consider long positions. Similarly, fuchsia-colored arrows are displayed above the price chart when there is a crossover downwards (MA1 crossing below MA2), signaling a potential bearish signal and suggesting a favorable time to consider short positions.
Applications:
This indicator offers various applications in trading strategies, including:
-- Trend Identification : By observing the relationship between the normalized VROC and the moving averages, traders can identify potential shifts in market trends. Lime-colored columns above both moving averages indicate a strong bullish trend, suggesting an opportunity to capitalize on upward price movements. Conversely, fuchsia-colored columns below both moving averages indicate a strong bearish trend, suggesting an opportunity to profit from downward price movements. Yellow-colored columns between the moving averages indicate a period of consolidation or uncertainty, signaling a potential trend reversal or continuation.
-- Confirmation of Price Moves : The indicator's ability to reflect volume dynamics in relation to the moving averages can help traders validate price moves. When significant price movements are accompanied by lime-colored columns (indicating high volume rate of change above both moving averages), it adds confirmation to the bullish sentiment. Similarly, fuchsia-colored columns accompanying downward price movements validate the bearish sentiment. This confirmation can enhance traders' confidence in the reliability of price moves.
-- Trade Timing : The indicator's moving average crossovers and the presence of arrows provide timing signals for trade entries and exits. Lime arrows appearing below the price chart signal potential long entry opportunities, indicating a bullish market sentiment. Conversely, fuchsia arrows appearing above the price chart suggest potential short entry opportunities, indicating a bearish market sentiment. These signals can be used in conjunction with other technical analysis tools to improve trade timing and increase the probability of successful trades.
Parameter Adjustments:
Traders can adjust the length of the VROC and the moving averages according to their trading preferences and timeframes. Longer VROC lengths provide a broader view of volume dynamics over an extended period, making it suitable for assessing long-term trends. Shorter VROC lengths offer a more sensitive measure of recent volume changes, making it suitable for shorter-term analysis. Similarly, adjusting the lengths of the moving averages can help adapt the indicator to different market conditions and trading styles.
Limitations:
While the indicator provides valuable insights, it has some limitations that traders should be aware of:
-- False Signals : Like any technical indicator, false signals can occur. During periods of low liquidity or in choppy markets, the indicator may generate misleading signals. It is essential to consider other indicators, price action, and fundamental analysis to confirm the signals before taking any trading actions.
-- Lagging Nature : Moving averages inherently lag behind the price action and volume changes. As a result, there may be a delay in the generation of signals and capturing trend reversals. Traders should exercise patience and avoid solely relying on this indicator for immediate trade decisions. Combining it with other indicators and tools can provide a more comprehensive picture of market conditions.
In conclusion, this indicator offers valuable insights into volume dynamics and trend analysis. By comparing the normalized VROC with moving averages, traders can identify shifts in buying or selling pressure, validate price moves, and improve trade timing. However, it is important to consider its limitations and use it in conjunction with other technical analysis tools to form a well-rounded trading strategy. Additionally, thorough testing, experimentation, and customization of the indicator's parameters are recommended to align it with individual trading preferences and market conditions.
DJ Soori Trading StrategyThe strategy combines three indicators: Exponential Moving Average (EMA), Weighted Moving Average (WMA), and Average Directional Index (ADX).
The EMA and WMA are used to track the average price over different time periods.
The ADX measures the strength of a trend in the market.
The strategy generates buy signals when the EMA is higher than the WMA and the ADX is above a certain threshold. It suggests a potential uptrend.
It generates sell signals when the EMA is lower than the WMA and the ADX is above the threshold. It suggests a potential downtrend.
The strategy also considers whether the ADX is rising or falling to indicate the strength of the trend.
The EMA, WMA, and ADX values are plotted on the chart.
Buy and sell signals are shown as labels on the chart, indicating "Buy (Strong)" or "Buy (Weak)" for buy signals, and "Sell (Strong)" or "Sell (Weak)" for sell signals.
MA Slope : New Method1 . Introduction
Hello, traders.
This indicator is designed to measure the slope of a moving average line.
I imagine many of you who use Pine Script have struggled with this; measuring the slope of a moving average line can be quite challenging.
Firstly, this is because while the x-axis is fixed to the 'number of candles', the price scale on the y-axis can be adjusted freely.
Secondly, while the concept of differentiation could simplify the measurement process, the resulting value will differ from the conventional derivative we are familiar with since 'delta x' is fixed to '1'.
Consequently, I've put a lot of thought into how to configure the x-axis and y-axis in order to measure a slope that aligns with our perception of 'slope'.
After some reflection, I, like many others, realized that many people measure the slope based on the pivot of the moving average line.
This indicator is the product of that reflection.
2. Description
A. Setting
First, select the moving average line for which you want to check the slope. While SMA is commonly used, T3 is set as the default because it best visualizes the slope.
If you check 'Show MA Slope Average Pivot Range?' in the input window, it displays the average of the recent 30 slope pivot highs and pivot lows.
In other words, it shows 'On average, this level of slope was produced in the recent 30 waves.'
B. Usage
A cross from 0 in the slope indicates a 'reversal in the slope of the curve', which is the most crucial value when observing the slope.
Thus, fundamentally, it's important to look at the points where the slope becomes "0". Furthermore, when the slope starts to curve after rising, it signifies a change in acceleration, suggesting an imminent slope reversal.
(Note that acceleration was omitted from the indicator representation due to its tendency to overly complicate the data.)
While a shorter length of the moving average line may provide more useful slope data for actual trading, a less smooth moving average line may cross around 0 too often, making it less useful.
Therefore, it's crucial to adjust the 'Smoothing Length' in the input values to find a value that you believe is appropriate.
3. Conclusion
I always contemplate how to find a value in Pine Script that is similar to the perceived slope.
I made this script thinking that it might be a novel approach, but there are still many areas that need improvement.
If you have any innovative ideas about the slope, please feel free to provide feedback anytime.
Thank you.
--------
1. 서론
트레이더 여러분 안녕하세요. 이 지표는 이동평균선의 기울기를 측정하는 지표입니다.
아마 파인스크립트를 다루는 많은 분들이 같은 고민을 하셨을 것 같은데, 이동평균선의 기울기를 측정하는 것은 매우 어렵습니다.
그 이유로 첫번째는 x축은 '캔들 갯수'로 고정되어있는 반면, y축의 가격 스케일은 유동적으로 바꿀 수 있기 때문입니다.
두번째로는, 미분 개념을 이용하면 훨씬 수월하게 구할 수 있을테지만, 델타x가 '1'로 고정되어있기 때문에 우리가 알고있는 미분과 다른 값이 나옵니다.
따라서 x축과 y축을 어떻게 하면 실제 우리가 인식하는 '기울기'에 가깝도록 구성할 수 있을지에 대해 고민해보았습니다.
고민해본 결과 저 역시 그러하고, 많은 사람들이 이동평균선의 피벗을 기준으로 기울기를 측정한다는 사실을 알게되었습니다.
이 지표는 그 고민의 결과물입니다.
2. 내용 설명
A. 셋팅
먼저, 기울기를 확인하고싶은 이동평균선을 선택해주세요.
일반적으로 SMA를 많이 보시겠지만, T3가 기울기로 표현할 때 가장 아름다운 모습이 나오기 때문에 기본 설정을 T3로 설정했습니다.
Input창에 있는 'Show MA Slope Average Pivot Range?'를 체크하면, 최근 30개의 기울기 피벗 하이와 피벗 로우의 평균을 보여줍니다.
즉, '평균적으로, 최근 30개의 파동에서는 이 정도의 기울기가 만들어졌다'라는 것을 보여줍니다
B. 사용법
기울기가 0에서 크로스 된다는 것은, "곡선의 기울기가 반전"된다는 것이기에 기울기를 봄에 있어서 가장 중요한 값입니다. 따라서 가장 기본적으로는, 기울기가 "0"이 되는 곳을 보는 것이 중요하고
또 기울기가 올라갔다 꺾이기 시작할 때는, 가속도가 바뀌고 있다는 뜻이므로, 곧 기울기가 반전될 것을 의미합니다.
(다만 가속도를 지표로 표현하기엔, 너무나도 데이터가 지저분해져서 생략하였습니다)
이동평균선의 길이를 짧게 할수록 더 실제 트레이딩에 유용한 기울기 데이터를 얻을 수 있으나,
부드럽지 못한 이동평균선은 기울기가 0 근처에서 크로스 되는 모습이 지나치게 많이 나올 것이기에 유용하지 않을 수 있습니다.
따라서, input값에 있는 'Smoothing Length'를 조절해가면서 자신이 생각하기에 맞는 값을 고르는 것이 중요합니다.
3. 맺음말
파인스크립트에서 어떻게하면 실제 인식하는 기울기와 유사한 값을 찾을 수 있을까를 항상 고민합니다. 나름 새로운 접근방법이라 생각해서 이렇게 스크립트로 만들었으나, 여전히 아쉬운 부분이 많이 존재합니다.
기울기에 대한 좋은 아이디어가 있다면 언제든 피드백 해주세요.
감사합니다.
MonkeyblackmailThis script consists of several sections. test it and tell me your concerns. a lot of more works will be done
Volume Accumulation : The first part of the script checks for a new 5-minute interval and accumulates the volume of the current interval. It separates the volume into buying volume and selling volume based on whether the closing price is closer to the high or low of the bar.
Volume Normalization and Pressure Calculation : The script then normalizes the volume with a 20-period EMA, and calculates buying pressure, selling pressure, and total pressure. These calculations provide insight into the underlying demand (buying pressure) and supply (selling pressure) conditions in the market.
RSI Calculation and Overbought/Oversold Conditions : The script calculates the RSI (Relative Strength Index) and checks whether it is in an overbought (RSI > 70) or oversold (RSI < 30) state. The RSI is a momentum indicator, providing insights into the speed and change of price movements.
Volume Condition Check and Wondertrend Indicator : The script checks if the volume is high for the past five bars. If it is, it applies the Wondertrend Indicator, which uses a combination of the Parabolic SAR (Stop and Reverse) and Keltner Channel to identify potential trends in the market.
Swing High/Low and Fibonacci Retracement : The script identifies swing high and swing low points using a specified pivot length. Then, it draws Fibonacci retracement levels between these swing high and swing low points.
he monkeyblackmail script works well in the 5 minutes chart and combines several elements of technical analysis, including volume analysis, momentum indicators, trend-following indicators, volatility channels, and Fibonacci retracements. It aims to provide a comprehensive view of the market condition, highlighting key levels and potential trends in an easily understandable format. Don’t be too quick to start trading with it, first study how it work and you will blackmail the market.
Tillson T3 Moving Average - ScreenerScreener version of Tillson T3 Moving Average:
The T3 Moving Average generally produces entry signals similar to other moving averages and, thus, is mainly traded in the same manner. Here are several assumptions:
Suppose the price action is above the T3 Moving Average, and the indicator is upward. In that case, we have a bullish trend and should only enter long trades (advisable for novice/intermediate traders). If the price is below the T3 Moving Average and edging lower, we have a bearish trend and should limit entries to short.
About Screener Panel:
Users can explore 20 different and user-defined tickers, which can be changed from the SETTINGS (shares, crypto, commodities...) on this screener version.
The screener panel shows up right after the bars on the right side of the chart.
Tickers seen in green are the ones that are in an uptrend, according to T3.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers in front of each Ticker indicate how many bars passed after the last BUY or SELL signal of T3.
For example, according to the indicator, when BTCUSDT appears (3) in GREEN, Bitcoin switched to a BUY signal 3 bars ago.
-In this screener version of Tillson T3 Moving Average, users can define the number of demanded tickers (symbols) from 1 to 20 by checking the relevant boxes on the settings tab.
-All selected tickers can be screened in different timeframes.
-Also, different timeframes of the same Ticker can be screened.
IMPORTANT NOTICE:
Screener shows the results in 2 different logic:
-Screener shows the information about the color changes of the T3 Moving Average with default settings.
-Users can check the "Change Screener to show T3 & Price Flips" button to activate the screener giving information about price flips.
If this option is preferred, users are advised to enlarge the length to have better signals.
MTF Smoothable RSI Nexus [DarkWaveAlgo]🧾 Description:
A nexus is a connection, link, or neuronal junction where signals and information are transmitted between different elements.
The MTF Smoothable RSI Nexus indicator serves as a nexus between smoothable, MTF RSIs by facilitating the visualization and interaction of up to six multi-timeframe RSIs, each with its own customizable timeframe, period, coloring customization, and price source. By combining these various RSIs, it helps you create a comprehensive view of MTF momentum trends and dynamics.
It acts as a control center that brings together multiple MTF RSIs and allows you to visualize the interactions between them with exceptional ease-of-use and customizability, helping to provide you with valuable insights into potential trend reversals, momentum shifts, and trading opportunities.
💡 Originality and Usefulness:
While there are other multi-timeframe RSI indicators available, MTF Smoothable RSI Nexus' global smoothing settings offer a flexible take on the development of price momentum across various timeframes. Its semi-transparent overbought and oversold fill zones create a compounding opaqueness when RSIs from multiple timeframes coalesce - making visual assessment of momentum extremes incredibly easy. We also believe it stands above the rest with its sheer quantity and quality of settings, features, and usability.
✔️ Re-Published to Avoid Misleading Values
This script has been re-published to ensure that it does not use `request.security()` calls using lookahead_on to access future data when referencing RSIs from other timeframes. This decreases the likelihood that the indicator will provide deceiving values. This change has been made in accordance with the PineScript documentation: "Using barmerge.lookahead_on at timeframes higher than the chart's without offsetting the `expression` argument like in `close [ ]` will introduce future leak in scripts, as the function will then return the `close` price before it is actually known in the current context" and the Publishing Rule: "Do not use `request.security()` calls using lookahead to access future data". Historical and real-time values may differ when referencing timeframes other than the chart's.
💠 Features:
6 toggleable MTF Smoothable RSIs with customizable timeframes, periods, and price sources
Compounding overbought/oversold filled areas for easy MTF momentum analysis
Aesthetic and flexible coloring and color theme styling options
End-of chart labels and options for ease-of-use and legibility
⚙️ Settings:
Use a Color Theme: When this setting is enabled, all manual 'Bullish and Bearish Colors' are overridden. All plots will use the colors from your selected Color Theme - excepting those plots set to use the 'Single Color' coloring method.
Color Theme: When 'Use a Color Theme' is enabled, this setting allows you to select the color theme you wish to use.
Hide RSIs on Timeframes Lower Than the Chart: When this setting is enabled, any MTF RSI with a timeframe smaller than that of the chart the indicator is applied to will be hidden from view.
Overbought Level: Set the level value for the overbought line.
Oversold Level: Set the level value for the oversold line.
Overbought Color: When 'Use a Color Theme' is disabled, this will set the color for the Overbought Level line.
Oversold Color: When 'Use a Color Theme' is disabled, this will set the color for the Oversold Level line.
Fill Overbought/Oversold Areas: When enabled, the area between any MTF RSI and the Overbought/Oversold level will be filled with semi-transparent coloring if that RSI is above/below the respective level.
Smooth RSIs: When enabled, all MTF RSIs will be processed through an additional smoothing average calculation.
Smoothing Type: Set the calculation type for the smoothing process. Options include: Exponential, Simple, Weighted, Volume-Weighted, and Hull.
Enable: Show/hide a specific MTF RSI.
Timeframe: Set the timeframe for a specific MTF RSI.
Period: Set the lookback period for a specific MTF RSI.
Source Price: Set the source value used for a specific MTF RSI's calculation.
Coloring Method: Set the coloring method for this specific RSI. The coloring method defines how the RSI should be dynamically colored. Options include: 'Single Color' and 'Increasing/Decreasing'.
Bullish Color: When 'Use a Color Theme' is disabled, this will set the 'bullish color' for this specific MTF RSI.
Bearish Color: When 'Use a Color Theme' is disabled, this will set the 'bearish color' for this specific MTF RSI.
Single Color: When the 'Coloring Method' is set to Single Color for this specific RSI, this color option will set the RSI's color.
Enable Label: When enabled, a label will show at the end of the chart displaying the timeframe, period, smoothing type (if any), and current price value of this specific MTF RSI.
Size: Sets the font size of this specific MTF RSI's label.
Label Offset (in Bars): Sets the distance from the latest bar, in bars, at which this specific MTF RSI's label is displayed.
Show Label Line: When enabled, this specific MTF RSI's label will be accommodated by a dashed line connecting it to its plot.
📈 Chart:
The chart shown in this original publication displays the 15 minute chart on ETHUSDT. Displayed on the chart are 4 MTF RSIs: the 15m 14 WMA-Smoothed RSI, 1h 14 WMA-Smoothed RSI, 4h 14 WMA-Smoothed RSI, and the 1D 14 WMA-Smoothed RSI - offering an exemplary view of how you can easily use these MTF RSIs to your advantage in analyzing momentum relationship across multiple timeframes.
Bollinger Bands and SMA Channel Buy and Sell
This Indicator is a combination of a standard BB indicator incorporated with a SSL Channel by ErwinBeckers which is Simple Moving average with a length of set at 10 (Default) and calculates the high and low set for the default 10 to form a Channel.
The Settings for the Bollinger Band is the standard settings on a normal Bollinger Band - Length 20, source close and Standard dev 2
The setting for the SMA is length 10 and the high and low calculated or that length to form a channel.
The SMA Channel gives a green line for the Up channel and the Red line for the down Channel.
The basis of the indicator is that the Candle close above the Basis line of the BB and the SMA green line will give a buy indicator
and the same for Sell indicator the candle close below the basis BB and the SMA line Red will give a Sell indicator.
Please note that this indicator is a mix of 2 basic indicators found in Trading view, giving Buy and Sell indicators to make things easier to not look for this visually.
This code will be open source for anyone to use or back test or use it for whatever they want.
This code is for my own personal trading and cannot be relied upon. This indicator cannot be used and cannot guarantee anything, and caution should always be taken when trading. Use this with other indicators to give certanty.
Again use this for Paper Trading only.
I want to thank TradingView for its platform that facilitates development and learning.
Volatility Weighted Moving Average + Session Average linesHi Traders !
Just finished my Y2 university finals exams, and thought I would cook up a quick and hopefully useful script.
VWAP + Session Average Lines :
Volatility Weighted Average Price in the standard case is a trading indicator that measures the average trading price for the user defined period, usually a standard session (D timeframe), & is used by traders as a trend confirmation tool.
This VWAP script allows for altering of the session to higher dimensions (D, W, M) or those of lower dimension (H4, or even H1 timeframes), furthermore this script allows the lookback of data to be switched from the standard session to a user defined amount of bars (e.g. the VWAP of 200 bars as opposed to the VWAP of a standard session which contains 95 bars in M15 timeframe for 24/7 traded assets e.g. BTCUSD), lastly this script plots Session VWAP Average Lines (if true in settings) so tradaes can gauge the area of highest liquidity within a session, this can be interpreted as the fair price within a session. If Average lines are increasing and decreasing consistently like a monotonic function this singles traders interest is at higher / lower prices respectively (Bullish / Bearish bias respectively ?), However if Average lines are centered around the same zones without any major fluctuations this signals a ranging market.
VWAP calculation :
VWAP is derived from the ratio of the assets value to total volume of transactions where value is the product of typical price (Average of high, low and close bars / candles) and corresponding bar volume, value can be thought of as the dollar value traded per bar.
How is VWAP used by Institutions / Market movers :
For some context and general information, VWAP is typically used by Market movers (e.g. Hedge funds, Mutual funds ,..., ...) in their trade execution, as trading at the VWAP equals the area of highest market volume, trading in line with the volume of the market reduces transaction costs by minimizing market impact (extra liquidity lowers spreads and lag time between order fills), this overall improves market efficiency.
In my opinion the script is best used with its standard settings on the M15 timeframe, note as of now the script is not functional on certain timeframes, however this script is not intended to be used in these timeframes, i will try fix this code bug as soon as possible.
Regularized-Moving-Average Oscillator SuiteThe Regularized-MA Oscillator Suite is a versatile indicator that transforms any moving average into an oscillator. It comprises up to 13 different moving average types, including KAMA, T3, and ALMA. This indicator serves as a valuable tool for both trend following and mean reversion strategies, providing traders and investors with enhanced insights into market dynamics.
Methodology:
The Regularized MA Oscillator Suite calculates the moving average (MA) based on user-defined parameters such as length, moving average type, and custom smoothing factors. It then derives the mean and standard deviation of the MA using a normalized period. Finally, it computes the Z-Score by subtracting the mean from the MA and dividing it by the standard deviation.
KAMA (Kaufman's Adaptive Moving Average):
KAMA is a unique moving average type that dynamically adjusts its smoothing period based on market volatility. It adapts to changing market conditions, providing a smoother response during periods of low volatility and a quicker response during periods of high volatility. This allows traders to capture trends effectively while reducing noise.
T3 (Tillson's Exponential Moving Average):
T3 is an exponential moving average that incorporates additional smoothing techniques to reduce lag and provide a more responsive indicator. It aims to maintain a balance between responsiveness and smoothness, allowing traders to identify trend reversals with greater accuracy.
ALMA (Arnaud Legoux Moving Average):
ALMA is a moving average type that utilizes a combination of linear regression and exponential moving average techniques. It offers a unique way of calculating the moving average by providing a smoother and more accurate representation of price trends. ALMA reduces lag and noise, enabling traders to identify trend changes and potential entry or exit points more effectively.
Z-Score:
The Z-Score calculation in the Regularized-MA Oscillator Suite standardizes the values of the moving average. It measures the deviation of each data point from the mean in terms of standard deviations. By normalizing the moving average through the Z-Score, the indicator enables traders to assess the relative position of price in relation to its mean and volatility. This information can be valuable for identifying overbought and oversold conditions, as well as potential trend reversals.
Utility:
The Regularized-MA Oscillator Suite with its unique moving average types and Z-Score calculation offers traders and investors powerful analytical tools. It can be used for trend following strategies by analyzing the oscillator's position relative to the midline. Traders can also employ it as a mean reversion tool by identifying peak values above user-defined deviations. These features assist in identifying potential entry and exit points, enhancing trading decisions and market analysis.
Key Features:
Variety of 13 MA types.
Potential reversal point bubbles.
Bar coloring methods - Trend (Midline cross), Extremities, Reversions, Slope
Example Charts:
MTF MAs and Crosses Nexus [DarkWaveAlgo]🧾 Description:
A nexus is a connection, link, or neuronal junction where signals and information are transmitted between different elements.
The MTF MAs and Crosses Nexus indicator serves as a nexus between MTF Moving Averages by facilitating the visualization and interaction of up to eight multi-timeframe moving averages, each with its own customizable timeframe, period, cross-over and cross-under alerts and plot markers, moving average calculation type, and price source.
It acts as a utility/control center that brings together multiple MTF moving averages (MTF MAs) and allows you to visualize the interactions between them with exceptional ease-of-use and customizability, helping to provide you with valuable insights into potential trend reversals, momentum shifts, and trading opportunities.
💡 Originality and Usefulness:
While there are other multi-timeframe moving average indicators available, MTF MAs and Crosses Nexus' customizable alert and signal settings offer intra-indicator MTF moving average cross markers and alerts not seen in other MTF MA indicators, allowing you to visualize the cross-over and cross-under relationships between the indicator's MAs with an 'all-in-one' experience. We also believe it stands above the rest with its sheer quantity and quality of settings, features, and usability.
✔️ Re-Published to Avoid Misleading Values
This script has been re-published to ensure that it does not use `request.security()` calls using lookahead_on to access future data when referencing moving averages from other timeframes. This decreases the likelihood that the indicator will provide deceiving values. This change has been made in accordance with the PineScript documentation: "Using barmerge.lookahead_on at timeframes higher than the chart's without offsetting the `expression` argument like in `close ` will introduce future leak in scripts, as the function will then return the `close` price before it is actually known in the current context" and the Publishing Rule: "Do not use `request.security()` calls using lookahead to access future data".
💠 Features:
8 toggleable MTF Moving Averages with customizable timeframes, periods, moving average calculation types, and price sources
Customizable cross-over and cross-under alert and chart signal options for each MTF MA (toggleable cross alerts and signals for crosses between intra-indicator MAs and bar price values)
Aesthetic and flexible coloring and color theme styling options
End-of chart labels and options for ease-of-use and legibility
⚙️ Settings:
Use a Color Theme: When this setting is enabled, all manual 'Bullish and Bearish Colors' are overridden. All plots will use the colors from your selected Color Theme - excepting those plots set to use the 'Single Color' coloring method.
Color Theme: When 'Use a Color Theme' is enabled, this setting allows you to select the color theme you wish to use.
Hide MAs on Timeframes Lower Than the Chart: When this setting is enabled, any MTF MA with a timeframe smaller than that of the chart the indicator is applied to will be hidden from view.
Enable: Show/hide a specific MTF MA.
Timeframe: Set the timeframe for a specific MTF MA.
Period: Set the lookback period for a specific MTF MA.
Type: Set the calculation type for a specific MTF MA. Options include: Exponential, Simple, Weighted, Volume-Weighted, and Hull.
Source Price: Set the source value used for a specific MTF MA's calculation.
Enable Cross Over Signals & Alerts: When enabled, cross-over chart signals (markers) and alerts are enabled for when this specific MTF MA crosses above its respective 'Cross Over Cross Source'.
Enable Cross Under Signals & Alerts: When enabled, cross-under chart signals (markers) and alerts are enabled for when this specific MTF MA crosses below its respective 'Cross Under Cross Source'.
Cross Source: Set the target plot which this specific MTF MA must cross (for either a cross-over or cross-under event) to trigger a chart signal and alert.
Marker Position: Set the position where this specific MTF MA's cross chart signal should appear. Options include: Above Bar, Below Bar, and On MA Line.
Coloring Method: Set the coloring method for this specific MA. The coloring method defines how the MA should be dynamically colored. Options include: Single Color, Increasing/Decreasing, and Over/Under Price.
Bullish Color: When 'Use a Color Theme' is disabled, this will set the 'bullish color' for this specific MTF MA.
Bearish Color: When 'Use a Color Theme' is disabled, this will set the 'bearish color' for this specific MTF MA.
Single Color: When the 'Coloring Method' is set to Single Color for this specific MA, this color option will set the MA's color.
Enable Label: When enabled, a label will show at the end of the chart displaying the timeframe, period, MA type, and current price value of this specific MTF MA.
Size: Sets the font size of this specific MTF MA's label.
Label Offset (in Bars): Sets the distance from the latest bar, in bars, at which this specific MTF MA's label is displayed.
Show Label Line: When enabled, this specific MTF MA's label will be accommodated by a dashed line connecting it to its plot.
📈 Chart:
The chart shown in this original publication displays the 15 minute chart on BTCUSDT. Displayed on the chart are 4 MTF MAs: the 15m 20 WMA, 30m 100 EMA, 1h 11 EMA, and 1D 7 VWMA - offering an exemplary view of how you can use these MTF MAs and crosses to your advantage in gauging trend relationships across multiple timeframes.
AFRHi everyone! Sorry for not posting anything for so long again. I will be active in July, after passing my university exams. I bought some S&C magazine archives, so await my new post strategies and indicator in July, as things are gonna get real interesting! But for now let me hand you some new and interesting stuff — AFR indicator.
Actually, this is my third time republishing this indicator after a big timeout because of the battles with TV mods on reference politics (which I lost).
This is indicator was originaly made by some user from other trading website, which I can't mention because of TV reference politics.
Which principles are behind AFR?
First we define our own low and high (OL and OH respectively), which are equal to:
OL = open - ATR * ATR_Factor
OH = open + ATR * ATR_Factor,
where ATR — Average True Range,
ATR_Factor — "Factor" in the settings — multiplier for ATR.
On each tick we remember AFR's value from previous bar, if it is not 0.
When OL is greater then AFR, then AFR is equal to OL. It means that there is probably an uptrend, so we adjust AFR accordingly.
When OH is lower then AFR, then AFR is equal to OH. It means that there is probably a downtrend, so we adjust AFR accordingly.
How to use?
Green AFR — bullish trend.
Red AFR — bearish trend.
Green AFR's triangle up — buy signal — appears when AFR changes it's colour from red to green.
Red AFR's triangle down— sell signal — appears when AFR changes it's colour from green to red.
ALERTS INCLUDED!
My personal ecommendations
- You can AFR as a tool to find short-term and middle-term trends, as it does it's best to find such trends;
- If are a scalper, then you probably should try AFR on low factor settings, as AFR alone can find good scalping entries.
- As AFR is a trend indicator, please use it with other confirmation indicator to make better entries.
Hope you will find this script useful.
Take your profits!
- Tarasenko Fyodor
Ultimate Customizable EMA/SMAI know, not another EMA indicator, but I promise, I will make it worth your while!
About this indicator:
This is an EMA indicator, plain and simple. But its ultimate! And its ultimate in the sense that I have made it vastly customizable.
I made this indicator as a boring, single line indicator that would allow me to toggle to whichever EMA / SMA I wanted on whatever timeframe I wanted, because with the currently available EMAs and SMAs (and there are tons of them), I could never seem to get one with the precise settings I wanted.
Then I realized, if I struggled with this, chances are other people may be struggling with this. And also chances are not everyone is great with coding things quickly and it may be out of reach for those to code something specific to their individual needs and desires.
So this indicator is meant for those who, like me, may have very specific tastes for their EMA indicator and want to be able to tailor it right down to a T of what they want, but maybe don't have the skills to code things specifically the way they would like it.
So what can I do with it?
Well, you can do really whatever you want. I have made absolutely everything possible customizable, right down to the size of the plotted line (you can adjust the width of the line to make it more or less visible). But let me give you a list of the functions permitted for this indicator:
1. Toggle between an EMA or SMA: The indicator will default to show the EMA. However, you can toggle between an EMA or SMA, depending on your preference.
2. Add 2 EMA's or SMAs: The indicator permits up to 2 EMA's to be added. Both of which can be either EMA or SMA and operate independently (you can have one as EMA and the other as SMA, both as SMA or whatever combination thereof).
3. Specify your timeframes: Each EMA/SMA can have an individual timeframe. If you want to plot 2, 200 EMA's on your chart, 1 on the 5 minute chart and the other on the 1 Day chart, you can do it! The indicator will permit you to individually select which timeframe you want for both of the available EMAs/SMAs. They can both be on separate timeframes.
4. Specify your sources: In addition to both being able to be on separate timeframes, both can also be on separate sources. You can have the 200 EMA of the close price as well as the 200 EMA of the high or low price. The indicator will permit you to specify your preferred sources.
5. Plot Standard Deviation bands: You can plot the standard deviation bands of the primary EMA/SMA (this is only available on the primary EMA/SMA and not both). You can also specify the length of the standard deviation bands that can operate independently of the primary EMA/SMA. So if you have the 50 EMA but want the 200 standard deviation bands, you can do so and specify this in the data inputs.
6. Customize your alerts: The indicator provides 6 pre-programmed condition alerts that are applied to both the primary, secondary and both EMAs. This way, you can customize various alerts based on various conditions you want to look for.
7. Plot crossover / crossunder arrows: The indicator will allow you to request it to plot triangles to signal crossovers and crossunders. This can be toggled on and off based on your visual preference.
8. Provides demographic information: The EMA will provide basic demographic information about the stock's behaviour around the EMA/SMA. This is displayed in a table at the top right of the chart. It will tell you the number of touches a stock has with its various EMA/SMAs, how many closes it has had above or below the EMA/SMA (for example, a bullish ticker should have more closes above an EMA than below it and inverse for bearish), how many times the close price has crossed over or crossed under the two EMA/SMAs and how many time the EMA/SMAs have crossed over and crossed under each other. This all gives an idea of the relative strength and sentiment of a stock in a quantitative way. The length of the lookback period is customizable individually for each EMA/SMA. If you want to look back 100, 200, 500 or just 75 candles, you can specify. You can also toggle on and off each or both tables as you desire.
Final thoughts:
The indicator was meant to tailor to my general need to toggle between very specific EMAs and SMAs to gauge averages. I generally will look at various EMAs and SMAs to calculate various things and I never specifically rely on a single EMA and SMA. Its annoying having to switch between multiple indicators and I always ended up opening pinescript and coding in what exactly I wanted to look at. This was meant to stop me from having to constantly code something specifically each time I wanted very specific information and I felt like I should share it with the community, as if I find it helpful and useful, I hope others will, too!
Hopefully you find it helpful and useful and as always leave your suggestions below!
TrendingNowTrendingNow Indicator - An Experimental Study
Introduction:
The TrendingNow indicator is an experimental study designed to identify trending market conditions and potential trading opportunities. It combines various technical analysis tools and parameters to provide insights into trend direction, momentum, volume, and price reversals.
Methodology:
The TrendingNow indicator is calculated based on the following parameters and calculations:
Moving Average: A simple moving average (SMA) is calculated using the specified length parameter. It helps smooth out price fluctuations and identify the overall trend direction.
Upper and Lower Bands: The upper and lower bands are derived from the moving average by adding and subtracting a deviation calculated using the multiplier parameter. These bands provide dynamic levels for potential trend reversals.
Price Reversals: The indicator detects price reversals by identifying when the price crosses above or below the upper or lower bands. These reversals suggest potential entry or exit points in the market.
Trend Confirmation: The indicator uses a moving average of the closing prices over the confirmation length parameter to confirm the overall trend direction. It helps filter out false signals and validates the presence of a trend.
Momentum Oscillator: The indicator calculates the relative strength index (RSI) over the momentum length parameter. The RSI measures the speed and change of price movements, indicating potential overbought and oversold conditions.
Volume Trend Confirmation: The study compares the current volume with the average volume over the specified length. If the current volume is above the volume threshold, it suggests increasing volume activity and potential confirmation of the trend.
Volatility Filter: The indicator incorporates an average true range (ATR) calculation to assess market volatility. The volatility threshold is derived by multiplying the ATR by the volatility multiplier parameter. It helps filter out signals during periods of low volatility.
Experimental Study:
The TrendingNow indicator aims to experiment with the combination of these technical analysis tools to identify trending market conditions and potential trading opportunities. By monitoring the price reversals, trend confirmation, momentum, volume trends, and volatility, traders can potentially identify high-probability trade setups.
The study involves observing the indicator's signals and assessing their effectiveness in different market conditions. Traders can experiment with different parameter values, timeframes, and asset classes to optimize the indicator's performance.
Usage and Interpretation:
When using the TrendingNow indicator, traders can consider the following guidelines:
Trend Identification: A bullish trend is indicated when the price is above the upper band, the moving average is rising, and the trend confirmation is positive. A bearish trend is indicated when the price is below the lower band, the moving average is declining, and the trend confirmation is negative.
Price Reversals: Price crossing above the upper band may suggest a potential selling opportunity, while price crossing below the lower band may indicate a potential buying opportunity. These reversals should be confirmed by other indicators and market conditions.
Momentum and Volume Confirmation: Traders can pay attention to the RSI levels to assess overbought and oversold conditions. High volume activity in line with the trend can provide additional confirmation.
Volatility Consideration: Traders may choose to adjust the volatility multiplier parameter based on the current market conditions. Higher values may be more suitable during periods of higher volatility, while lower values may be preferred during low volatility.
Conclusion:
The TrendingNow indicator offers an experimental approach to identifying trending market conditions and potential trading opportunities. Traders can customize the indicator parameters and combine it with other analysis techniques to suit their trading strategies. It is important to conduct thorough testing and validation before incorporating the indicator into live trading.
Disclaimer:
The information provided in this document, including the TrendingNow indicator and the accompanying experimental study, is for educational and experimental purposes only. It should not be considered as financial advice or a recommendation to engage in any trading or investment activities. Trading and investing in financial markets carry inherent risks, and past performance is not indicative of future results.
Before making any trading decisions, it is essential to conduct your own research, evaluate your risk tolerance, and consider your financial situation. The TrendingNow indicator is based on historical price data and technical analysis tools. However, it is important to understand that market conditions can change rapidly, and the indicator may not accurately predict future market movements or generate profitable trades in all situations.
The experimental study aims to explore the effectiveness of the TrendingNow indicator under different market conditions. However, the results obtained from the study are specific to historical data and may not necessarily be indicative of real-time market performance. It is recommended to exercise caution and use the indicator in conjunction with other analysis techniques and risk management strategies.
The TrendingNow indicator's parameters, such as length, multiplier, confirmation length, momentum length, overbought level, oversold level, volume threshold, and volatility multiplier, are adjustable inputs. Traders should carefully consider and test different parameter settings to suit their trading style and market conditions. Furthermore, it is important to regularly review and update the indicator's parameters as market dynamics change.
Trading in financial markets involves the potential for financial loss, and individuals should only trade with funds they can afford to lose. It is strongly advised to seek the guidance of a qualified financial professional or advisor before making any investment decisions.
By using the TrendingNow indicator and conducting the experimental study, you acknowledge that you are solely responsible for any trading decisions you make, and you agree to hold harmless the authors, developers, and distributors of this indicator for any losses, damages, or liabilities incurred as a result of your trading activities.