(IK) Color Coded MAJust a simple Moving Average indicator. Choose between SMA, EMA, and WMA, set the length and the source. There are 3 color indicators that represent whether price is above or below the moving average:
- the moving average line itself
- the background of the chart (optional)
- the 'underglow' of price action (optional - set 'underglow strength' to 0 to turn off)
You can customize the colors
I wasn't planning on publishing this, because, again, it doesn't really do anything special, but I've been using it for a little bit now in place of regular MAs, and I really dig the visual effect of the underglow, so I thought I'd share.
Feel free to steal/modify this.
Simple Moving Average (SMA)
Candle Percent Volatility by AllenlkThis indicator gives you the percentage movement of each candle. Measurements are taken between the candle High point and Low point, and also between the Open and Close and calculated in percent %. From there it smooths out the data with a moving average. This gives you an idea of how much volatility is within each candle given the time resolution of the chart.
I like to use this information as a way to turn off a strategy, or select a proper time resolution for a strategy. If each candle has less than 2.5% Volatility most strategies will typically buy and sell rapidly at prices that are too close together, potentially losing money. During those times it seems best to either temporarily turn off the strategy, change the time resolution or switch to another strategy.
CCI45/SMA50 indy for 30 min SP500SPCFD:SPX
The script determines entry points using 45 period CCI and 50 period SMA.
Long condition: When CCI crosses up 150 treshold while price above 50 period SMA
Short condition: When CCI crosses down -150 treshold while price below 50 period SMA
Trades are executed above/below 1 point of high/low for long/short positions. Stops are just 1 point below/above of SMA. After 4 points of profit stops should be tightened. If you do not plan to hold the position for a long time, it can produce quick profit within 5-6 bars namely 2.5-3 hour. Otherwise you can manage the trade using SMA as trailing stop. This can be treated as a strategy of scalping which turns out a trend trading eventually if conditions good.
Have a nice trading
Erzurum Indicators (By DadashKadir)Erzurum Indicators (By DadashKadir)
An indicator in which you will keep track of the buying and selling movements by adding the movements of the three moving averages together. The parameters were determined as Moving Average (SMA), Exponential Moving Average (EMA), Weighted Moving Average (WMA) and Volume Weighted Moving Average (VWMA). Its constant value was taken as WMA. It is used to calculate the averages of 3 - 5 and 7. You can include the standard deviation (STDEV) in these moving averages.
The name of the indicator is taken from our city of Erzurum, the pearl of Eastern Anatolia.
Trailing Take Profit Trailing Stop LossThis script demonstrated a dual trailing take profit and stop loss strategy. Where you take 50% (configurable) of the profit when a price level is reached and then you get the rest when a trailing stop loss is hit.
3min Scalp N.roiIndicator for 3 min time frame scalping.
Fast ema + slow Sma for entrance signal
Modified Sar for TP/SL
SIgnals for entry in both Short and Long direction!
Built by
NOEL ROI
Ultimate Buy/Sell IndicatorAn Indicator based on the William Alligator, helping to find suitable entry and exit points.
Excitement - Crypto Surfer v1For those of us who need more excitement in our crypto journey besides just HODL, here’s a simple crypto robot that trades on the hourly (1H) candles. I call it the Crypto Surfer because it uses the 20 and 40 EMAs (Exponential Moving Averages) to decide when to enter and exit; price tends to “surf” above these EMAs when it is bullish, and “sink” below these EMAs when it is bearish. An additional 160 SMA (Simple Moving Average) with slope-angle detection, was added as a bull / bear filter to reduce the sting of drawdowns, by filtering-out long trades in a prolonged bear market.
USER NOTES:
- This script will buy $10,000 USD worth of crypto-currency per trade.
- It will only open one trade at a time.
- It has been backtested on all the high market cap coins such as Bitcoin, Ethereum, Binance Coin, Polkadot, Cardano.
- It should be run on the Hourly (H1) chart.
- In general, this moving average strategy *should be* profitable for 80% to 90% of the coins out there
- The 160 SMA filter with slope angle detection is designed to stop you from going long in a bear market.
- It is recommended you copy this script and modify it to suit your preferred coin during backtesting, before running live.
- Trading is inherently risky (exciting), and I shall not be liable for any losses you incur, even if these losses are due to sampling bias.
Moving Averages For All TimeframesManage moving averages, for every timeframe, from within one indicator.
Features:
■ Intraday - Up to 3 moving averages
■ Daily - Up to 4 moving averages
■ Weekly - Up to 2 moving averages
■ Monthly - Up to 2 moving averages
■ Choose between simple, exponential or volume weighted moving averages (SMA, EMA or VWMA)
ATR-MSimple ATR with a moving average signal line. Play with the inputs, I suggest making the MA longer than the ATR length for a more reactive outcome. This is a great tool for trend trading!
There are two main uses for this indicator:
1. Filtering out losing trades
- Take trades when the ATR is above the signal line.
2. Identifying trends and slow downs to trends
- Ride trending markets.
- Be weary of the ATR crossing below the signal line, a reversal or pause in the trend is coming.
I'm sure something like this exists on TV but I haven't seen it yet. I'm new to making indicators and trading in general yet this tool looks to eliminate a lot of losing trades my entry indicator took during noisy/dead markets.
I hope this helps somebody out!
Lower Time Frame ScalperThis indicator is meant to identify lower timeframe momentum shifts in Forex pairs by using simple moving averages and the Kijun Sen indicator around key psychological levels.
Alert functionality for buy and sell conditions have also been built in to allow the trader time away from charts.
RSKYVNThis indicator is a combination of ema and sma which is good for trend analysis.
I put buy and sell signal in this indicator for an easy entry and exit.
How to use it?
First check our ma100. Ma100 shows trend analysis whether we are (uptrend and downtrend).
Second just wait for our biuy and sell signal.
This is profitable when ma100 is under our sma and ema region. So always wait that ma100 dive under ema and ma regions to enter a trade.
Disclaimer: This indicator is only good when there is a trend. The only flaw of this is when market is consolidating if that the case just switch to a support and resistance or fibonacci for entry and exit.
Always remember manage your own risk
3SMA + Ichimoku 2leadlineThis indicator simultaneously displays two lines, which are the leading spans of the Ichimoku Kinko Hyo, and three simple moving averages.
To make it easier to distinguish between the simple moving average line and the line of the Ichimoku Kinko Hyo, the simple moving average line is set to level 2 thickness by default.
Also, the color of Reading Span 1 in the Ichimoku Kinko Hyo has been changed from green to lime to improve color visibility.
I (author of this indicator) use this indicator especially as a simple perspective on the cryptocurrency BTC / USD(USDT).
If this indicator is a problem, moderators don't know about tradingview beginners.
" Visibility " should be a high-priority item not only for indicators but also for graph requirements.
Visibility is one of the most important factors for investors who have to make instant decisions in one minute and one second.
The purpose of this indicator is to display two leading spans that are easily noticed in the Ichimoku cloud and three simple moving averages whose set values can be changed.
This is because chart analysis often uses a combination of a simple moving average of three periods and two lead spans of the Ichimoku cloud.
Also, in chart analysis, green is often displayed with the same thickness on both the moving average line and the Ichimoku cloud.
Therefore, if the moving average line and the Ichimoku cloud often use the same green color, the visibility will drop. Therefore, the green color of Ichimoku cloud was changed to lime color by default.
Tradingview beginners often refer only to the two lines of the leading span of Ichimoku Cloud. Therefore, we decided not to draw lines that are difficult to use.
Many Tradingview beginners don't know that you can change the thickness of the indicator .
Therefore, this indicator shows by DEFAULT the three commonly used simple moving averages that are thickened by one step at the same time.
Also, since the same green color is often used for the Ichimoku cloud and the moving average line, the green color of the preceding span of the Ichimoku cloud is changed to lime color by default.
The originality of this indicator is that it enhances " visibility " so that novice tradingview users will not be confused on the chart screen.
The lines other than the preceding span of the Ichimoku cloud are not displayed, and the moving average line is level 2 thick so that the user can easily see it.
This indicator not only combines a simple moving average and Ichimoku cloud, but also improves "visibility" by not incorporating lines that are difficult to see from the beginning and making it only the minimum display, making it easy for beginners to understand. The purpose is to do.
If any of the other TradingView indicators already meet the following, acknowledge that this indicator is not original.
・Display 3 simple moving averages at the same time
・For visibility, the thickness of the simple moving average line is set to level 2 from the beginning.
・A setting that does not dare to draw lines other than the lead span of Ichimoku cloud.
・Make the moving average line and the Ichimoku cloud line different colors and thicknesses from the beginning.
CT Moving Average Crossover IndicatorMoving Average Crossover Indicator
Here I present a moving average indicator with 9 user definable moving averages from which up to 5 pairs can be selected to show what prices would need to be closed at on the current bar to cross each individual pair.
I have put much emphasis here on simplicity of setting the parameters of the moving averages, selecting the crossover pairs and on the clarity of the displayed information in the optional “Moving Average Crossover Level” Information Box.
What Is a Moving Average (MA)?
According to Investopedia - “In statistics, a moving average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set.
In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis. The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price.
By calculating the moving average, the impacts of random, short-term fluctuations on the price of a stock over a specified time-frame are mitigated.”
The user can set the color, type (SMA/EMA) and length of each of the 9 moving averages.
Then the user may choose 5 pairs of moving averages from the set of 9.
The script will then calculate the price needed to be crossed by the close of the current bar in order to crossover each of the user defined pairs and outputs the results as optional lineplots and/or an Infobox which shows the relevant information in a very clear way.
The user may switch the moving averages, crossover lineplots and infobox on and off easily with one click boxes in the settings menu.
The number of decimal places shown in the Infobox can be altered in the settings menu.
If the price required to cross a pair of moving averages is zero or less, the crossover level will display “Impossible” and the plots will plot at zero. (this helps ameliorate chart auto-focus issues)
Quoting a variety of online resources …….
Understanding Moving Averages (MA)
Moving averages are a simple, technical analysis tool. Moving averages are usually calculated to identify the trend direction of a stock or to determine its support and resistance levels. It is a trend-following—or lagging—indicator because it is based on past prices.
The longer the time period for the moving average, the greater the lag. So, a 200-day moving average will have a much greater degree of lag than a 20-day MA because it contains prices for the past 200 days. The 50-day and 200-day moving average figures for stocks are widely followed by investors and traders and are considered to be important trading signals.
Moving averages are a totally customizable indicator, which means that an investor can freely choose whatever time frame they want when calculating an average. The most common time periods used in moving averages are 15, 20, 30, 50, 100, and 200 days. The shorter the time span used to create the average, the more sensitive it will be to price changes. The longer the time span, the less sensitive the average will be.
Investors may choose different time periods of varying lengths to calculate moving averages based on their trading objectives. Shorter moving averages are typically used for short-term trading, while longer-term moving averages are more suited for long-term investors.
There is no correct time frame to use when setting up your moving averages. The best way to figure out which one works best for you is to experiment with a number of different time periods until you find one that fits your strategy.
Predicting trends in the stock market is no simple process. While it is impossible to predict the future movement of a specific stock, using technical analysis and research can help you make better predictions.
A rising moving average indicates that the security is in an uptrend, while a declining moving average indicates that it is in a downtrend. Similarly, upward momentum is confirmed with a bullish crossover, which occurs when a short-term moving average crosses above a longer-term moving average. Conversely, downward momentum is confirmed with a bearish crossover, which occurs when a short-term moving average crosses below a longer-term moving average.
Types of Moving Averages
Simple Moving Average (SMA)
The simplest form of a moving average, known as a simple moving average (SMA), is calculated by taking the arithmetic mean of a given set of values. In other words, a set of numbers–or prices in the case of financial instruments–are added together and then divided by the number of prices in the set.
Exponential Moving Average (EMA)
The exponential moving average is a type of moving average that gives more weight to recent prices in an attempt to make it more responsive to new information.
To calculate an EMA, you must first compute the simple moving average (SMA) over a particular time period. Next, you must calculate the multiplier for weighting the EMA (referred to as the "smoothing factor"), which typically follows the formula: 2/(selected time period + 1). So, for a 20-day moving average, the multiplier would be 2/(20+1)= 0.0952. Then you use the smoothing factor combined with the previous EMA to arrive at the current value.
The EMA thus gives a higher weighting to recent prices, while the SMA assigns equal weighting to all values.
Stacked Moving AveragesThe Stacked Moving Averages indicator lets you see if a ticker is in an uptrend, downtrend, or no trend based on the condition of the moving averages. If the moving averages are stacked such that MA1>MA2>MA3>MA4>MA5, then that is described as an uptrend. If the moving averages are stacked such that MA5>MA4>MA3>MA2>MA1, then that is defined as a downtrend.
The moving averages can be SMA, EMA, or DEMA, and it’s possible to view all the moving average series in the chart or hide all series and only see if there is an uptrend or downtrend according to the condition.
Note: If length 4 OR length 5 is zero the MA4 OR MA5 will be ignored.
Reivaj MA - PreSession This script contains 9 moving averages which can be changed each between "sma", "ema", "wma", "vwma.
The values of the moving averages are:
MMA20 = SMA20
MMA50 = SMA50
MMA100 = SMA100
MMA200 = SMA200
MMA300 = SMA300.
MMAextra1 = ema 8
MMAextra2 = ema21
MMAextra3 = sma400
MMAextra4 = sma500.
It has an Asian range that goes from 21: 00-07: 00 UTC which turns the color of the candle in green.
And pre-sessions that is one hour before the opening, the time of the opening and the hour after the opening of London and New York.
200 EMA RoC Vs IndexThis indicator calculates 200 EMA rate of Change, between today's value vs yesterday's value
I found it useful and easier to track the trend.
I added 50 SMA as additional help top calculate averages between data. if the 50 SMA crosses over it will show gray background, and red if it crosses down.
The Histogram represent Index data.
Best use for Stock Market
Color Changing Moving Average
Hello everybody!
I'm not much of a coder but I do make indicators for myself for fun sometimes and found this one super cool. Hope it helps!
Basically it's a moving average that changes colors based on the trend. How does it do it, you may ask? Simply put, it checks and makes sure that the open and close price is above the moving average, then it checks and sees if the 50-period RSI (length adjustable) is above 50. If both conditions are met, the moving average turns green. Simple as that.
If the price is below the moving average and the RSI is below 50, the moving average turns red.
If the price is above the moving average but the RSI is below 50, the line is grey and I advise to simply waiting for the trend direction to be decided. Likewise, if the price is below the moving average, but the RSI is above 50, the line is also grey.
This is NOT a comprehensive system, and the changing color of the moving average does not indicate a buy or sell signal. It simply indicates that the price is trending. You should use your own entry and exit strategy, such as the MACD, Wave Trend, Schaff Trend Cycle, etc.
As well, I would recommend waiting for confirmation of a trend change when the color changes, since in a range price can cross multiple times before deciding on the right direction.
The slope of the moving average can help too, since in a range the moving average is typically flat.
I would recommend using a fixed risk to reward ratio, to limit emotions. But, this would also help with a trend-following strategy due to the trend filter functionality.
The length of the moving average is adjustable, as well as the RSI period- though I wouldn't recommend selecting an RSI lower than 30 because it will whipsaw more. Disabling the EMA option will give you an SMA that does the same thing as the EMA. You can also disable the RSI filter and simply have a moving average that changes color when the price is above/below- but that's pretty boring, huh?
Anyways, hope this helps, happy trading everybody :)
Bollinger Bands + RSI Alerts for 3commas/DCA botHey Folks !
This is in indicator that generates buy alerts combining Bollinger Bands and RSI.
RSI validates the BB signal by confirming we are not in an oversold area.
Interval: 3m to 15m
Recommended settings for 3commas DCA bot
- TP/TTP: 0.3%/0.1%,
- Base Order: Your choice ,
- Safety Order: 1.2 * Your choice of base order
- Safety Order Volume Scale: 1.2,
- Safety Order Step Scale: 1.5,
- Price Deviation to Open Safety Order (% from initial order): 0.25%,
- Max Safety Trades Count: 7
- DO NOT USE STOP LOSS
> Create Alert with Buy Alert and link it to "Message for deal start signal"
Multicheck NYSE GORCSummary:
This script is an extension of GORC Indicator, it allows to verify if any of 22 different ticker symbols belowing to Nyse Composite Exchange accomplish with a green candle is over a red candle after a rebound in the exponential average of 20 periods, or had a rebound in teh simple moving average of 50 periods
The script will check the condition described above in any timeframe you are positioned. For example: In you are checking INTC (it doesn't matters the ticker symbol you are analyzing) in 4 hours timeframe, the script will check all the 22 ticker symbols selected in order to accomplish the condition, after that if you change to other timeframe, like 5 minutes, ths script will check again but this time in 5 minutes period for the 22 ticker symbols pre-selected, and so on
Options:
You can select any of the ticker symbols that belows to the Nyse Composite Exchange. Maximun number of ticker symbols = 22
Multicheck NASDAQ GORCSummary:
This script is an extension of GORC Indicator, it allows to verify if any of 22 different ticker symbols belowing to Nasdaq Composite Exchange accomplish with a green candle is over a red candle after a rebound in the exponential average of 20 periods, or had a rebound in teh simple moving average of 50 periods
The script will check the condition described above in any timeframe you are positioned. For example: In you are checking INTC (it doesn't matters the ticker symbol you are analyzing) in 4 hours timeframe, the script will check all the 22 ticker symbols selected in order to accomplish the condition, after that if you change to other timeframe, like 5 minutes, ths script will check again but this time in 5 minutes period for the 22 ticker symbols pre-selected, and so on
Options:
You can select any of the ticker symbols that belows to the Nasdaq Composite Exchange. Maximun number of ticker symbols = 22
Exotic SMA Explorations Treasure TroveThis is my "Exotic SMA Explorations Treasure Trove" intended for educational purposes, yet these functions will also have utility in special applications with other algorithms. Firstly, the Pine built-in sma() is exceedingly more efficient computationally on TV servers than these functions will be. I just wanted to make that very crystal clear. My notes elaborate on this in the code blatantly.
Anyhow, the simple moving average(SMA) is one of the most common averaging filters used in a wide variety of algorithms. "Simply put," it's name says a lot about it. The purpose of this script, is to demonstrate variations of it's calculation in a multitude of exotic forms. In certain scenarios our algorithms may require a specific mathemagical touch that is pertinent to our intended goals. Like screwdrivers, we often need different types depending on the objective we are trying to attain. The SMA also serves as the most basic of finite impulse response(FIR) algorithms. For example, things like weighted moving averages can be constructed by using the foundational code of SMA.
One other intended demonstration of this script, is running multiple functions for comparison. I have had to use this from time to time for my own comparisons of performance. Also, imbedded into this code is a method to generically and recklessly in this case, adapt an algorithm. I will warn you, RSI was NEVER intended to adapt an algorithm. It only serves as a crude method to display the versatility of these different algorithms, whether it be a benefit or hinderance concerning dynamic adaptability.
Lastly, this script shows the versatility of TV's NEW additions input(group=) and input(inline=) upgrades in action. The "Immense Power of Pine" is always evolving and will continue to do so, I assure you of that. We can now categorize our input()s without using the input(type=input.bool) hackTrick. Although, that still will have it's enduring versatility, at least for myself.
NOTICE: You have absolute freedom to use this source code any way you see fit within your new Pine projects. You don't have to ask for my permission to reuse these functions in your published scripts, simply because I have better things to do than answer requests for the reuse of these functions. Sufficient accreditation regarding this script and compliance with "TV's House Rules" regarding code reuse, is as easy as copying the functions in their entirety as is. Fair enough? Good!
When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. Have a profitable future everyone!
Go_up Hello. Our task is to find the local minimum. The trade is entered on the basis of RSI and SMA according to a specific formula, which is embedded in the code. When the RSI crosses the SMA upside down, a long position is entered. You can change the length of the RSI. The longer the length, the less frequent, but more accurate the entrance, and vice versa. You can use a different time frame. The default RSI length is 25 and the time frame is 15 minutes. Use hooks for auto trading, there is an alert. I recommend using a larger number of altcoins and with the default settings or TF 5 minutes. If you want to "scalp", then use the length 15-21 and take profit 0.5-2 percent. See the history of signals and you can make the optimal strategy for yourself. Due to the strong volatility, these settings are optimal. I use position averaging over history, additional purchase occurs no more than three times, before going into a plus. Entering a trade in notifications "once per bar". To exit, you can use scripts from other authors, for example, pivot / resistance points. No repainting. If anyone has any questions, write, I will answer in detail. good luck trading, dear friends!