Trend Gaussian Channels [DeltaAlgo]This Script Introduces The Use Of The Gaussian Channel Concepts
This indicator consists of three lines: a central line that represents the moving average, and an upper and lower band that represent the volatility of the price movements.
The Gaussian channels is a concept consists of an upper & lower bands along with the basis; the mid band. The use of the Gaussian bands are simple, as described below.👇
Use Case:
There are many ways the Gaussian channel indicator can be used!
1. Look for the price to touch or cross the upper/lower bands of the Gaussian Channel Indicator. This indicates that the price has reached an high level of volatility. a reversal or correction may be imminent.
2. Wait for confirmation of the potential reversal or correction. This can be in the form of a bearish or bullish candlestick pattern, or a signal from another technical indicator.
a. For this reason I have implemented some signals that indicate trend shifts & candle colors to clearly display the switching between a bullish sentiment or bearish.
3. Enter a trade in the direction of the reversal or correction. For example, if the price touches the upper band and a bearish candlestick pattern occurs or if you get a bearish signal, enter a short trade. If the price touches the lower band and indicates bullish candlestick pattern or bullish signal, enter a long trade.
Sometimes this band can act as a support & resistance, THIS is not always the case as it is not meant to be used as support & resistance.
Hareketli Ortalamalar
REMA CROSSOVER BY JUGNUThis indicator triggers alerts for long and short positions on DAILY TIME FRAME for SWING trades based on the conditions which described below. This script will generate alerts when the following conditions are met:
LONG POSITION:
RSI(14) above 50.
EMA(5) crosses above EMA(10).
Indicator Triangle Green below price bars
SHORT POSITION:
RSI(14) below 50.
EMA(5) crosses down EMA(10).
Indicator Triangle RED above price bars
This script plots green and red triangles below and above the price bars to indicate long and short alert conditions, respectively. It also triggers alerts when these conditions are met.
Heikin Ashi Smoothed Buy Sell with FiltersWhat is the Heikin Ashi Smoothed Buy-Sell Indicator?
This Pine Script code defines a complex indicator used to determine buy-sell signals on financial charts. The indicator operates based on the smoothed version of Heikin Ashi and is fortified with various filters.
1. Parameters and Settings:
At the start of the code, there are a series of input parameters for the user to customize the indicator. These parameters include:
Trend Filter: Checks whether it is above or below the long-term moving average.
Momentum Filter: Uses the RSI (Relative Strength Index) indicator to check if the market is overbought or oversold.
Volatility Filter: Evaluates the market's volatility level using the ATR (Average True Range) indicator.
Volume Filters: Uses various volume-related parameters to measure the strength of the trade signal.
Trade Settings: Specifies percentage values for target and stop-loss levels to be used in trading.
Moving Average Settings: Allows you to select which moving average to use and its duration.
2. Heikin Ashi Smoothed Calculations:
Heikin Ashi is a charting method used to more clearly represent price movements. The smoothed Heikin Ashi ensures smoother price movements.
3. Moving Average Calculations:
The indicator contains a function to calculate different types of moving averages. These moving averages are used to determine the market trend.
4. Filters:
This indicator includes a series of filters to enhance the quality of the signal. Filters help reduce false signals and produce more robust trading signals.
5. Buy-Sell Signals:
All these filters and calculations are brought together to determine potential buy and sell signals. Signals are triggered when all the specified conditions are met.
6. Chart Visualizations:
This indicator uses various plotting functions to visualize signals and trend information on the chart. This allows the user to easily see signals and the trend on the chart.
7. Trade Settings:
When buy and sell signals are triggered, this section checks if it has reached the specified targets and stop-loss levels.
8. Alerts:
This indicator also sends alerts to the user when specific conditions are met. This ensures that the user doesn't miss potential trading opportunities.
In conclusion, this Pine Script indicator produces buy-sell signals by analyzing market movements and applying various filters. Based on the smoothed version of Heikin Ashi, this indicator is useful for trend followers and is fortified with various filters, thus enhancing the quality of trading signals.
Heikin Ashi Yumuşatılmış Al-Sat Göstergesi Nedir?
Bu Pine Script kodu, finansal grafiklerde al-sat sinyallerini belirlemek için kullanılan karmaşık bir göstergeyi tanımlar. Gösterge, Heikin Ashi'nin yumuşatılmış sürümünü temel alarak çalışır ve çeşitli filtrelerle güçlendirilmiştir.
1. Parametreler ve Ayarlar:
Kodun başlangıcında, kullanıcının göstergeyi kişiselleştirmesi için bir dizi giriş parametresi bulunmaktadır. Bu parametreler şunları içerir:
Trend Filtresi: Uzun vadeli hareketli ortalamanın üstünde veya altında olup olmadığını kontrol eder.
Momentum Filtresi: RSI (Göreceli Güç Endeksi) göstergesini kullanarak piyasanın aşırı alım veya aşırı satım durumunu kontrol eder.
Oynaklık Filtresi: ATR (Ortalama Gerçek Aralık) göstergesi ile piyasanın oynaklık seviyesini değerlendirir.
Hacim Filtreleri: Ticaret sinyalinin gücünü ölçmek için hacimle ilgili çeşitli parametreleri kullanır.
Ticaret Ayarları: Ticarette kullanılacak hedef ve stop-loss seviyeleri için yüzdelik değerleri belirtir.
Hareketli Ortalama Ayarları: Hangi hareketli ortalamayı kullanacağınızı ve bu ortalamanın süresini seçmenizi sağlar.
2. Heikin Ashi Yumuşatılmış Hesaplamaları:
Heikin Ashi, fiyat hareketlerini daha net bir şekilde göstermek için kullanılan bir grafikleme yöntemidir. Yumuşatılmış Heikin Ashi, fiyat hareketlerinin daha pürüzsüz olmasını sağlar.
3. Hareketli Ortalama Hesaplamaları:
Gösterge, farklı türde hareketli ortalamaları hesaplamak için bir fonksiyon içerir. Bu hareketli ortalamalar, piyasa trendini belirlemek için kullanılır.
4. Filtreler:
Bu gösterge, sinyal kalitesini artırmak için bir dizi filtre içerir. Filtreler, yanlış sinyalleri azaltmaya yardımcı olur ve daha sağlam ticaret sinyalleri üretir.
5. Al-Sat Sinyalleri:
Tüm bu filtreler ve hesaplamalar, potansiyel al ve sat sinyallerini belirlemek için bir araya getirilir. Sinyaller, belirlenen koşulların tümü karşılandığında tetiklenir.
6. Grafik Görselleştirmeleri:
Bu gösterge, sinyalleri ve trend bilgisini grafik üzerinde görselleştirmek için çeşitli çizim fonksiyonları kullanır. Bu, kullanıcının grafik üzerinde kolayca sinyalleri ve trendi görmesini sağlar.
7. Ticaret Ayarları:
Alış ve satış sinyalleri tetiklendiğinde, bu bölüm belirlenen hedeflere ve stop-loss seviyelerine ulaşıp ulaşmadığını kontrol eder.
8. Uyarılar:
Bu gösterge ayrıca, belirli koşullar karşılandığında kullanıcıya uyarı gönderir. Bu, kullanıcının potansiyel ticaret fırsatlarını kaçırmamasını sağlar.
Sonuç olarak, bu Pine Script göstergesi, piyasa hareketlerini analiz ederek ve çeşitli filtreleri uygulayarak al-sat sinyalleri üretir. Heikin Ashi'nin yumuşatılmış sürümüne dayanan bu gösterge, trend takipçileri için kullanışlıdır ve çeşitli filtrelerle güçlendirilmiştir, böylece ticaret sinyallerinin kalitesi artar.
VAcc (Velocity & Acceleration)VAcc (Velocity & Acceleration) is a momentum indicator published by Scott Cong in Stocks & Commodities V. 41:09 (8–15). It applies concepts from physics, namely velocity and acceleration, to financial markets. VAcc functions similarly to the popular MACD (Moving Average Convergence Divergence) indicator when using a longer lookback period, but produces more responsive results. With shorter periods, VAcc exhibits characteristics reminiscent of the stochastic oscillator.
🟠 Algorithm
The average velocity over the past n periods is defined as
((C - C_n) / n + (C - C_{n-1}) / (n - 1) + … + (C - C_i) / i + (C - C_1) / 1) / n
At its core, the velocity is a weighted average of the rate of change over the past n periods.
The calculation of the acceleration follows a similar process, where it’s defined as
((V - V_n) / n + (V - V_{n - 1}) / (n - 1) + … + (V - V_i) / i + (V - V_1) / 1) / n
🟠 Comparison with MACD
A comparison of VAcc and MACD on the daily Nasdaq 100 (NDX) chart from August 2022 helps demonstrate VAcc's improved sensitivity. Both indicators utilized a lookback period of 26 days and smoothing of 9 periods.
The VAcc histogram clearly shows a divergence forming, with momentum weakening as prices reached new highs. In contrast, the corresponding MACD histogram significantly lagged in confirming the divergence, highlighting VAcc's ability to identify subtle shifts in trend momentum more immediately than the traditional MACD.
Forex Pip MakerIntroducing Forex Pip Maker: A trend detection/riding tool
Let me introduce you to "Forex Pip Maker," a tool that is used for any kind of market condition.
Seize Opportunities with Instant Alerts
In Forex, timing is crucial. Forex Pip Maker comes with an alert system that keeps you updated on potential trading chances with it's real-time alerts.
Navigate Tricky Sideways Markets with Ease
Ever been puzzled by those times when the market seems stuck, making it tough to decide your next move? That's where Forex Pip Maker excels. It's great at spotting and guiding you through these tricky sideways market situations. It does this by keeping an eye on changes in market volatility, ensuring you stay one step ahead.
Simplicity Meets Precision with Color Codes
Trading can be complex, but Forex Pip Maker simplifies it. It employs a color-coded system, making it easy to understand market signals. Green means one thing, red means another – it's that straightforward. You'll be able to make well-informed decisions effortlessly.
Make Confident Choices with the Buy/Sell Dashboard
When decision time arrives, rely on the Buy/Sell dashboard. It provides all the information you need to make smart choices. No more second-guessing – you'll have a crystal-clear view of your options.
See the Bigger Picture with Longer Timeframes
Forex Pip Maker doesn't just focus on short-term trends. It also examines data from longer timeframes, giving you a broader perspective for even wiser decision-making.
Whether you're a novice or a trading expert, Forex Pip Maker is a great addition to any trading setup.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
INPUTS
TimeFrame: This is the time frame which the Forex Pip Maker will calculate the time frame for. By default, it will be the current chart which you've selected, you can however change this to any time frame and display it on any time frame chart which you use. For example, if you want signals for the H1 time frame while you are on the M15 time frame, you can set this to H1 and you'll see the H1 scenerio. It is recommended to leave this the default because the next setting is more important.
TimeFrame: This is the time frame which the Forex Pip Maker will calculate the time frame for. By default, it will be the current chart which you've selected, you can however change this to any time frame and display it on any time frame chart which you use. For example, if you want signals for the H1 time frame while you are on the M15 time frame, you can set this to H1 and you'll see the H1 scenerio. It is recommended to leave this the default because the next setting is more important.
TimeFrameConfirmation: This is the time frame where it will help filter out most of the false moves on your current chart. With this, you will only receive signals in the direction of the trend on this time frame which should always be set to a higher time frame than the one you are trading on. The higher the time frame, the more accuracy you'll have but the fewer signals you will have(which is normal).
TimeFrame: This is the time frame which the Forex Pip Maker will calculate the time frame for. By default, it will be the current chart which you've selected, you can however change this to any time frame and display it on any time frame chart which you use. For example, if you want signals for the H1 time frame while you are on the M15 time frame, you can set this to H1 and you'll see the H1 scenerio. It is recommended to leave this the default because the next setting is more important.
Periud
Input Setting: When using this indicator, traders and users can set a value called "Periud." It's like telling the indicator how far back in time to look. This helps you decide how many past price points or time periods the indicator should pay attention to.
Calculation: Inside the script, this "Period" value is used to do some math. It helps figure out which historical data should be used to make the indicator's predictions.
Effect on Indicator: The "Period" you choose can change how the indicator acts. If you pick a short "Period," the indicator quickly responds to recent price changes. But if you choose a longer "Period," it smooths out its predictions by considering a broader history of prices.
Customization: Traders can tweak the "Period" to match their own trading style. Short "Periods" are great for looking at short-term trends, while longer "Periods" are better for spotting long-term trends. It's all about making the indicator work the way you want it to.
Speed
The 'Speed' setting is like a speed control knob. Traders and users can adjust it to make the indicator react to price changes either quickly or slowly. If you turn the 'Speed' up, the indicator becomes faster and responds to short-term price moves. But if you turn it down, the indicator moves more slowly and focuses on longer-term trends. This way, traders can make the indicator work the way they want it to, whether they prefer quick responses with higher 'Speed' or smoother, longer-term views with lower 'Speed'.
Price
The "Price" option is a handy setting. It lets users pick which part of the price data to focus on when using the indicator. You can choose from different options like "Close," "Open," "High," "Low," "HLC3," "HLC2," and "OLC4." Each choice represents a different aspect of the price movement. For instance, "OLC4" considers Open, Low, Close, and High prices together. This customization is great because it means traders can make the indicator work just the way they want it to. Whether you're into short-term or long-term trading, there's a "Price" option to fit your strategy.
Shift
When utilizing the indicator, traders can input a "Shift" value, which determines how many bars or candlesticks the indicator's data is shifted. A positive shift takes the analysis back in time, providing insights into past market conditions, while a negative shift shifts the focus forward, potentially offering glimpses of potential future market scenarios. This customization of the "Shift" setting provides traders with a valuable means to explore historical data and consider potential future developments in their analysis.
ShowHisto
The "ShowHisto" option is like a toolbox for tweaking how you see the indicator's histogram on the chart. It's all about personalizing your view. You've got choices like "Hide Histogram" for a cleaner chart, "More or Less" for judging how much prices are changing, and others like "One Close," "Double Close," "High/Low range," and "High/Low trend," each giving a different take on price movements. It's your way of fine-tuning the chart to match your analysis style. Whether you're into spotting trends, measuring volatility, or watching price ranges, "ShowHisto" helps you tailor the chart to your liking without any extra fuss.
ShowMA
The "ShowMA" parameter serves as a crucial tool for configuring the display of a specific type of moving average on the chart. It offers a range of options to tailor the appearance of the moving average, allowing users to select the most suitable representation for their analytical needs. The available choices include "Hide Moving Average" to remove it from view, "as Dots" to present it as discrete data points, and "as Line" to display it as a continuous, smoothed line. "ShowMA" grants users the flexibility to fine-tune the visual presentation of the moving average, enabling them to align it with their chart aesthetics and analytical requirements. Whether the preference is for a minimalist, unobtrusive look or a detailed and comprehensive view, "ShowMA" facilitates precise customization of the moving average's presentation on the chart.
FilterPips
"FilterPips" acts like a precision tool for examining price changes on the chart. It lets you specify a certain number of pips, which represent very small price movements. This number becomes a kind of filter. If you choose a positive value, the script will highlight price movements that are larger than this filter, helping you notice significant shifts. Conversely, if you choose a negative value, it will ignore price drops that are smaller than the filter. Essentially, "FilterPips" allows you to zoom in on the price movements that align with your analysis, providing a clearer focus on the chart.
MinimumPreviousTrendDistance
Traders have the power to decide how far the price needs to move before a new trade signal pops up. It's like setting your own trading rules. If you want a new trade signal, the current price must move a certain distance from the previous trend. You can tweak this distance to control how often you get trade signals. Bigger distances mean fewer signals. It's all about putting you in control and helping you make informed trading choices based on significant price moves.
WhichArrows
Although not a very important setting, you can set a preferred option, such as "More or Less" or "Double Close," and the script will display trade signals based on the chosen condition. This customization ensures that the chart reflects the trader's unique strategy and criteria, making it easier to focus on relevant trade opportunities.
ARROWBAR
ARROWBAR functions as a user-defined reference point, allowing traders to specify how many bars or periods in the past the script should begin searching for trade conditions. This level of customization means that trade signals can be precisely placed on the chart based on a trader's strategy.
ShowBoard
The Forex Pip Maker has a dashboard that displays directly on your chart which displays Buy or Sell when the appropriate time has come. It displays the brokers server time as well as the momentum(trend) of the current market. You can enable or disable this.
BoardColor
Allows you to change the background color of the board as well as the font displays inside.(Only the server and momentum info can be color changed)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IDEAL PAIRS : Since the Forex Pip Maker's strength is riding trends, the trend-bound pairs are the best to use for trading. There are a few pairs that have had decent trend rides in the recent times and they are mentioned below.(Note that you can use any pair in theory, but these are ideal)
OANDA:AUDUSD
OANDA:USDCAD
OANDA:EURJPY
OANDA:GBPJPY
OANDA:NZDUSD
COINBASE:BTCUSD
Hull WavesThe Hull Waves indicator is based on the Hull Moving Averages (HMA), which are special moving averages that stand out for their ability to filter out market noise and offer a clearer view of price trends. Compared to traditional moving averages, HMAs are more responsive yet smoother, allowing traders to capture significant price movements without getting overwhelmed by short-term fluctuations.
The HMAs integrated into Hull Waves provide two distinct perspectives on the price trend:
8-period HMA: This short-term HMA is extremely reactive and closely follows price changes. It is ideal for capturing short-term trading signals while the medium-term 21-period HMA offers a more balanced view of price trends and identifies medium-term trends.
By crossing HMAs, traders can efficiently identify trend reversal points or strong market continuations.
Another feature of the indicator is the “fan” of dynamic lines, which acts as a visual float for price candles, allowing traders to quickly evaluate trading opportunities.
The "fan" or float of dynamic lines represents a visual representation of the candle's price movements. These lines extend from the start point to the end point, like an open fan. This visual approach makes the market dynamics immediately evident.
Strategy:
Long Entry Signal (Buy):
When the Hull Waves range shows a series of upward sloping lines and the Hull Moving Averages (e.g. 8-period HMA) crosses the 21-period HMA upwards, it is a long entry signal.
Confirmation of the signal can come from an increase in trader volume or other supporting indicators.
Place a buy order at the next closing price.
Short Entry Signal (Sell):
When the Hull Waves range shows a series of downward sloping lines and the Hull Moving Averages (e.g. 8-period HMA) crosses the 21-period HMA downward, it is a short entry signal.
Confirm the signal with an increase in trader volume or other relevant indicators.
Place a sell order at the next closing price.
Exit Signal (Closing a Position):
To close a long position, wait for a signal reversal, such as the Hull Moving Averages crossing downwards or a change in the Hull Waves range.
To close a short position, wait for a signal reversal, such as the Hull Moving Averages crossing higher or a change in the Hull Waves range.
[AIO] Multi Collection Moving Averages 140 MA TypesAll In One Multi Collection Moving Averages.
Since signing up 2 years ago, I have been collecting various Сollections.
I decided to get it into a decent shape and make it one of the biggest collections on TV, and maybe the entire internet.
And now I'm sharing my collection with you.
140 Different Types of Moving Averages are waiting for you.
Specifically :
"
AARMA | Adaptive Autonomous Recursive Moving Average
ADMA | Adjusted Moving Average
ADXMA | Average Directional Moving Average
ADXVMA | Average Directional Volatility Moving Average
AHMA | Ahrens Moving Average
ALF | Ehler Adaptive Laguerre Filter
ALMA | Arnaud Legoux Moving Average
ALSMA | Adaptive Least Squares
ALXMA | Alexander Moving Average
AMA | Adaptive Moving Average
ARI | Unknown
ARSI | Adaptive RSI Moving Average
AUF | Auto Filter
AUTL | Auto-Line
BAMA | Bryant Adaptive Moving Average
BFMA | Blackman Filter Moving Average
CMA | Corrected Moving Average
CORMA | Correlation Moving Average
COVEMA | Coefficient of Variation Weighted Exponential Moving Average
COVNA | Coefficient of Variation Weighted Moving Average
CTI | Coral Trend Indicator
DEC | Ehlers Simple Decycler
DEMA | Double EMA Moving Average
DEVS | Ehlers - Deviation Scaled Moving Average
DONEMA | Donchian Extremum Moving Average
DONMA | Donchian Moving Average
DSEMA | Double Smoothed Exponential Moving Average
DSWF | Damped Sine Wave Weighted Filter
DWMA | Double Weighted Moving Average
E2PBF | Ehlers 2-Pole Butterworth Filter
E2SSF | Ehlers 2-Pole Super Smoother Filter
E3PBF | Ehlers 3-Pole Butterworth Filter
E3SSF | Ehlers 3-Pole Super Smoother Filter
EDMA | Exponentially Deviating Moving Average (MZ EDMA)
EDSMA | Ehlers Dynamic Smoothed Moving Average
EEO | Ehlers Modified Elliptic Filter Optimum
EFRAMA | Ehlers Modified Fractal Adaptive Moving Average
EHMA | Exponential Hull Moving Average
EIT | Ehlers Instantaneous Trendline
ELF | Ehler Laguerre filter
EMA | Exponential Moving Average
EMARSI | EMARSI
EPF | Edge Preserving Filter
EPMA | End Point Moving Average
EREA | Ehlers Reverse Exponential Moving Average
ESSF | Ehlers Super Smoother Filter 2-pole
ETMA | Exponential Triangular Moving Average
EVMA | Elastic Volume Weighted Moving Average
FAMA | Following Adaptive Moving Average
FEMA | Fast Exponential Moving Average
FIBWMA | Fibonacci Weighted Moving Average
FLSMA | Fisher Least Squares Moving Average
FRAMA | Ehlers - Fractal Adaptive Moving Average
FX | Fibonacci X Level
GAUS | Ehlers - Gaussian Filter
GHL | Gann High Low
GMA | Gaussian Moving Average
GMMA | Geometric Mean Moving Average
HCF | Hybrid Convolution Filter
HEMA | Holt Exponential Moving Average
HKAMA | Hilbert based Kaufman Adaptive Moving Average
HMA | Harmonic Moving Average
HSMA | Hirashima Sugita Moving Average
HULL | Hull Moving Average
HULLT | Hull Triple Moving Average
HWMA | Henderson Weighted Moving Average
IE2 | Early T3 by Tim Tilson
IIRF | Infinite Impulse Response Filter
ILRS | Integral of Linear Regression Slope
JMA | Jurik Moving Average
KA | Unknown
KAMA | Kaufman Adaptive Moving Average & Apirine Adaptive MA
KIJUN | KIJUN
KIJUN2 | Kijun v2
LAG | Ehlers - Laguerre Filter
LCLSMA | 1LC-LSMA (1 line code lsma with 3 functions)
LEMA | Leader Exponential Moving Average
LLMA | Low-Lag Moving Average
LMA | Leo Moving Average
LP | Unknown
LRL | Linear Regression Line
LSMA | Least Squares Moving Average / Linear Regression Curve
LTB | Unknown
LWMA | Linear Weighted Moving Average
MAMA | MAMA - MESA Adaptive Moving Average
MAVW | Mavilim Weighted Moving Average
MCGD | McGinley Dynamic Moving Average
MF | Modular Filter
MID | Median Moving Average / Percentile Nearest Rank
MNMA | McNicholl Moving Average
MTMA | Unknown
MVSMA | Minimum Variance SMA
NLMA | Non-lag Moving Average
NWMA | Dürschner 3rd Generation Moving Average (New WMA)
PKF | Parametric Kalman Filter
PWMA | Parabolic Weighted Moving Average
QEMA | Quadruple Exponential Moving Average
QMA | Quick Moving Average
REMA | Regularized Exponential Moving Average
REPMA | Repulsion Moving Average
RGEMA | Range Exponential Moving Average
RMA | Welles Wilders Smoothing Moving Average
RMF | Recursive Median Filter
RMTA | Recursive Moving Trend Average
RSMA | Relative Strength Moving Average - based on RSI
RSRMA | Right Sided Ricker MA
RWMA | Regressively Weighted Moving Average
SAMA | Slope Adaptive Moving Average
SFMA | Smoother Filter Moving Average
SMA | Simple Moving Average
SSB | Senkou Span B
SSF | Ehlers - Super Smoother Filter P2
SSMA | Super Smooth Moving Average
STMA | Unknown
SWMA | Self-Weighted Moving Average
SW_MA | Sine-Weighted Moving Average
TEMA | Triple Exponential Moving Average
THMA | Triple Exponential Hull Moving Average
TL | Unknown
TMA | Triangular Moving Average
TPBF | Three-pole Ehlers Butterworth
TRAMA | Trend Regularity Adaptive Moving Average
TSF | True Strength Force
TT3 | Tilson (3rd Degree) Moving Average
VAMA | Volatility Adjusted Moving Average
VAMAF | Volume Adjusted Moving Average Function
VAR | Vector Autoregression Moving Average
VBMA | Variable Moving Average
VHMA | Vertical Horizontal Moving Average
VIDYA | Variable Index Dynamic Average
VMA | Volume Moving Average
VSO | Unknown
VWMA | Volume Weighted Moving Average
WCD | Unknown
WMA | Weighted Moving Average
XEMA | Optimized Exponential Moving Average
ZEMA | Zero Lag Moving Average
ZLDEMA | Zero-Lag Double Exponential Moving Average
ZLEMA | Ehlers - Zero Lag Exponential Moving Average
ZLTEMA | Zero-Lag Triple Exponential Moving Average
ZSMA | Zero-Lag Simple Moving Average
"
Don't forget that you can use any Moving Average not only for the chart but also for any of your indicators without affecting the code as in my example.
But remember that some MAs are not designed to work with anything other than a chart.
All MA and Code lists are sorted strictly alphabetically by short name (A-Z).
Each MA has its own number (ID) by which you can display the Moving Average you need.
Next to the ID selection there are tooltips with short names and their numbers. Use them.
The panel below will help you to read the Name of the selected MA.
Because of the size of the collection I think this is the optimal and most convenient use. Correct me if this is not the case.
Unknown - Some MAs I collected so long ago that I lost the full real name and couldn't find the authors. If you recognize them, please let me know.
I have deliberately simplified all MAs to input just Source and Length.
Because the collection is so large, it would be quite inconvenient and difficult to customize all MA functions (multipliers, offset, etc.).
If you need or like any MA you will still have to take it from my collection for your code.
I tried to leave the basic MA settings inside function in first strings.
I have tried to list most of the authors, but since the bulk of the collection was created a long time ago and was not intended for public publication I could not find all of them.
Some of the features were created from scratch or may have been slightly modified, so please be careful.
If you would like to improve this collection, please write to me in PM.
Also Credits, Likes, Awards, Loves and Thanks to :
@alexgrover
@allanster
@andre_007
@auroagwei
@blackcat1402
@bsharpe
@cheatcountry
@CrackingCryptocurrency
@Duyck
@ErwinBeckers
@everget
@glaz
@gotbeatz26107
@HPotter
@io72signals
@JacobAmos
@JoshuaMcGowan
@KivancOzbilgic
@LazyBear
@loxx
@LuxAlgo
@MightyZinger
@nemozny
@NGBaltic
@peacefulLizard50262
@RicardoSantos
@StalexBot
@ThiagoSchmitz
@TradingView
— 𝐀𝐧𝐝 𝐎𝐭𝐡𝐞𝐫𝐬 !
So just a Big Thank You to everyone who has ever and anywhere shared their codes.
G Channel with Arrows
1. Channel Calculation:
- The indicator calculates an upper channel ( `UpperBuffer` ) and a lower channel ( `LowerBuffer `) based on the input parameters `ChannelPeriod` .
- The channels are determined by a dynamic calculation that considers the current price ( `src` ) and the previous values of the upper and lower channels (` aBuffer` and `bBuffer` ).
2. Middle Channel:
- The middle channel ( `MiddleBuffer` ) is the average of the upper and lower channels, providing a central reference line.
3. Exponential Moving Average (EMA):
- The script calculates an Exponential Moving Average (`EMAValue`) based on the closing prices with a specified period (`EMAPeriod`).
4. Channel Plots:
- Plots for the upper, lower, and middle channels are displayed on the chart, each with a distinctive color and style.
5. Fill Between Channels:
- The space between the upper and middle channels is filled with a blue color (`#1900ff`), and the space between the lower and middle channels is filled with a red color (`#f70a0a`).
6. EMA Line:
- The EMA line is plotted on the chart in green.
7. Buy and Sell Signals:
- Buy signals ( `buySignal` ) are generated when the EMA crosses above the middle channel.
- Sell signals ( `sellSignal` ) are generated when the EMA crosses below the middle channel.
- Arrows are plotted at the respective locations of buy and sell signals.
8. Breakout Arrows:
- Additional arrows are plotted when the closing price breaks out above the upper channel (green arrow) or below the lower channel (red arrow).
9. User Input Parameters:
- Traders can customize the input parameters such as `ChannelPeriod` and `EMAPeriod` to adjust the sensitivity of the channels and the EMA.
Overall, the indicator provides traders with a visual representation of price channels, an EMA trend reference, and signals for potential buy/sell opportunities and breakout points. It can be used as part of a trading strategy to identify trends, reversals, and potential entry/exit points in the market.
Moving averages & clouds
Hi all!
This is a script that lets you have 3 moving averages (of a user defined type) and maybe have an alternative cloud (fill) between them. The cloud can be customized and turned on/off in the "style" tab for the indicator.
Alerts can be configured to fire on up/down/all crosses and are activated when the whole candle has crossed the morning average.
A higher time frame can be configured for the moving averages.
You can hide the moving average, but show the cloud:
You can have multiple clouds:
You can have moving averages from a higher time frame (here from weekly time frame on a daily chart):
Best of trading luck!
Fiboborsa+BistTitle: "Fiboborsa+Bist Indicator for TradingView"
Description: The "Fiboborsa+Bist" indicator is a powerful tool designed for TradingView users. This indicator offers a comprehensive set of technical indicators to assist you in your technical analysis and trading decisions.
Features:
Simple Moving Averages (SMA): You can enable or disable SMA with different periods (20, 50, 100, 200) to observe different timeframes and trends.
SMA Strategy: Use SMA crossovers to determine trends. Watch for the 20-period SMA crossing above the 50-period SMA for a bullish signal. For a bearish signal, observe the 50-period SMA crossing below the 100-period SMA.
Exponential Moving Averages (EMA): Similar to SMA, you can enable or disable EMA with different periods (5, 8, 14, 21, 34, 55, 89, 144, 233) for more precise trend analysis.
EMA Strategy: Use EMA crossovers and crossunders for short-term trend changes. A buy signal may occur when the 5-period EMA crosses above the 14-period EMA, while a crossunder suggests a selling opportunity.
Weighted Moving Averages (WMA): Customize WMA settings with various periods (5, 13, 21, 34, 89, 144, 233, 377, 610, 987) to suit your trading style.
WMA Strategy: Use WMA crossovers to verify trends. When the 13-period WMA crosses above the 34-period WMA, it may indicate an uptrend.
Buy and Sell Signals: The indicator provides buy and sell signals based on EMA crossovers and crossunders. Strong signals are also highlighted.
EMA Buy and Sell Strategy: Make informed trading decisions using buy and sell signals generated by EMA crossovers and crossunders.
Ichimoku Cloud: You can enable the Ichimoku Cloud for a clear visual representation of support and resistance levels.
Ichimoku Strategy: Use the Ichimoku Cloud to determine trend direction. Entering long positions is common when the price is above the cloud and considering short positions when it's below the cloud. Verify the trend with the Chikou Span.
Bollinger Bands: Easily visualize price volatility by enabling the Bollinger Bands feature.
Bollinger Bands Strategy: Bollinger Bands help you visualize price volatility. Look for potential reversal points when the price touches or crosses the upper or lower bands.
Use the "Fiboborsa+Bist" indicator to enhance your trading strategies and make informed decisions in the dynamic world of financial markets.
Additional Information:
Bollinger Bands: Bollinger Bands are a technical analysis tool used to monitor price volatility and determine overbought or oversold conditions. This indicator consists of three components:
Middle Moving Average (SMA): Typically, a 20-day SMA is used.
Upper Band: Calculated by adding two times the standard deviation to the SMA.
Lower Band: Calculated by subtracting two times the standard deviation from the SMA.
As the price moves between these two bands, it becomes possible to identify potential buying or selling points by comparing its height or low with these bands.
Ichimoku Cloud: The Ichimoku Cloud is a comprehensive indicator used for trend identification, defining support and resistance levels, and measuring trend strength. The Ichimoku Cloud comprises five key components:
Tenkan Sen (Conversion Line): Used to identify short-term trends.
Kijun Sen (Base Line): Used to identify medium-term trends.
Senkou Span A (Leading Span A): Calculated as (Tenkan Sen + Kijun Sen) / 2 and shows future support and resistance levels.
Senkou Span B (Leading Span B): Calculated as (highest high + lowest low) / 2 and indicates future support and resistance levels.
Chikou Span (Lagging Line): Enables tracking the price backward.
The Ichimoku Cloud interprets a price above the cloud as an uptrend and below the cloud as a downtrend. The Chikou Span assists in verifying the current trend.
ADDITIONAL STRATEGY WITH RSI AND MACD INDICATORS
**Strategy: Two-Stage Trading Strategy Using RSI, MACD, and Fiboborsa+Bist Indicators**
**Stage 1: Determining the Trend and Selecting the Trading Direction**
1. **Trend Identification with Fiboborsa+Bist Indicator:**
- Analyze the simple moving averages (SMA), exponential moving averages (EMA), and weighted moving averages (WMA) used with the Fiboborsa+Bist indicator. These indicators will provide information about the direction of the market trend.
2. **Identifying Overbought and Oversold Conditions with RSI:**
- Use the RSI indicator to identify overbought (70 and above) and oversold (30 and below) conditions. This helps in measuring the strength of the trend. If RSI enters the overbought zone, a downward correction is likely. If RSI enters the oversold zone, an upward correction is probable.
3. **Evaluating Momentum with MACD:**
- Examine price momentum using the MACD indicator. When the MACD line crosses above the signal line, it may indicate an increasing upward momentum. Conversely, a downward cross can suggest an increasing downward momentum.
**Stage 2: Generating Buy and Sell Signals**
4. **Combining RSI, MACD, and Fiboborsa+Bist Indicators:**
- To generate a buy signal, wait for RSI to move out of the oversold region into an uptrend and for the MACD line to cross above the signal line.
- To generate a sell signal, wait for RSI to move out of the overbought region into a downtrend and for the MACD line to cross below the signal line.
5. **Confirmation with Fiboborsa+Bist Indicator:**
- When you receive a buy or sell signal, use the Fiboborsa+Bist indicator to confirm the market trend. Confirming the trend can strengthen your trade signals.
6. **Setting Stop-Loss and Take-Profit Levels:**
- Remember to manage risk when opening buy or sell positions. Set stop-loss and take-profit levels to limit your risk.
7. **Monitor and Adjust Your Trades:**
- Continuously monitor your trade positions and adjust your strategy as per market conditions.
This two-stage trading strategy offers the ability to determine trends and generate trade signals using different indicators. However, every trading strategy involves risks, so risk management and practical application are essential. Also, it's recommended to test this strategy in a demo account before using it in a real trading account.
TMA Bands with Break Arrow @ClearTradingMind
The "TMA Bands with Break Arrow" indicator, developed by ClearTradingMind, is designed to provide traders with insights into potential trend reversals based on the movement of price within a channel defined by the Triangular Moving Average (TMA) and its bands. The TMA is a smoothed moving average, and this indicator adds upper and lower bands to visualize potential breakouts.
Key Components:
1. TMA Bands: The indicator plots the upper and lower bands of the TMA channel. These bands represent potential overbought (upper band) and oversold (lower band) conditions.
2. Break Arrows: The indicator generates buy (green triangle up) and sell (red triangle down) arrows when the closing price breaks above the upper band or below the lower band, indicating a potential trend reversal.
3. Background Color: The background color dynamically changes based on the last generated signal. A blue background suggests a recent buy signal, while a red background indicates a recent sell signal. This provides a quick visual reference for the prevailing market sentiment.
Usage:
1. Trend Reversals: Traders can use the buy and sell arrows as signals for potential trend reversals. A buy signal suggests a possible upward trend, while a sell signal suggests a potential downward trend.
2. Channel Breakouts: Watch for price breaking above the upper band (buy signal) or below the lower band (sell signal). These breakouts may indicate the start of a new trend.
3. Volatility Analysis: The width of the TMA channel represents volatility. A widening channel suggests increased volatility, while a narrowing channel suggests decreasing volatility.
4. Background Color: The background color provides additional context. A blue background indicates recent bullish sentiment, while a red background suggests recent bearish sentiment.
Parameters:
- TMA Period: The number of bars used to calculate the Triangular Moving Average.
- ATR Period: The number of bars used to calculate the Average True Range (ATR) for determining the width of the TMA channel.
- ATR Multiplier: A multiplier applied to the ATR to determine the width of the TMA channel.
Note: This indicator is a tool to assist traders in their analysis, and it is recommended to use it in conjunction with other technical and fundamental analysis methods for more comprehensive decision-making.
Disclaimer: Trading involves risk, and this indicator does not guarantee profit. Users should conduct thorough analysis and risk management before making trading decisions.
Crossover EMMMCrossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings) and crossunders (downward crossings) between two moving averages. It uses two input parameters to define the fast and slow EMMM lengths. The script calculates the EMMM values, their changes, and assigns colors based on the change direction. The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction. The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
The "Madrid Moving Average" (EMMMM) is a type of moving average used in technical analysis to smooth price fluctuations of financial assets, such as stocks or currency pairs. Unlike the Simple Moving Average (SMA), which treats all data equally, the EMMM gives more weight to recent data. This results in the EMMM responding more swiftly to price changes, making it well-suited for identifying short-term trends.
TTP Pair Slope/HedgePair slope/hedge uses linear regression to calculate the hedge ratio (slope) between the two assets within a period.
It allows you to specify a "from" and a "to" candle.
Example:
"A regression from 1000 candles back in time and ignore the last 100 candles. This would result in making a regression of 900 candles in total."
The formula used to perform the regression with the assts X and Y is:
Hedge =
mean( (X-mean(X))^2 )
——————————————————
mean( (X-mean(X)) * (Y-mean(Y)) )
You can later use the hedge in a chart of X - Hedge * Y
(Confirm with 1 / hedge )
If the plot is stationary the period tested should look like stationary.
If you cross an imaginary horizontal line across all the values in the period used it should look like a flat channel with values crossing above and below the line.
The purpose of this indicator is to help finding the linear regression test used for conintegration analysis. Conintegration assets is one of the requirements to consider assets for pair and hedge trading.
Highlight BarHighlight bars in the past. I use this to show the start of moving average calculations - very helpful to anticipate the change in slope of moving averages. You can change color as well as how far back in time to highlight. The defaults are 20, 50 and 200.
I learned of the idea from Brian Shannon - thanks!
Magical SMAThis script is an intuitive trading alert system designed to identify potential entry points for both long and short positions. By utilizing a combination of Simple Moving Averages (SMA) and Ichimoku Cloud components, this script provides a robust framework for trend-following strategies.
Key Features:
SMA Crossover Detection: Monitors crossovers and crossunders between a 25-period and a 50-period SMA to signify potential bullish or bearish momentum.
Ichimoku Cloud Confirmation: Enhances the accuracy of entry signals by considering the position of the closing price relative to the Ichimoku Cloud's Lead Lines (A and B).
Long & Short Alert Conditions: Generates alert notifications for potential long and short entry signals based on the defined conditions.
Visualization: Plots the SMAs and Ichimoku Cloud components on the chart for better analysis and understanding of the prevailing market conditions.
Usage:
Long Entry Alert: Triggered when there's a crossover of the 25-period SMA above the 50-period SMA, and the closing price is above either of the Ichimoku Cloud's Lead Lines.
Short Entry Alert: Triggered when there's a crossunder of the 25-period SMA below the 50-period SMA, and the closing price is below either of the Ichimoku Cloud's Lead Lines.
This script is ideal for traders looking to capitalize on trend-following strategies with an additional layer of confirmation from the Ichimoku Cloud components. Whether you are trading equities, forex, or commodities, the "Chakibz" script is a valuable tool for identifying potential entry points and managing your trades.
9-20 sma multi timeframe indicatorThis is an indicator to help visualizing the 9 and the 20 sma on 3 different timeframes.
When they cross, you will see a cross on the band representing the timeframe.
When a trade is favorable the band will color in green for up trend and in red for downtrend:
- Conditions in uptrend: Start after the first green candle closed above the 9 sma, Stop after the first red candle closed under the 9 sma
- Conditions in downtrend: Start after the first red candle closed below the 9 sma, Stop after the first green candle closed above the 9 sma
Machine Learning: Trend Lines [YinYangAlgorithms]Trend lines have always been a key indicator that may help predict many different types of price movements. They have been well known to create different types of formations such as: Pennants, Channels, Flags and Wedges. The type of formation they create is based on how the formation was created and the angle it was created. For instance, if there was a strong price increase and then there is a Wedge where both end points meet, this is considered a Bull Pennant. The formations Trend Lines create may be powerful tools that can help predict current Support and Resistance and also Future Momentum changes. However, not all Trend Lines will create formations, and alone they may stand as strong Support and Resistance locations on the Vertical.
The purpose of this Indicator is to apply Machine Learning logic to a Traditional Trend Line Calculation, and therefore allowing a new approach to a modern indicator of high usage. The results of such are quite interesting and goes to show the impacts a simple KNN Machine Learning model can have on Traditional Indicators.
Tutorial:
There are a few different settings within this Indicator. Many will greatly impact the results and if any are changed, lots will need ‘Fine Tuning’. So let's discuss the main toggles that have great effects and what they do before discussing the lengths. Currently in this example above we have the Indicator at its Default Settings. In this example, you can see how the Trend Lines act as key Support and Resistance locations. Due note, Support and Resistance are a relative term, as is their color. What starts off as Support or Resistance may change when the price crosses over / under them.
In the example above we have zoomed in and circled locations that exhibited markers of Support and Resistance along the Trend Lines. These Trend Lines are all created using the Default Settings. As you can see from the example above; just because it is a Green Upwards Trend Line, doesn’t mean it’s a Support Line. Support and Resistance is always shifting on Trend Lines based on the prices location relative to them.
We won’t go through all the Formations Trend Lines make, but the example above, we can see the Trend Lines formed a Downward Channel. Channels are when there are two parallel downwards Trend Lines that are at a relatively similar angle. This means that they won’t ever meet. What may happen when the price is within these channels, is it may bounce between the upper and lower bounds. These Channels may drive the price upwards or downwards, depending on if it is in an Upwards or Downwards Channel.
If you refer to the example above, you’ll notice that the Trend Lines are formed like traditional Trend Lines. They don’t stem from current Highs and Lows but rather Machine Learning Highs and Lows. More often than not, the Machine Learning approach to Trend Lines cause their start point and angle to be quite different than a Traditional Trend Line. Due to this, it may help predict Support and Resistance locations at are more uncommon and therefore can be quite useful.
In the example above we have turned off the toggle in Settings ‘Use Exponential Data Average’. This Settings uses a custom Exponential Data Average of the KNN rather than simply averaging the KNN. By Default it is enabled, but as you can see when it is disabled it may create some pretty strong lasting Trend Lines. This is why we advise you ZOOM OUT AS FAR AS YOU CAN. Trend Lines are only displayed when you’ve zoomed out far enough that their Start Point is visible.
As you can see in this example above, there were 3 major Upward Trend Lines created in 2020 that have had a major impact on Support and Resistance Locations within the last year. Lets zoom in and get a closer look.
We have zoomed in for this example above, and circled some of the major Support and Resistance locations that these Upward Trend Lines may have had a major impact on.
Please note, these Machine Learning Trend Lines aren’t a ‘One Size Fits All’ kind of thing. They are completely customizable within the Settings, so that you can get a tailored experience based on what Pair and Time Frame you are trading on.
When any values are changed within the Settings, you’ll likely need to ‘Fine Tune’ the rest of the settings until your desired result is met. By default the modifiable lengths within the Settings are:
Machine Learning Length: 50
KNN Length:5
Fast ML Data Length: 5
Slow ML Data Length: 30
For example, let's toggle ‘Use Exponential Data Averages’ back on and change ‘Fast ML Data Length’ from 5 to 20 and ‘Slow ML Data Length’ from 30 to 50.
As you can in the example above, all of the lines have changed. Although there are still some strong Support Locations created by the Upwards Trend Lines.
We will conclude our Tutorial here. Hopefully you’ve learned how to use Machine Learning Trend Lines and will be able to now see some more unorthodox Support and Resistance locations on the Vertical.
Settings:
Use Machine Learning Sources: If disabled Traditional Trend line sources (High and Low) will be used rather than Rational Quadratics.
Use KNN Distance Sorting: You can disable this if you wish to not have the Machine Learning Data sorted using KNN. If disabled trend line logic will be Traditional.
Use Exponential Data Average: This Settings uses a custom Exponential Data Average of the KNN rather than simply averaging the KNN.
Machine Learning Length: How strong is our Machine Learning Memory? Please note, when this value is too high the data is almost 'too' much and can lead to poor results.
K-Nearest Neighbour (KNN) Length: How many K-Nearest Neighbours are allowed with our Distance Clustering? Please note, too high or too low may lead to poor results.
Fast ML Data Length: Fast and Slow speed needs to be adjusted properly to see results. 3/5/7 all seem to work well for Fast.
Slow ML Data Length: Fast and Slow speed needs to be adjusted properly to see results. 20 - 50 all seem to work well for Slow.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
LBR-Volatility Breakout BarsThe originator of this script is Linda Raschke of LBR Group.
This Pine Script code is the version 5 of LBR Paintbars for TradingView, called "LBR-Bars." It was originally coded for TradingView in version 3 by LazyBear. It is a complex indicator that combines various features such as coloring bars based on different conditions, displaying Keltner channels, and showing volatility lines.
Let me break down the key components and explain how it works:
1. Inputs Section: This section defines various input parameters that users can adjust when adding the indicator to their charts. These parameters allow users to customize the behavior and appearance of the indicator. Here are some of the key input parameters:
- Users can control whether to color bars under different conditions. For example,
they can choose to color LBR bars, color bars above/below Kelts, or color non-LBR
bars.
- Users can choose whether to show volatility lines or shade Keltner channels' area
with the Mid being the moving average on the chart.
- In the calculation of Keltner channels, users can set the length of the moving
average that the Keltner channels use as the mid and then set the Keltner multiplier.
If users want to use "True Range" to determine calculations, they can turn it on or
off; it defaults to off.
- Users can change the calculation of volatility lines and set the length for finding the
lowest and highest prices. The user sets the ATR length and multiplier for the ATR.
2. Calculation Section: This section defines the calculation of the upper and lower standard deviation bands based on the input parameters. It uses Exponential Moving Averages (EMAs) and optionally True Range to calculate these bands if turned on. These bands are used in the Keltner channel calculation.
3. Keltner Channel Section: This section calculates the upper, middle, and lower lines of the Keltner channels. It also plots these lines on the chart. The colors and visibility of these lines are controlled by user inputs.
4. Volatility Lines Section: This section calculates the upper and lower volatility lines based on the lowest and highest prices over a specified period and the ATR. It also checks whether the current close price is above or below these lines accordingly. The colors and visibility of these lines are controlled by user inputs.
5. Bar Colors Section: This section determines the color of the bars on the chart based on various conditions. It checks whether the current bar meets conditions like being an LBR bar, being above or below volatility lines, or being in "No Man's Land." The color of the bars is set accordingly based on user inputs.
This Pine Script creates an indicator that provides visual cues on the chart based on Keltner channels, volatility lines, and other customizable conditions. Users can adjust the input parameters to tailor the indicator's behavior and appearance to their trading preferences.
Interactive MA Stop Loss [TANHEF]This indicator is "Interactive." Once added to the chart, you need to click the start point for the moving average stoploss. Dragging it afterward will modify its position.
Why choose this indicator over a traditional Moving Average?
To accurately determine that a wick has crossed a moving average, you must examine the moving average's range on that bar (blue area on this indicator) and ensure the wick fully traverses this area.
When the price moves away from a moving average, the average also shifts towards the price. This can make it look like the wick crossed the average, even if it didn't.
How is the moving average area calculated?
For each bar, the moving average calculation is standard, but when the current bar is involved, its high or low is used instead of the close. For precise results, simply setting the source in a typical moving average calculation to 'Low' or 'High' is not sufficient in calculating the moving average area on a current bar.
Moving Average Options:
Simple Moving Average
Exponential Moving Average
Relative Moving Average
Weighted Moving Average
Indicator Explanation
After adding indicator to chart, you must click on a location to begin an entry.
The moving average type can be set and length modified to adjust the stoploss. An optional profit target may be added.
A symbol is display when the stoploss and profit target are hit. If a position is create that is not valid, "Overlapping MA and Bar" is displayed.
Alerts
'Check' alerts to use within indicator settings (stop hit and/or profit target hit).
Select 'Create Alert'
Set the condition to 'Interactive MA''
Select create.
Alert messages can have additional details using these words in between two Curly (Brace) Brackets:
{{stop}} = MA stop-loss (price)
{{upper}} = Upper MA band (price)
{{lower}} = Lower MA band (price)
{{band}} = Lower or Upper stoploss (word)
{{type}} = Long or Short stop-loss (word)
{{stopdistance}} = Stoploss Distance (%)
{{targetdistance}} = Target Distance (%)
{{starttime}} = Start time of stoploss (day:hour:minute)
{{maLength}} = MA Length (input)
{{maType}} = MA Type (input)
{{target}} = Price target (price)
{{trigger}} = Wick or Close Trigger input (input)
{{ticker}} = Ticker of chart (word)
{{exchange}} = Exchange of chart (word)
{{description}} = Description of ticker (words)
{{close}} = Bar close (price)
{{open}} = Bar open (price)
{{high}} = Bar high (price)
{{low}} = Bar low (price)
{{hl2}} = Bar HL2 (price)
{{volume}} = Bar volume (value)
{{time}} = Current time (day:hour:minute)
{{interval}} = Chart timeframe
{{newline}} = New line for text
I will add further moving averages types in the future. If you suggestions post them below.
Market Performance TableThe Market Performance Table displays the performance of multiple tickers (up to 5) in a table format. The tickers can be customized by selecting them through the indicator settings.
The indicator calculates various metrics for each ticker, including the 1-day change percentage, whether the price is above the 50, 20, and 10-day simple moving averages (SMA), as well as the relative strength compared to the 10/20 SMA and 20/50 SMA crossovers. It also calculates the price deviation from the 50-day SMA.
The table is displayed on the chart and can be positioned in different locations.
Credits for the idea to @Alex_PrimeTrading ;)
Donchian MA Bands [LuxAlgo]The Donchian MA Bands script is a complete trend indicator derived from the popular Donchian channel indicator as well as various customizable moving averages to estimate trend direction and build support/resistance levels & zones.
🔶 USAGE
The indicator outputs various elements, the main ones being a lower dynamic zone (blue by default), an upper dynamic zone (in orange by default), and one support and resistance level/zones (red/green by default).
A prominent lower zone is indicative of an uptrend, while a prominent upper zone is indicative of a downtrend. These zones can be used as support/resistance as well.
Support/resistance zones and levels can be used using a breakout methodology or to determine price bounced if a level was tested multiple times.
The indicator contains various modes affecting the output of the indicator, described below.
🔹 Clouds
Clouds return one upper/lower dynamic zone and look/act similarly to a trailing stop. Price over the lower zone is indicative of an uptrend, and price under the upper zone is indicative of a downtrend.
🔹 Upper Band
The upper band mode returns a dynamic zone closer to prices during an uptrend, and farther away during a downtrend.
This band can act as a support during uptrends.
🔹 Lower Band
The lower band mode returns a dynamic zone closer to prices during an uptrend, and farther away during a downtrend.
This band can act as a resistance during downtrends.
🔹 Bands
Bands return both upper and lower zones, the zones are more apparent depending on the price trend direction, with uptrends being indicated by a more visible lower zone, and downtrends being indicated by a more visible upper zone.
Breakout dots are highlighted when price breakout the indicator displayed extremities, and can be indicative of a confirmed trend reversal.
These breakouts can be more effective for trend following during trending markets. Ranging markets might return breakouts highlighting the top/bottom.
🔶 DETAILS
The core of this script is the highest / lowest mean average (MA) value for a given number of bars back ( Donchian lines).
This is repeated a few times with the obtained values.
When Bands are chosen ( Style ) this will be repeated 1 more time.
The type of mean average can be customized ( Type MA ), as well as the number of bars back ( Length ).
Depending on the choice of bands ( Style ) the script will focus on certain area's of interest.
When the option Clouds , Upper band or Lower band is chosen, an extra feature, support/resistance (S/R), will be shown.
These color-filled areas are visible when there is a difference between the 2nd and 3rd highest/lowest values.
The lines/areas can be used for stop loss, entry, exit,...
You can set the type of MA and Length separately ( Settings -> S/R ).
If you don't need this feature, simply set Type ( Settings -> S/R ) -> NONE
The shape sometimes resembles triangles, indicating a potential direction
Default the average of the highest and lowest values is plotted (Style -> Mid Donchian)
This can act as potential support/resistance or visualization of the trend, the mean average is not plotted but can be (Style -> MA)
🔹 Note
When the option Bands is chosen, an indication is plotted when the closing price breaks above the highest band or breaks below the lower band. This isn't necessarily a buy/sell signal, it is merely a signal that these lines are broken.
Users should decide on their own how they use the bands/lines/areas as entry, exit, trailing stop, stop loss, profit taking,...
🔶 SETTINGS
🔹 Bands
Style: Clouds (default), Upper band, Lower band, Bands
Type MA: choose between SMA, EMA, RMA, HullMA, WMA, VWMA (default), DEMA, TEMA, NONE (off)
Length: Length of moving average and Donchian calculations (default 20)
Colour Bands
🔹 S/R (Support/Resistance, visible with Clouds, Upper band or Lower band)
Type MA: choose between SMA, EMA, RMA, HullMA, WMA, VWMA (default), DEMA, TEMA, NONE (off)
Length: Length of moving average and Donchian calculations (default 20)
Colour S/R
RSI + Fibonacci HH LL Support Resistance I have integrated my past scripts and brushed them up further.
This tool allows for support/resistance, stop loss, take profit, and trend analysis using RSI and Fibonacci ratios.
For example, the Fibonacci ratio is used as follows
l1 = m - dist * 0.618
l2 = m - dist * 1.618
l3 = m - dist * 2.618
l4 = m - dist * 4.235
l5 = m - dist * 6.857
l6 = m - dist * 11.089
When the Fibonacci ratio reaches 2.618 or higher and the RSI smoothed by the 5-day EMA is oversold/overbought, the bar color is changed by a gradation.
We have tried to make the design as beautiful and good-looking as possible. You can also hide the lines to suit your own preference.
Example usages are here:
BTCUSDT 1Hour Chart
Using Fibonacci numbers
BTCUSDT 15min Chart, for Scalping
Here, to set the highest and lowest prices one hour ago, "4" is substituted as the calculation: 15 minutes x 4 = 60
BTCUSDT 15min Chart, for Scalping
To set the highest and lowest prices 4 hours ago , "4" is substituted as the calculation: 15 minutes x 16 = 240
BTCUSDT 15min Chart, for Scalping
To draw yesterday's high and low as support/resistance lines, I substituted the number "96" as 1440/15=96.
BTCUSDT 1min Chart, for Scalping
Substituted "60" to trail the highest and lowest prices over a 60-minute period on a 1-minute chart, and removed lines to beautify
BTCUSDT 1day Chart, for Long-Term Investers
This is an example of using "90" because it is a 1-day chart and assumes that 3 months = 90 days in order to trail the highest and lowest prices over a 3-month period and no lines.
My past scripts are here:
RSI + FIB HH LL StopLoss Finder/Contrarian Trades
Fibonacci HH LL TRAMA Band