10X Moving Average Dingue V510X Moving Averages into 1 indicator - This is the updated V5 for PineScript 5
This moving average indicator lets you quickly visualize what is happening with the price.
Color-coded for easy visualization of all 10 MAs at the same time.
Fill in colors that let you see expansion and contraction between MAs and also if MAs are above or under each other plus if they are rising or falling.
10 Different Moving Averages give you full control over how you trade. You can have many long-term trends, mixed in with short-term MA. You can mix and match MA types to give a better idea of what other traders might see, important levels, etc… You can select from a wide range of MA Type: 'SMA', 'SMMA', 'EMA', 'DEMA', 'TEMA', 'WMA', 'VWMA', 'KAMA', 'FRAMA', 'TRIMA', 'ALMA', 'HMA', 'LSMA', 'ZLEMA', 'ViDYA', 'JMA', 'T3'
You can select different settings for EACH MA ie. Their type, length, line size, fill or not.
You can quickly ‘Override’ all MA's types by selecting an Override Type. That way you can quickly keep your settings and compare them with another type.
In the same way, you can turn ON/OFF all 10xMA at the same time with one button.
You can plot a moving average of all the 10x moving averages and plot just that one.
'Tool tips' explain much of the settings but if you have any questions, feel free to ask. Thank you for the feedback and check all my ‘Dingue’ indicators.
Media mobile esponenziale (EMA)
Chimpanzee V2.5 part A by joylay83Hi everyone, I am an amateur pinecoder. I would like to share my script which is coded with the intention of generating signals to send to 3commas webhook. It is still in development and revision.
This collection of indicators use:
Chart: 15m.
Inverse Fisher Transformation of the RSI to detect dips in the 15m timeframe.
Bollinger band (4H) to filter out false signals.
Triple EMA 21: to mimic price action for easier coding alerts. Currently not involved in generating signals. will be incorporated in the future.
StochRSI: As a visual filter. Currently not involved in generating signals. will be incorporated in the future.
Background will be green if stochRSI is low and red if stockRSI is high.
Candlesticks will be marked with a flag is TEMA breached BB.
One would need to play around with timeframes, BB settings and IFTRSI threshold for different signals.
There are 2 Signal Modes (with regards to IFTRSI):
Threshold: When price action falls below BB and IFTRSI hits buy threshold, a buy/sell signal is generated. Eg if IFTRSI buy threshold is set to -0.9, the buy signal will remain continuously positive as long as IFTRSI is < 0.9.
Cross: When price action falls below BB and IFTRSI hits threshold, nothing happens. It will wait until the IFTRSI cross back over the threshold before firing a signal.
There is another identical set of indicators running on a higher time frame (IFTRSI: 4H, BB: D or 3D, TEMA 21 4H) but on the same chart. This tend to generate less signals but are more reliable. A usage example would be to send a larger buy order if the signal comes from this higher time frame, or execute a sell order after multiple buys from the lower time frame.
It comes in 2 parts:
Part A: Contains overlay display. This displays BB, Triple EMA, buy/sell and StochRSI in labels. the labels are self explanatory.
Part B (please search for it): which is actually the same code but contain non-overlay display. You may also put part B overlay=true but scale to LEFT. The advantage of using overlay=true is that you can move the signal right over the candlesticks (mainly for troubleshooting/debugging). This part contains Inverse Fisher RSI, %B, Signal Line. %B is supposedly idential to Bollinger Bands in Part A.
By default, when there is a buy/sell signal:
lower time frame 15m: Signal Line in Part B will turn blue with a value 1 or -1 which corresponds to a buy or sell label in Part A
higher time frame 4H: Signal Line in Part B will turn red with a value 2 or -2 which corresponds to a HTF buy or sell label in Part A
Part A or B may be used to send signal to the webhook. You have to make sure that the settings of Part A and B are identical.
You may choose to un-display some items to reduce clutter.
Current problems:
1. Still too many buy signals
Although many times it will generate excellent buy signal at many swing lows, but there are many buy signals prior to a major swing low. This can be observed in the picture above. It also generate a couple of buy signals prior to the swing lows. I am currently experimenting with 20m and hourly timeframe to address this issue. More filters are needed eg an oscillator or detecting candlestick patterns.
2. Premature sell signals.
The sell signal is often generated at the beginning of a major bull run. My idea to solve this problem is to move to a higher timeframe and sell only when TEMA crossunder the upper bollinger band.
3. Lack of a backtester that can test multiple concurrent deals.
Buy -> Buy (average down) -> Buy (average down) -> Buy (average down) -> Sell
4. Lack of the ability to calculate average purchase price
Probably have to code it as a strategy
5. Display lag
As the browser is running 2 copies of the idential script, it tends to lag when you drag your chart around. So far there are no timeouts or delay in firing alerts to 3commas.
I do welcome any suggestion for improvement and constructive criticism. tqvm.
Credits : Thank you for doing an awesome job. I learnt a lot from your codes and tutorials.
Credits not listed in any order. If your code is used here and did not receive due credit, kindly drop me a note. tq.
Blessing 3 by JTA Today
@ZenAndTheArtOfTrading (extremely-easy-to-understand tutorials eg fixing repainting)
@LazyBear (various codes)
@Galactus-B Argo I
@TheTradingParrot (Inverse Fisher RSI and Gavin's backtester)
@zendog123 (backtester and various codes)
@ydeniz2000 (Bollinger Bands)
TradingView built-in scripts
Signal Table - AutoFib - SMA - EMA - RSI - ATR - VolWith this indicator you can add a table on top of your chart.
What's in this table?
On which graph you open this table, the indicator data at the selected time of that graph are written. In the image below, you can see the table in the upper right.
You can also see two EMAs above the chart in this indicator. You can adjust their length.
You can add automatic fibonacci retracement levels to the top of the chart. In this way, you can see the Fibonacci levels on the chart and determine the support resistance. If the price is above the Fibonacci level, it will appear green on the chart, and red if below. You will understand as you use it.
It turns red if the RSI is below 30 and green if it is above 70.
Likewise, if the price is above the moving averages you have set, it appears as green, and if it is below it, it appears as red.
You can hide and activate the EMA and Fibonacci levels above the chart.
For example, you can get the ETH chart while the BTC chart is open in front of you. I think you will understand everything clearly from the settings tab below. Please support me. I hope you will be satisfied using it.
Time Locked Moving AverageSuccinct Description
Generates moving average that stays locked to users desired time preference.
Verbose Description
The default moving average indicator does not stay locked to the chart timeframe. Meaning, if you want to see a 1 day SMA on a 15 minute chart, you have to do math and adjust the moving average length to 96.
Needing to do this constantly (especially while flipping through multiple time frames) was really annoying, so I codded up this script to do it for me... and now it can for you too!
Error Handling
If you receive a 'study error' that says, "function sma references too many candles in history".
Go to the Time Locked Moving Average settings and increase the timeframe interval until error goes away.
Furthermore, UNCHECK gaps, to show real-time approximated moving average values.
Enjoy :)
Intraday MAs for Regular/Extended SessionThis indicator will allow you to show multiple EMA/SMAs for different timeframes on your chart. In addition, it can show you indicators calculated from regular and extended sessions, independently of the session type you have selected for your chart.
EMA MTF PlusI like trading the 1 minute and 3 minutes time-frames. I'm what is commonly called a "scalper". Long term investments yes, I have some, but for trading, I don't have neither the time,
nor the patience to wait hours or days for my trade to be complete.
This doesn't mean I discount the higher time-frames, no, I actually rely heavily on them. I found that EMAs do a decent job as support/resistance, sometimes to a tick level of precision. And this is important for a 1 minute trader.
As such, I made this script that tracks the higher time-frames EMAs and displays the last value as a line.
I do not need the whole EMA, I'm not interested in crossovers or crossunders, these are anyway late signals for me.
What's with the triangles? These are local tops/bottoms , candles that have a have decent size of the wick. These tops and bottoms are by no means "final", they are merely a rejection at certain levels of price. Due to markets complexities (and human erratic behaviors hehe) these levels could be breached at the very next candle. For a more "final" version (nothing is really final but..) I added Schaff Trend Cycle as filter, so a triangle will pop only when a trend is mature enough ( STC with a value near 0 or near 100).
Colored bars. When the body of the candle is big, it shows strength. Strong bars tend to have follow through, especially when breaking key levels. The script looks at the body of the candle and compares it with ATR (Average True Range), if it's at least 0.8 of ATR it changes the bar color to yellow (bull candles) or fuchsia(bear candles).
Range identifier. This code is copied from Lazy Bear (if there are any issues please let me know), it's very useful in conjunction with colored bars.
I look for breakout candles that go outside of the range as a signal for a trade.
There are many ways in which this script can be useful, like trading mean reversions or momentum trades (breakouts) or simply trend following trades.
I hope you guys find it useful, you can play with default values and change them as you like, these are what I found to be working best for me and my trading universe (mostly crypto).
Special thanks for the original work of:
LazyBear
everget
Jim8080
EMA based Candle ColoringEMA or Exponential Moving Average (EMA) is a technical indicator used in trading practices that shows how the price of an asset or security changes over a certain period of time. The EMA is different from a simple moving average in that it places more weight on recent data points (i.e., recent prices)
In this script plain EMA or MA is not used for candle coloring, but it takes multiple EMAs of the original EMA and then subtracts lag from the result to get data points of each candle of two certain periods defined. As it differs from traditional EMAs and MAs by reacting quicker to price changes and is able to subtract lag with its calculated formula.
The candle coloring is able to interpret short-term price direction and overall trend and its suitable for active traders. As it tracks price more closely than SMAs
Since EMAs can also provide support or resistance for price and is highly reliant on the asset’s lookback period we can make sure we stay with the trend rather than going against the trend.
*First of all here's what the colors represent and how to interpret them is shown in below image
Examples of how I use the Coloring pattern
Spotting a fakeout/stophunt
during trends:
* No strategy is 100% accurate this script is one of those too , traders must use this as an addition to their system rather than making it a standalone system.
* Context is important as the coloring is done using calculations, different timeframes has different context hence traders discretion is key.
Hope you find this helpful,
Thankyou.
happy trading.
Swing EMAWhat is Swing EMA?
Swing EMA is an exponential moving average crossover-based indicator used for low-risk directional trading.
it's used for different types of Ema 20,50,100 and 200, 3 of them are plotted on chat 20,100,200.
100 and 200 Ema is used for showing support and resistance and it contains highlights area between them and its change color according to market crossover condition.
20 moving average is used for knowing Market Behaviour and changing its color according to crossover conditions of 50 and 20 Ema.
How does it work?
It contains 4 different types of moving averages 20,50,100, 200 out of 3 are plotted on the chart.
20 Ema is used for knowing current market behavior. Its changes its color based on the crossover of 50 Ema and 20 Ema, if 20 Ema is higher than 50 Ema then it changes its color to green, and its opposites are changed their color to red when 20 Ema is lower than 50 Ema.
100 and 200 Ema used as a support and resistance and is also contain highlighted areas between them its change their color based on the crossover if 100 Ema is higher than 200 Ema a then both of them are going to change color to Green and as an opposite, if 200 Ema is higher then 100 Ema is going to change its color to red.
So in simple word 100 and 200 Ema is used as support and resistance zone and 20 Ema is used to know current market behavior.
How to use it?
It is very easy to understand by looking at the example I gave where are the two different types of phrases. phrase bull phrase and bear phrase so 100 and 200 Ema is used as a support and resistance and to tell you which phrase is currently on the market on example there is a bull phrase on the left side and bear phrase on the right side by using your technical analysis you can find out a really good spot to buy your stocks on a bull phrase and too short on the bear phrase. 20 Ema is used as a knowing the current market behavior it doesn't make any difference on buying or selling as much as 100 Ema and 200 Ema.
Tips
Don't trade against the market.
Try trade on trending stocks rather than sideways stock.
The higher the area between 100 Ema and 200 Ema is the stronger the phrase.
Do Backtesting before real trading.
Enjoy Trading.
Higher Timeframe EMAs - 21/50/100/200This script lets you draw the 21/50/100/200 EMAs of the daily (or hourly) timeframe on lower time frames.
This was modified from :
@ZenAndTheArtOfTrading
RSI DINGUE - 3³ DivergenceThis is the updated version for PineScript V5
3x RSI indicator into 1. You can turn on or off all of them.
Each RSI has 2 individual Moving Averages that can also be changed to be "Full RSI" in the settings.
This makes 3x3 = 9 indicators on screen at the same time. (you can turn them on or off)
It has Bullish and Bearish divergence and hidden divergence as well.
Several visual options to show crosses between RSIs and or MAs fill in colors, background colors, midline. Overbought and Oversold levels with signals when entry and exit.
---------------------
In closing, no indicator can give perfect signals, you need to use them in conjunction with other information to make better decisions.
I hope you like my indicators and that they help your trading.
If you have any questions please ask.
Thank you.
Keltner Channels BandsKeltner Channel Bands
Great indicator for mean reversion strategies.
Alerts you can set:
Crossover EMA
Crossunder EMA
Crossover upper band
Crossunder upper band
Crossover lower band
Crossunder lower band
Have fun!
RSI Bands [APIDEVs]RSI BANDS:
It is an exclusive product of ApiDevs , this indicator selectively integrates a series of highly advanced algorithms that aim to provide the trader with an effective and profitable trading system, based on a series of conditions that project the price direction with a reasonable probability.
This indicator bears the name of “RSI Bands” , this is because we have based this trading system on the “Relative Strength Index (RSI)” , the strength of this indicator is centennial and we at APIDEVs have decided to focus our efforts on the development of powerful tools based on the favorite indicators of the afternoon.
WHAT IT HAS INCORPORATED:
1. Exponential Moving Average (EMAs): The RSI Bands has, by default, a band composed of two moving averages of 10 and 55 exponential periods, which can be modified in the indicator menu.
• Possibility of changing the value of the EMAs.
• Function was enabled to change the color and transparency of the bands.
• Visual alerts SHORT (L) and LONG (L) were added when there is the crossing of the EMAS.
• Hull Moving Average (HMA) of 100 periods was also incorporated, also modifiable for those who wish to strengthen their visual analysis. (Disabled by default)
• We also add an Exponential Moving Average (EMA) of 200 periods to mark the trend. (Disabled by default).
2. A TR (Average True Range): This indicator has two main functions in the RSI Bands, the first is to mark the trend of the asset and the second is to establish a margin of safety in price volatility, that is, a maximum estimate of the setbacks without this representing a change in the direction of the price.
3. RSI (Relative Strength Index): It was visually incorporated into the RSI Bands, the graph is obtained on the right side and its purpose is to visually indicate where the price is with respect to the RSI PRO+ indicator, offering the following improvements :
• ALERT SYSTEM: THE RSI PRO+ has the ADX incorporated into its algorithm, which allows establishing a filter that will provide reliable inputs, represented by the LONG (L) and SHORT (S) signals.
• FILTER AGAINST TREND: The signals described above will be activated according to the crossing of the RSI above the 50 point, provided that the ADX agrees with the market direction.
• Possibility of deactivating this graphical representation.
4. ADX (Average Directional Index): The ADX in this indicator is intended to estimate the strength of the movement, it is present in each part of the code, either to indicate the strength of the market or to serve as a filter against trend. In the same way, we apply certain exclusive improvements for this indicator:
• It was established as default values of the ADX that the Level Range was 10 and the Level Trend 25. This significantly changes the behavior of this indicator, almost completely eliminating the zone of disinterest that was usually considered.
• A function was activated to paint the sails the color of the ADX.
5. ADX Ocillator: Yes, we developed a Wave oscillator type ADX and incorporated it into this strategy. From this indicator, which we recommend using in conjunction with the RSI Bands, we extracted the LONG (L) and SHORT (S) signals. The ADX Oscillator is the improved version of the traditional ADX as it offers the following improvements:
• Its interpretation is much simpler.
• Allows you to set entry and exit signals during the trend change and during the price path.
• It has an integrated alert system.
STRATEGY PANEL:
This panel is an exclusive creation of APIDEVs , and its purpose is to parameterize five conditionals based on the indicators that make up our RSI strategy, giving the trader an immediate vision of the status of the asset analyzed considering this strategy. That is, we decided to transfer our experience of using this indicator on a panel that will project the price trajectory visually. It has the following characteristics:
• It can be placed anywhere on the screen through the main menu of the indicator, it can even be deactivated.
• It can be resized, we designed this to adapt to all types of screens, including those of mobile phones.
• It has an upper panel called "Project" which will calculate the percentage probability that the price has to take a direction based on all the indicators incorporated into the strategy. Their values range from (+ 100%) to (-100%).
STRATEGY PANEL PARAMETERS:
1. EMAs : This panel has 2 variables:
• LONG : If the fast EMA is above the slow EMA.
• SHORT : If the fast EMA is below the slow EMA.
2. RSI : This panel has 3 variables:
• LONG : The RSI should be bullish (green) and above the 50 point.
• SHORT : The RSI should be bearish (red) and be below the 50 point.
• RANK: (Range)this condition is activated when there is no concordance with the RSI condition and its crossing.
3. ATR : This panel has 2 variables:
• LONG : When the price is above the ATR.
• SHORT : When the price is below the ATR.
4. ADX: This panel has 3 variables:
• LONG : The ADX is green. That is, the DI + is above the DI-.
• SHORT : The ADX is red. That is, the DI- is above the DI +.
• RANK : ADX is below point 10.
It also has a numerical value that indicates the value of the ADX and two texts indicating the strength of the trend:
• Trend (bullish or bearish).
• Strong trend (bullish or bearish).
5. OSC : This panel has 3 variables:
• LONG : The oscillator slopes upward and the built-in ADX is green.
• SHORT : The oscillator slopes downward and the built-in ADX is red.
• RANK : The oscillator slopes downward and the built-in ADX is green and the opposite. In short, there is no coherence in the movement of the oscillator and the projection of the ADX.
SPY Monthly EMA % Alert/TrackerThis simple FREE indicator is used on the SPY chart to alert/notify when the Monthly 10 EMA moves above the alert threshold.
TP suggest that when setting up Credit Spreads the Trader should be careful when the SPY moves too far from the 10 EMA.
This indicator provides a visual indication of the current % away and also the ability to create alerts on preferred thresholds.
This indicator is provided as is without warranty.
AZ Column ColorThis indicator is based on ema cross-over (12,26).
In Thailand, the ema 12,26 Cross over is well known as the CDC-ACTION ZONE indicator.
.
The definition of a bullish trend in this indicator is when the fast ema crosses up the slow ema .
The definition of a bearish trend is when the fast ema crosses down the slow ema .
.
When fast ema is over slow ema the column will show in a green column and when fast ema is below slow ema the column will show in a red column.
.
I have made this indicator for use with CDC-ACTION ZONE.
Taco MA'sThis study is a combination of pivot points & moving averages of various types. Try them out on any time frame!
First, we calculate the "typical price" aka Pivot Point . In the settings you have the option to select your calculation as (H + L + C)/3 or (O + H + L + C)/4 ; you also have the option to select just open, close, etc.
I made the default OHLC/4.
From here we have 4 exponential MA's that are using the calculation of your pivot point selection.
I provide you the ability to change the periodicity for each Moving Average. So mess around with it and see what you like.
I made the defaults the ones I prefer to use:
• 9ppema
• 21ppema
• 44ppema
• 100ppema
Then I added my favorite "retail trader moving averages" as I like to call them. These are two slow simple moving averages that really help provide a level of potential retail trader interest. Most new retail traders will monitor the 50 and 200 sma very closely. The 300 simple moving average is one that I have found useful in my experience over time.
This is a simple moving average of the 200 and 300 periodicities.
We have made the appearance of each average line to be brighter in color when the average is hovering above the price, and it darkens when the average is below the price. You can adjust this in the settings to select your own colors. If you prefer to see one solid color, simply select the same color for each option in the menu.
I prefer to use a typical price that also takes in account the opening price for each candle rather than HLC /3 calculation or just the closing price. I feel it accounts a bit more for the volatility in each candle by including the Open. Then this typical price calculation gives us a more reactive EMA calculation, IMO.
If you are new to TA, Put the 21 and 50 simple moving averages on your chart and monitor them with these moving averages (you can always hide the ones you do not want to see in the settings menu)
bb_ema_hamedtarkib bb and ema hasttarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
Offset Moving AverageWhile Moving Averages can often serve as excellent forms of support or resistance, they are rarely perfect. Often times the price will either stop short or penetrate the moving average and at times it can almost seem consistent. The Offset Moving Average indicator allows for a moving average to be offset by a percentage (as well as time) in order to see if the price has an offset correlation to a moving average.
Offset Moving Average supports a dual color line, in order to better see when the MA has been crossed. It can be used for an SMA , EMA , TEMA or VWMA average with an adjustable source, length and color.
Lastly, Offset Moving Average supports showing the daily moving average on all intervals. This can be disabled in Settings.
Have modification ideas for this indicator? Just let me know and I will gladly consider them!
EMA Confirmations & RejectionsWant to know how the bulls and bears are doing? Use this to see the attempts made for making big moves and their outcomes to feel more confident in your entry or exit and know when the tides are turning. Do not read a single arrow or cross on the chart and think it means one thing. Take in the big picture and detect patterns and frequency of good or bad signals to determine the likelihood of the future being bullish or bearish. For example, more green arrows than orange arrows in a consolidation period would suggest a break to the upside is more likely.
There are 4 different signals this indicator can print:
1. A green arrow indicates a move of strength to the upside has begun. Could be a bull trap or the start of a long lasting bullish move.
2. An orange arrow indicates a move of strength to the downside has begun. Could be a bear trap or the start of a long lasting bearish move.
3. A blue cross is printed above if the break was to the upside, or below if it was to the downside. Indicates a failed attempt to change the trend and bullish price action is more likely in the next few candles.
4. A red cross is printed above if the break was to the upside, or below if it was to the downside. Indicates a failed attempt to change the trend and bearish price action is more likely in the next few candles.
The location of the cross is more important than the colour. Above means pressure downwards, and below means pressure upwards.
Pro Tip: Green arrows below 50 on the RSI are more meaningful than when above. This also works for orange arrows when above 50.
Dynamic Fibonacci Pivot Points & EMA CrossoversI have created this script for those who face difficulties drawing Fibonacci levels as this script is Dynamic so it automatically calculates the ranges based on current High and Lows. I have also added Standard Fibonacci Pivot Points so that we can easily see the confluences between Dynamic and Standard pivot points. Apart from this I have also added EMA Crossovers so that we can easily identify trend changes. You can modify this script as per your own.
5 emaS setupYOU GET ALL 5 EMAS _ EMA 5,8,20,34,50,200
5 emas in one script so that you need not add then individually
Useful for intraday trades and best at 5 min tf
CPR-EMA(8,20,200)The intention behind this Indicator is to combine 2 (EMA & CPR) together so that users having limits on the number of indicators can be benifited
JC blended MAs v3The best, simplest moving averages you'll find.
Well not really. But it does have SMA, WMA, and EMA in one place. Plus an additional one that averages those, that might give you a leg up because it's not really a standard thing and you won't create a massive worldwide machine-driven feedback loop that crashes the markets (instead profit from them). Or something like that.
Each moving average has their own definable averaging length.
The master time resolution is also definable, or you can use the chart's. (The latter which is not very useful for moving averages, yet so many of them on trading view don't let you specify otherwise.)
For example you can set the master resolution to 5 minutes, 1 hour, 1 day, etc. (Default is 1 hour.) The graphs don't change, only the resolution.
Note: There are a few rare, extreme edge cases where the graphs won't render, which are obvious. In which case all you need to do is choose a more sane resolution. This is more about the limits of Trading View than specific script bugs.
EMA Levels, Multi-TimeframeThe exponential moving average (EMA) tracks price over time, giving more importance to recent price data than simple moving average (SMA). EMAs for larger timeframes are generally considered to be stronger supports/resistances for price to move through than smaller timeframes. This indicator allows you to specify two different EMA lengths that you want to track. Additionally, this indicator allows you to display not just the EMA levels of your currently viewed timeframe on the chart, but also shows the EMA levels of up to 4 different timeframes on the same chart. This allows you to quickly see if multiple EMA levels are aligning across different timeframes, which is an even stronger indication that price is going to meet support or resistance when it meets those levels on the chart. There are a lot of nice configuration options, like:
Ability to customize the EMA lengths you want to track
Style customization (color, thickness, size)
Hide any timeframes/levels you aren't interested in
Labels on the chart so you can tell which plots are the EMA levels
Optionally display the plot as a horizontal line if all you care about is the EMA level right now