ממוצעים נעים
SMA RSI Fractal Strategy V4 Edit 1Made from RSI, SMA, and fractals. With the bands and signals for buy and sell entry. The colors are of opposite.
RSI+SMA AL SATrsi ve sma'nın kesiştiği dönemlerde yükseliş ve düşüş dalgalarını bulmaya yarıyan indikator
En ideal kullanım 8e 8 değerleri
Engulfing and emaThis is a Pine Script script that helps you see the Engulfing Candlestick and Inside Bar (Boring Candle) candle patterns on the TradingView chart, as well as drawing two Exponential Moving Averages (EMA). Here's a simple explanation:
1. **Candle Pattern**:
- This script identifies the Engulfing Candlestick pattern, which indicates potential changes to the price. If this pattern is detected, the script will show a green (for buy) or red (for sell) arrow above or below that candle.
- The script also identifies the Inside Bar (Boring Candle), which indicates the period area in the market. This candle will be the color you choose (default is orange).
2. **Moving Average (EMA)**:
- This script also plots two Exponential Moving Averages (EMA) on the chart. EMA is a tool that helps you see price trends more clearly.
3. **Risk Management**:
- This script calculates the Stop Loss (SL) and Take Profit (TP) levels for each Engulfing pattern. This helps you manage your trading risks.
- Labels are displayed on the charts for SL and TP, so you know where to place them.
With the help of this script, you can easily identify important patterns in the market and manage your risks better. Make sure to choose a demo account before using it in real trading.
EMA & Camarilla StrategyChat GPT based , 20, 200 EMA Strategy
This script calculates EMAs (5, 20, and 200), Camarilla Pivot Points, and checks for your specified candlestick pattern conditions. It then generates buy and sell signals based on the EMA crossover and the candlestick pattern. Stop loss is calculated as the lowest low of the last 5 bars, and the target is set at the Camarilla pivot point (you can customize these values).
EMA x 3 MAsThis indicator can be used for moving average strategies based on a EMA trigger over MAs (SMAs) : MA1 , MA2 , MA3 .
Based on those crossings, the background color will change for the upcoming candle showing green for upper crossing change (the more MA are crossed, the darker is the background). Order and priority of background colors :
1/ EMA x MA1
2/ EMA x MA2 (if EMA x MA1 confirmed)
3/ EMA x MA3 (if EMA x MA1and EMA x MA2 confirmed)
EMA and MAs can also be tuned with your own values in the parameters, therefore allowing you to try different strategies and to use the EMA and MAs as support/resistance indication.
You can set up the background and lines colors in the Style in the parameters.
[blackcat] L1 Magic Moving AverageThis is a code snippet written in the Pine programming language for TradingView platform. It is an implementation of a custom technical indicator called "L1 Magic Moving Average".
Moving averages are widely used in technical analysis to identify trends and reversals in the price of an asset. The idea behind moving averages is to smooth out the price data by calculating the average price over a certain period of time. This helps to filter out the noise in the price data and provides a clearer picture of the underlying trend.
The Magic Moving Average (MMA) is a custom moving average that is calculated using a combination of three different types of moving averages: simple moving average (SMA), exponential moving average (EMA), and weighted moving average (WMA). The MMA is designed to be more responsive to changes in the price of an asset compared to traditional moving averages.
The code starts by defining the input parameters for the indicator. The length parameter determines the number of periods used for calculating the moving averages. The source parameter specifies the price data used to calculate the moving averages. Finally, the smoothness parameter adjusts the weighting of the WMA component of the MMA.
Once the input parameters are defined, the code calculates the MMA by adding the SMA, EMA, and WMA components. The SMA and EMA components are calculated using the standard functions provided by TradingView. The WMA component is calculated using a custom function that takes into account the smoothness parameter.
After the MMA is calculated, the code plots it on the chart as two lines, one for the current value and one for the previous value. The two lines are then filled with colors depending on the position of the current MMA relative to its previous value. If the current value is higher than the previous value, the plot is filled with yellow color, otherwise, it is filled with fuchsia color.
In addition to the plot, the code also includes logic for generating buy and sell signals based on the crossover of the MMA and its previous value. If the MMA crosses above its previous value, a buy signal is generated. Conversely, if the MMA crosses below its previous value, a sell signal is generated. When a signal is generated, an alert is triggered to notify the user.
Finally, the code also includes labels for the generated signals. When a buy signal is generated, a green "B" label is placed at the bottom of the candle. Similarly, when a sell signal is generated, a red "S" label is placed at the top of the candle. These labels help the user to quickly identify the signals on the chart.
Overall, this code provides a simple yet effective way of generating trading signals based on the Magic Moving Average. By using a combination of different types of moving averages, the indicator is able to capture different aspects of the price movement and generate signals that are more reliable. The flexibility of the input parameters also allows the user to adjust the indicator to their specific trading needs.
TTP Green/Red Consecutive CandlesThis indicator counts consecutive green/red candles offering some basic statistics and signals/alerts.
Features
- Counts consecutive green/red candles in an oscillator chart
- Moving average of the counting helps spotting when the consecutive candles are away from the mean. MA length and multiplier to adjust the signal sensitivity.
- Thresholds can be set to backtest and send alerts on any number of arbitrary consecutive candles of the same color.
- All time highs: the indicator keeps track of when the maximum has been reached
- Distribution data: the number of times each number of consecutive color candles has been reached is offered
Signals
- Threshold signal triggers when the number of candles of the same color is above the specified threshold.
- MA cross signal triggers when the number of candles of the same color is above the MA.
[blackcat] L1 Guppy Multiple Moving Average (GMMA)Guppy Multiple Moving Average (GMMA) is a widely used technical analysis tool that can help traders identify price trends, determine entry and exit points, and identify signals of price reversal. The inventor of GMMA is Daryl Guppy, an Australian trader and technical analyst who developed this technical analysis tool in the late 1980s and early 1990s. GMMA is based on multiple moving averages (MA), including short-term and long-term moving averages (EMA). The short-term MA group consists of 6 MAs, and the long-term MA group also consists of 6 MAs. These MAs are grouped by color to make them easy to identify.
The basic principle of GMMA is that when prices are in an uptrend, the short-term MA group will be above the long-term MA group, and when prices are in a downtrend, the short-term MA group will be below the long-term MA group. The cross of the short-term MA group and the long-term MA group can help traders determine the direction and strength of the price trend. When the short-term MA group crosses and rises, traders can choose to enter the market, and when the short-term MA group crosses and falls, they can choose to exit the market. In addition, GMMA can also help traders identify signals of price reversal. When prices are in an uptrend, if the short-term MA group starts to cross down, this may be a signal of price reversal. Conversely, when prices are in a downtrend, if the short-term MA group starts to cross up, it may be a signal of price reversal.
The advantages of GMMA are that it can help traders identify price trends and signals of price reversal, thereby determining entry and exit points. In addition, the way GMMA is plotted makes the difference between the short-term and long-term MA groups more obvious, making it easy to identify. However, GMMA also has some disadvantages. For example, it can only provide limited information and cannot predict future price trends. In addition, GMMA needs to be combined with other technical indicators and fundamental analysis for trading decisions.
Overall, Guppy Multiple Moving Average (GMMA) is a powerful technical analysis tool that can help traders identify price trends, determine entry and exit points, and identify signals of price reversal. If traders can use GMMA correctly and combine it with other technical indicators and fundamental analysis, they can achieve better trading results.
VARGAS"VARGAS" is an indicator that can be used in all timeframes on charts in the stock, crypto, and commodity markets. It allows trades to be opened according to the intersections of moving averages in different time periods.
It is an indicator using weighted moving averages. Using a weighted moving average has the following benefits for traders:
1) Precision and Smoothness: The WMA typically gives more weight to recent prices and therefore reacts faster to more recent data. This helps you catch price movements faster and recognize trend changes faster. On the other hand, the WMA is smoother than the simple moving average (SMA), which makes it less likely to generate false signals.
2) Trend Identification: The WMA is used to identify and analyze price trends. It is especially important for traders who want to track short-term movements. The WMA is used to assess the direction and strength of the trend.
3) Trading Signals: The WMA is used as part of various trading strategies. It is especially used in moving average crossover strategies. For example, a short-term WMA crossing the long-term WMA to the upside can be considered a buy signal, while a reversal can be interpreted as a sell signal.
4) Adaptability to Volatility: WMA can adapt to volatility by changing weighting factors. Investors can adopt a more flexible approach by assigning different weights based on market conditions and asset classes.
5) Data Correction: WMA can be helpful in reducing data noise. A single large price fluctuation can cause the SMA to be more affected, while the WMA reduces the impact of these fluctuations.
In our VARGAS coding, the intersection times of the 9-day and 15-day weighted moving averages allow us to decide the direction of the trend. The green and red cloud areas following the price candles make the strategy easy for the user to follow.
At the intersection between the 9-day weighted moving average and the 15-day weighted moving average, we can use buy and sell signals as follows:
If the 9-day weighted moving average crosses the 15-day weighted moving average upwards, buy,
Sell if the 9-day weighted moving average crosses the 15-day weighted moving average downwards.
Within the scope of this strategy, GOLDEN CROSS and DEATH CROSS intersections, which guide us for trend changes, are also included in the coding. Thus, it is aimed to add strength to our WMA 9 and WMA 15 intersection strategy as an idea.
VARGAS indicator gives better results for longer periods of 4 hours and above. As the time period increases, the probability of correct results will increase.
**
"VARGAS" hisse senedi, kripto, ve emtia piyasalarındaki grafiklerde her türlü zaman diliminde kullanılabilen bir indikatördür. Farklı zaman periyotlarındaki hareketli ortalamaların kesişimlerine göre işlem açılmasını sağlar.
Ağırlıklı hareketli ortalamalar kullanılarak hazırlanmış bir göstergedir. Ağırlıklı hareketli ortalama kullanmanın yatırımcılara aşağıdaki gibi faydaları bulunmaktadır:
1) Duyarlılık ve Pürüzsüzlük: WMA, tipik olarak son dönem fiyatlarına daha fazla ağırlık verir ve bu nedenle daha güncel verilere daha hızlı tepki verir. Bu, fiyat hareketlerini daha hızlı yakalamanıza ve daha hızlı trend değişikliklerini tanımanıza yardımcı olur. Diğer yandan, WMA, basit hareketli ortalamaya (SMA) göre daha pürüzsüzdür, bu da yanlış sinyal üretme olasılığını azaltır.
2) Trend Belirleme: WMA, fiyat trendlerini belirlemek ve analiz etmek için kullanılır. Özellikle kısa vadeli hareketleri izlemek isteyen yatırımcılar için önemlidir. WMA, trendin yönünü ve gücünü değerlendirmek için kullanılır.
3) Ticaret Sinyalleri: WMA, çeşitli ticaret stratejilerinin bir parçası olarak kullanılır. Özellikle hareketli ortalama crossover stratejilerinde kullanılır. Örneğin, kısa vadeli WMA'nın uzun vadeli WMA'yı yukarı yönlü kesmesi bir alım sinyali olarak kabul edilebilir, tersine dönmesi ise bir satış sinyali olarak yorumlanabilir.
4) Volatiliteye Uyarlanabilirlik: WMA, ağırlıklandırma faktörlerini değiştirerek volatiliteye uyum sağlayabilir. Yatırımcılar, piyasa koşullarına ve varlık sınıflarına göre farklı ağırlıklar atayarak daha esnek bir yaklaşım benimseyebilirler.
5) Veri Düzeltme: WMA, veri gürültüsünü azaltmada yardımcı olabilir. Tek bir büyük fiyat dalgalanması, SMA'nın daha fazla etkilenmesine neden olabilirken, WMA bu dalgalanmaların etkisini azaltır.
VARGAS isimli kodlamamızda ise 9 günlük ve 15 günlük ağırlıklı hareketli ortalamaların kesişme zamanları trendin yönüne karar vermemizi sağlar. Fiyat mumlarını takip eden yeşil ve kırmızı bulut alanları stratejinin kullanıcı tarafından kolaylıkla takip edilmesini sağlamaktadır.
9 Günlük Ağırlıklı hareketli ortalama, 15 Günlük Ağırlıklı hareketli ortalama arasındaki kesişimde al ve sat sinyallerini şu şekilde kullanabiliriz:
Eğer 9 günlük ağırlıklı hareketli ortalama 15 günlük ağırlıklı hareketli ortalamayı yukarı doğru kesiyorsa al,
Eğer 9 günlük ağırlıklı hareketli ortalama, 15 günlük ağırlıklı hareketli ortalamayı aşağı doğru keserse sat.
Bu strateji kapsamında trend değişimleri için bizlere yön veren GOLDEN CROSS ve DEATH CROSS kesişimleri de kodlamanın içerisinde dahil edilmiştir. Böylelikle WMA 9 ve WMA 15 kesişim stratejimize fikir olarak güç katması hedeflenmiştir.
VARGAS indikatörü 4 saat ve üzeri daha uzun periyotlarda daha iyi sonuçlar vermektedir. Zaman periyodu büyüdükçe doğru sonuç verme olasılığı artacaktır.
Gaussian RibbonThe Gaussian Ribbon utilizes two "Arnaud Legoux" moving averages with the same length to identify changes in trend direction. The plotted channel consists of two lines, one based on the default offset and sigma values, and the other with slightly adjusted customizable parameters.
ALMA is a type of moving average that is related to the Gaussian function through its mathematical formula and the concept of weighted averages.
The ALMA is designed to reduce lag in moving averages and provide more timely responses to price changes. It achieves this by applying a Gaussian distribution (bell-shaped curve) as a weighting function to the price data.
The Gaussian function is used to calculate the weights in the ALMA formula. These weights give more importance to recent price data while gradually reducing the influence of older data points. This results in a smoother and more responsive moving average.
In summary, the Gaussian Ribbon uses the offset and power of the second ALMA to create a lag that still calculates using the same length.
[blackcat] L1 Variable Index Dynamic Average (VIDYA)Variable Index Dynamic Average (VIDYA) is a technical indicator that adjusts its sensitivity to market volatility. VIDYA is an exponential moving average (EMA) that uses the standard deviation of price as a measure of volatility. When the market is volatile, the indicator places more weight on recent prices, and when the market is stable, it places more weight on older prices. This makes VIDYA more responsive to market conditions than a regular EMA.
This script is a powerful tool that traders can use to gain valuable insights into market trends and make informed trading decisions. The L1 Variable Index Dynamic Average (VIDYA) is a technical indicator that adjusts its sensitivity to market volatility, making it more responsive to market conditions than a regular EMA. By incorporating the standard deviation of price as a measure of volatility, VIDYA can provide a more accurate representation of the market's current state, which can be especially useful in volatile markets.
One of the key features of this script is that it allows the user to customize the period and alpha inputs used in the VIDYA calculation. This means that traders can tailor the indicator to their specific trading strategies and preferences. By adjusting the period and alpha inputs, traders can fine-tune the sensitivity of the indicator to match the volatility of the market they're trading in.
In addition to plotting the VIDYA line on the chart, this script generates alerts and labels for buy and sell signals based on the crossover and crossunder of the VIDYA line. These alerts and labels can be incredibly helpful in identifying potential trading opportunities and avoiding costly mistakes. By being alerted to buy and sell signals in real-time, traders can take advantage of market movements and make trades quickly and confidently.
Another advantage of this script is that it is written in TradingView's Pine programming language, which is specifically designed for technical analysis and trading. Pine is a user-friendly language that allows traders to create custom indicators and strategies without having to learn a complex programming language. This means that even traders with little to no programming experience can use this script to gain valuable insights into the market.
Overall, this script is an excellent tool for traders who are looking for a powerful and customizable technical indicator that can help them make informed trading decisions. With its ability to adjust to market volatility, generate alerts and labels, and be customized to match individual trading strategies, the L1 Variable Index Dynamic Average (VIDYA) is a valuable addition to any trader's toolkit.
Price Strength Index + RSI Buy/Sell ZonesThe Price Strength Index + RSI Buy/Sell Zones indicator is a technical analysis tool designed to evaluate the strength of a financial asset's price movement by comparing it with a series of Volume Weighted Moving Averages (VWMAs) of different lengths calculated from historical data.
Hypothesis :
The core hypothesis behind this indicator is that assessing the relationship between the current price and a range of VWMAs with varying lengths can provide valuable insights into the strength and direction of a price trend. Additionally, it incorporates Relative Strength Index (RSI) conditions to further refine potential buy and sell signals.
How It Works :
Multiple VWMA Calculation: The indicator calculates multiple VWMAs, each with a different length, using historical price data and volume. These VWMAs represent weighted moving averages over various periods, helping to capture different aspects of the price trend.
Comparison with Current Price : For each of these VWMAs, the indicator compares the current bar's price with the VWMA value. This comparison is crucial in understanding how the current price relates to historical averages, shedding light on the strength and direction of the prevailing trend.
SMA of Percentage Above VWMA : The indicator calculates the Simple Moving Average (SMA) of the percentage of prices above the various VWMAs over a specified period. This moving average smoothens out the percentage data, providing a clearer trend signal.
Buy and Sell Zones : User-defined upper and lower thresholds for the percentage of prices above the VWMAs are used to define buy and sell zones. When the percentage falls below the lower threshold, it signals a potential buy zone, suggesting a weakening trend. Conversely, when it exceeds the upper threshold, it signifies a potential sell zone, indicating a strengthening trend.
RSI Integration : The RSI is calculated for the selected price source with a specified length. When the SMA of the percentage above VWMAs falls within the buy zone and the RSI is below the lower RSI threshold, it indicates an oversold condition, potentially signaling a buy opportunity. Conversely, when the SMA falls within the sell zone and the RSI is above the upper RSI threshold, it suggests an overbought condition, possibly signaling a sell opportunity.
Color Coding : The indicator employs color-coding to visually represent the buy and sell zones, as well as extreme RSI conditions. Green color denotes the buy zone, red represents the sell zone, and orange lines indicate the median and potential reversal points.
In summary, the Price Strength Index + RSI Buy/Sell Zones indicator leverages multiple VWMAs of different lengths to assess the relationship between current prices and historical moving averages. This comprehensive analysis, coupled with RSI conditions, aids traders in identifying potential buy and sell zones, as well as extreme RSI points within those zones, enhancing the evaluation of price strength and potential trend reversals.
VWMA/SMA Delta Volatility (Statistical Anomaly Detector)The "VWMA/SMA Delta Volatility (Statistical Anomaly Detector)" indicator is a tool designed to detect and visualize volatility in a financial market's price data. The indicator calculates the difference (delta) between two moving averages (VWMA/SMA) and uses statistical analysis to identify anomalies or extreme price movements. Here's a breakdown of its components:
Hypothesis:
The hypothesis behind this indicator is that extreme price movements or anomalies in the market can be detected by analyzing the difference between two moving averages and comparing it to a statistically derived normal distribution. When the MA delta (the difference between two MAs: VWMA/SMA) exceeds a certain threshold based on standard deviation and the Z-score coefficient, it may indicate increased market volatility or potential trading opportunities.
Calculation of MA Delta:
The indicator calculates the MA delta by subtracting a simple moving average (SMA) from a volume-weighted moving average (VWMA) of a selected price source. This calculation represents the difference in the market's short-term and long-term trends.
Statistical Analysis:
To detect anomalies, the indicator performs statistical analysis on the MA delta. It calculates a moving average (MA) of the MA delta and its standard deviation over a specified sample size. This MA acts as a baseline, and the standard deviation is used to measure how much the MA delta deviates from the mean.
Delta Normalization:
The MA delta, lower filter, and upper filter are normalized using a function that scales them to a specific range, typically from -100 to 100. Normalization helps in comparing these values on a consistent scale and enhances their visual representation.
Visual Representation:
The indicator visualizes the results through histograms and channels:
The histogram bars represent the normalized MA delta. Red bars indicate negative and below-lower-filter values, green bars indicate positive and above-upper-filter values, and silver bars indicate values within the normal range.
It also displays a Z-score channel, which represents the upper and lower filters after normalization. This channel helps traders identify price levels that are statistically significant and potentially indicative of market volatility.
In summary, the "MA Delta Volatility (Statistical Anomaly Detector)" indicator aims to help traders identify abnormal price movements in the market by analyzing the difference between two moving averages and applying statistical measures. It can be a valuable tool for traders looking to spot potential opportunities during periods of increased volatility or to identify potential market anomalies.
Dynamic GANN Square Of 9 BandsDynamic GANN Square Of 9 Bands
Created on 3 Sept 2023
Adjust Increment Value:
Customize increment to match symbol and price characteristics for accuracy.
Green Line:
200 EMA. Identifies trend direction; moves with the prevailing trend.
Red Lines:
Mark prominent reversal levels closer to the red range; ideal for mean reversion strategies.
Crossing red levels may indicate trend continuation to the next red level.
Grey Lines:
Show immediate target reversal levels; watch for potential reversals.
Key Features:
Levels are different from Standard Deviation Lines.
Levels remain fixed and parallel, unaffected by volatility.
Despite its dynamism, it can serve as a leading indicator, revealing potential trend changes.
Primarily designed for trend-following strategies.
Additional Tips:
Use additional confirmations
Manage predefined risk and quantity
Additional Resources:
GANN Square Of 9 Pivots:
Fib TSIFib TSI = Fibonacci True Strength Index
The Fib TSI indicator uses Fibonacci numbers input for the True Strength Index moving averages. Then it is converted into a stochastic 0-100 scale.
The Fibonacci sequence is the series of numbers where each number is the sum of the two preceding numbers. 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610...
TSI uses moving averages of the underlying momentum of a financial instrument.
Stochastic is calculated by a formula of high and low over a length of time on a scale of 0-100.
How to use Fib TSI:
100 = overbought
0 = oversold
Rising = bullish
Falling = bearish
crossover 50 = bullish
crossunder 50 = bearish
The default input settings are:
2 = Stoch D smoothing
3 = TSI signal
TSI uses 2 moving averages compared with each other.
5 = TSI fastest
TSI uses 2 moving averages compared with each other.
Default value is 3/5.
color = white
8 = TSI fast
TSI uses 2 moving averages compared with each other.
Default value is 5/8.
color = blue
13 = TSI mid
TSI uses 2 moving averages compared with each other.
Default value is 8/13.
color = orange
21 = TSI slow
TSI uses 2 moving averages compared with each other.
Default value is 13/21.
color = purple
34 = TSI slowest
TSI uses 2 moving averages compared with each other.
Default value is 21/34.
color = yellow
55 = Stoch K length
All total / 5 = All TSI
color rising above 50 = bright green
color falling above 50 = mint green
color falling below 50 = bright red
color rising below 50 = pink
Up bullish reversal = green arrow up
bullish trend = green dots
Down bearish reversal = red arrow down
bearish trend = red dots
Horizontal lines:
100
75
50
25
0
2 different visual options example snapshot:
Zaree - FX Index Spread IndicatorDescription:
The "Zaree - FX Index Spread Indicator" (FISI) is a powerful technical analysis tool designed to provide insights into the spread between two selected currency indices. By calculating and visualizing the percentage difference between the values of a primary and a secondary currency index, traders can gain valuable information about potential market dynamics and trends.
Details of the Indicator:
The indicator calculates the spread percentage between a primary and a secondary currency index, allowing traders to understand the relative strength of the two indices.
Traders can choose from a list of currency indices to use as the primary and secondary indices for comparison.
The indicator offers multiple methods for setting thresholds to identify potential trading opportunities, including standard deviations, percentile ranks, historical highs and lows, and fixed thresholds.
Users can customize the length of the calculation period and choose whether to display the primary index, secondary index, and the spread percentage on the chart.
Shaded areas on the chart indicate regions where the spread percentage is above or below predefined thresholds, helping traders identify potential trading signals.
How to Use the Indicator:
Select the primary and secondary currency indices you want to compare from the provided dropdown menus. These indices will be used to calculate the spread percentage.
Choose the method for setting thresholds by selecting one of the options: "Standard Deviations," "Percentile Ranks," "Historical Highs and Lows," or "Fixed Thresholds."
Depending on the selected method, configure the relevant threshold parameters, such as historical threshold percentage, upper and lower fixed thresholds, upper and lower percentile thresholds, or the standard deviation multiplier.
Choose whether to visualize the primary index, secondary index, and spread percentage on the chart by enabling the respective options.
Observe the chart to identify potential trading signals based on the interactions between the spread percentage and the predefined thresholds.
Example of Usage:
Suppose you're interested in trading currency pairs involving the US Dollar (USD) and Euro (EUR), and you want to monitor the spread between the USD Index (USDINX) and the EUR Index (EURINX). Here's how you can use the FISI indicator:
Select "USDINX" as the primary index and "EURINX" as the secondary index.
Choose the method for setting thresholds based on your strategy. For instance, you can select "Standard Deviations" and adjust the standard deviation multiplier.
Enable the visualization of the primary index, secondary index, and spread percentage on the chart.
Observe the shaded areas on the chart. If the spread percentage crosses above the upper threshold, it may indicate a potential market overextension. Conversely, if the spread percentage crosses below the lower threshold, it could suggest an oversold market condition.
Look for instances where the spread percentage approaches or crosses the predefined thresholds. Consider these instances as potential entry or exit points for your trades.
Remember that the FISI indicator is a tool to assist you in your analysis. It's recommended to combine its insights with other technical and fundamental factors before making trading decisions. Adjust the indicator settings and thresholds based on your trading strategy and preferences.
As with any trading tool, practice and observation are key. Over time, you can refine your trading strategy by analyzing historical data and observing how the indicator performs in different market conditions.
Feel free to experiment with different settings and methods to find the configuration that aligns best with your trading style and goals.
Trade Tool VDWMA + OI RSI BasedThis indicator works only for symbols where open interest data is available.
The idea was to create a combination of Volume Delta, Open Interest, RSI, Moving Average and Support / Resistance as a unified tool.
I created a Weighted Moving Average based on the Volume Delta (VDWMA). The idea behind this was to reflect the moving average on the difference between buy and sell volume.
There are two VDWMA to determine a trend. Fast and Slow. The principle is the same as with conventional moving averages. For visualization, the candles are colored based on the following logic:
up trend = Fast VDWMA is above the Slow VDWMA and the price is above the Fast VWDWMA.
down Trend = Fast VDWMA is below the Slow VDWMA and the Short is below the Fast VDWMA
Further, support and resistance zones were defined based on the close and high prices as well as close and low prices.
A simple logic looks for divergences between RSI and price to generate first signals for possible price reversals.
Another RSI was created based on the open interest.
In combination with the conventional RSI, oversold and overbought zones were defined based on the following logic, which are marked by vertical zones on the chart.
Oversold zone = RSI is below 30 and OI RSI is above 70 or below 30 and OI opening is not greater than OI closing price
Overbought zone = RSI is above 70 and OI RSI is above 70 or below 30 and OI opening is not smaller than OI closing price
Based on this, buy and sell signals were defined.
First, the support or resistance zone must remain the same for two candles, which signals that the zone has not been breached. In addition, a divergence must occur in the RSI and the price must bounce.
newsell = resistance == resistance and high >= resistance and close < resistance and bearishDiv
newbull = support == support and low <= support and close > support and bullishDiv
The OI signaling was deliberately not included as well as the trend function. The tool should be suitable for scalping as well as for swinging. Thus, depending on the tradestyle itself to decide which points you want to trade.
Have fun with it
[sphx] FWMAI've developed a cool indicator. The indicator calculates a Fibonacci-weighted moving average (FWMA) based on a specific length. What sets it apart is that it assists me in identifying potential trend reversals. When the indicator's color changes - from red to light red or from green to light green - it's an indication that the trend might be shifting.
What makes the indicator even more interesting: While I'm keeping an eye on these color changes, I'm also observing the price behavior. I check whether the price is in a consolidation phase during the color transition. This not only helps me detect potential trend changes but also to see whether the market is in a phase of price consolidation. The combination of this information aids me in making well-informed trading decisions.
I find the indicator so useful that I've decided to make it available to the community. You can use the code and adapt it to your own trading strategies. I hope it's as helpful to you as it has been to me. Wishing all of you successful trades and the best outcomes! Let's understand the market together and trade successfully.
Adaptive MA-Bollinger HistogramVisualize two of your favorite moving averages in a fun new way.
This script calculates the distance (or difference) between the price and two moving averages of your choosing and then creates two histograms.
The two histograms are plotted inversely, so if the price is over both moving averages, one will be positive above the centerline while the other still positive will be below the centerline.
(In a future update you will have the option to have them both positive at the same time)
Next, what it does is apply Bollinger Bands (optional) to each of the histograms.
This creates a very interesting effect that can highlight areas of interest you may miss with other indicators.
You have plenty of options for coloring, the type of moving average, Bollinger Band length, and toggling features on and off.
Give it a few minutes of your time to study, and see what information you can learn from watching this indicator by comparing it with the chart.
Here is a full user guide:
Adaptive MA-Bollinger Histogram Indicator User Guide
Welcome to the user guide for the **Adaptive MA-Bollinger Histogram** indicator. This custom indicator is designed to help traders analyze trends and potential reversals in a financial instrument's price movements. The indicator combines two Moving Averages (MA) and Bollinger Bands to provide valuable insights into market conditions.
### Indicator Overview
The Adaptive MA-Bollinger Histogram indicator comprises the following components:
1. **Moving Averages (MA1 and MA2):** The indicator uses two moving averages, namely MA1 and MA2, to track different time periods. MA1 has a user-defined length (default: 50) and MA2 has a longer user-defined length (default: 100). These moving averages can be calculated using different methods such as Simple Moving Average (SMA), Exponential Moving Average (EMA), Weighted Moving Average (WMA), Volume Weighted Moving Average (VWMA), or Smoothed Moving Average (RMA).
2. **Histograms:** The indicator displays histograms based on the differences between the price source and the respective moving averages. Positive values of the histogram for MA1 are plotted in one color (default: green), while negative values are plotted in another color (default: red). Similarly, positive values of the histogram for MA2 are plotted in one color (default: blue), while negative values are plotted in another color (default: yellow). It's important to note that the histogram for MA1 is plotted positively, while the histogram for MA2 is plotted inversely.
3. **Bollinger Bands:** The indicator also features Bollinger Bands calculated based on the differences between the price source and the respective moving averages (dist1 and dist2). Bollinger Bands consist of three lines: the middle band, upper band, and lower band. These bands help visualize the potential volatility and overbought/oversold levels of the instrument's price.
### Understanding the Indicator
- **Histograms:** The histograms highlight the divergence between the price and the two moving averages. When the histogram for MA1 is positive, it indicates that the price is above the MA1. Conversely, when the histogram for MA1 is negative, it suggests that the price is below the MA1. Similarly, the histogram for MA2 is plotted inversely.
- **Bollinger Bands:** The Bollinger Bands consist of three lines. The middle band represents the moving average (MA1 or MA2), while the upper and lower bands are calculated based on the standard deviation of the differences between the price source and the moving average. The bands expand during periods of higher volatility and contract during periods of lower volatility.
### Possible Trading Ideas
1. **Trend Confirmation:** When the histograms for both MA1 and MA2 are consistently positive, it may indicate a strong bullish trend. Conversely, when both histograms are consistently negative, it may suggest a strong bearish trend.
2. **Divergence:** Divergence between price and the histograms could signal potential reversals. For example, if the price is making new highs while the histogram is declining, it might indicate a bearish divergence and a possible upcoming trend reversal.
3. **Bollinger Bands Squeeze:** A narrowing of the Bollinger Bands indicates lower volatility and often precedes a significant price movement. Traders might consider a potential breakout trade when the bands start to expand again.
4. **Overbought/Oversold Levels:** Prices touching or exceeding the upper Bollinger Band could suggest overbought conditions, while prices touching or falling below the lower Bollinger Band could indicate oversold conditions. Traders might look for reversals or corrections in such scenarios.
### Customization
- You can adjust the parameters such as MA lengths, Bollinger Bands length, width, and colors to suit your preferences and trading strategy.
### Conclusion
The **Adaptive MA-Bollinger Histogram** indicator provides a comprehensive view of price trends, divergences, and potential reversal points. Traders can use the information from this indicator to make informed decisions in their trading strategies. However, like any technical tool, it's recommended to combine this indicator with other forms of analysis and risk management techniques for optimal results.
@tk · fractal emas█ OVERVIEW
This script is an indicator that plots short, medium and long moving averages for multiple fractals. This script was based on sharks EMAs by rlvs indicator, that plots multiple rays for each fractals into the chart. The main feature of this indicator is the customizability. The calculation itself is simple as moving average.
█ MOTIVATION
The trader can customize all aspects of the plotted data. The text size, extended line length, the moving average type — exponential, simple, etc... — the length of fractal rays, line style, line width and visibility. To keep minimalist, this indicator simplifies the logic of line colors based on the purpose of each moving averages. To prevent overnoise the chart with multiple lines with multiple colors for each fractal timefraes, the trader needs to keep in mind that the all lines with the "short" moving average color for example, will represents the short moving averages lines for all fractals. This logic is applied for medium and long moving averages either.
█ CONCEPT
The trading concept to use this indicator is to make entries on uptrend or downtrend pullbacks when the asset price reaches the short, medium or long moving averages price levels. But this strategy don't works alone. It needs to be aligned together with others indicators like RSI, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of the labels to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
SHORT
Type
Select the Short Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Short Moving Average calculation.
Type: int
Default: 12
Source
Changes the base source for the Short Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 235, 59) (yellow)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
MEDIUM
Type
Select the Medium Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Medium Moving Average calculation.
Type: int
Default: 26
Source
Changes the base source for the Medium Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(0, 230, 118) (lime)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
LONG
Type
Select the Long Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Long Moving Average calculation.
Type: int
Default: 200
Source
Changes the base source for the Long Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 82, 82) (red)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
VISIBILITY
Show Fractal Rays · (Short)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Medium)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Long)
Shows short moving average fractal rays.
Type: bool
Default: true
█ FUNCTIONS
The script contains the following functions:
`fn_labelizeTimeFrame`
Labelize timeframe period in minutes and hours.
Parameters:
tf: (string) Timeframe period to be labelized.
Returns: (string) Labelized timeframe string.
`fn_builtInLineStyle`
Converts simple string to built-in line style variable value.
Parameters:
lineStyle: (string) The line style simple string.
Returns: (string) Built-in line style string value.
`fn_builtInLineWidth`
Converts simple pixel string to line width number value.
Parameters:
lineWidth: (string) The line width pixel simple string.
Returns: (string) Built-in line width number value.
`fn_requestFractal`
Requests fractal data based on `period` given an expression.
Parameters:
period: (string) The period timeframe of fractal.
expression: (series float) The expression to retrieve data from fractal.
Returns: (mixed) A result determined by `expression`.
`fn_plotRay`
Plots line after chart bars.
Parameters:
y: (float) Y axis line position.
label: (string) Label to be ploted after line.
color: (color) Line and label color.
length: (int) Line length.
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (int) Line width. (default: `1`)
Returns: void
`fn_plotEmaRay`
Plots moving average line for a specific period.
Parameters:
period: (simple string) Period of fractal to retrieve
expression: (series float) The expression to retrieve data from fractal.
color: (color) Line and label color.
length: (int) Line length. (default: `12`)
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (string) Line width. (default: `1px`)
Returns: void
`fn_plotExtendedEmaRay`
Draws extended line for current timeframe moving average.
Parameters:
coordY: (float) Extended line Y axis position.
textValue: (simple string) Extended line label text.
textColor: (color) Extended line text color.
length: (int) Extended length. (default: `5`)
Returns: void
MA Directional Table"MA Directional Table" primary objective is to analyze the direction of the trend based on two Moving Averages (MA) for various timeframes and customizing the inputs to match your preferred style.
Features:
Moving Average Type: You can select which type of Moving Average to use (SMA, EMA, VWMA).
Moving Average Lengths: You can set the lengths for the short-term and long-term moving averages.
Table Position: The indicator provides a table which can be placed at the top or bottom, and to the left or right of the chart. It shows the trend status for multiple timeframes (1 min, 5 min, 15 min, 1 hour, 4 hours, 1 day).
Table Orientation: The table can be oriented either horizontally or vertically.
Price Condition: Optionally, the table color can be set to yellow if the current price deviates from the Moving Average trend and crosses MA1.
Cloud Settings: You can opt to show a cloud between the two moving averages. The color of the cloud changes based on the direction of the trend (bullish or bearish).
Extra MA: Optionally, an extra Moving Average can be plotted on the chart.
Hybrid EMA AlgoLearner⭕️Innovative trading indicator that utilizes a k-NN-inspired algorithmic approach alongside traditional Exponential Moving Averages (EMAs) for more nuanced analysis. While the algorithm doesn't actually employ machine learning techniques, it mimics the logic of the k-Nearest Neighbors (k-NN) methodology. The script takes into account the closest 'k' distances between a short-term and long-term EMA to create a weighted short-term EMA. This combination of rule-based logic and EMA technicals offers traders a more sophisticated tool for market analysis.
⭕️Foundational EMAs: The script kicks off by generating a 50-period short-term EMA and a 200-period long-term EMA. These EMAs serve a dual purpose: they provide the basic trend-following capability familiar to most traders, akin to the classic EMA 50 and EMA 200, and set the stage for more intricate calculations to follow.
⭕️k-NN Integration: The indicator distinguishes itself by introducing k-NN (k-Nearest Neighbors) logic into the mix. This machine learning technique scans prior market data to find the closest 'neighbors' or distances between the two EMAs. The 'k' closest distances are then picked for further analysis, thus imbuing the indicator with an added layer of data-driven context.
⭕️Algorithmic Weighting: After the k closest distances are identified, they are utilized to compute a weighted EMA. Each of the k closest short-term EMA values is weighted by its associated distance. These weighted values are summed up and normalized by the sum of all chosen distances. The result is a weighted short-term EMA that packs more nuanced information than a simple EMA would.