Ark Crypto HeatbandThe crypto landscape is largely dominated by BTC and characterised by cyclical stages with varying degrees of mean reversion.
To understand what stage of the cycle we are currently experiencing, it is useful to examine to what degree the current BTC price has extended beyond a long term average. This is true even when analysing other crypto assets and helpful to view side by side.
This indicator uses the 1400 period daily SMA, which is broadly the 200 period weekly SMA. This can be configured, but historically has represented a baseline to which BTC commonly returns.
The graph plots current price in terms of multiples of this long term average. Traditionally, at multiples beyond 10, BTC is considered overextended with a higher likelihood of trending towards the mean thereafter. Colors indicate the extend of price extension.
The indicator specifically references BTC by default on all charts as it is designed to use BTC as general purpose indication of where crypto as a whole currently sits. Accordingly the indicator is only to be used on crypto charts.
単純移動平均 (SMA)
Cloud & Ribbon Moving AveragesGreat for reversals, entry points for long & short positions.
Clouds change colors when crossover between 2 MA's occur.
Options for:
5-12 Day EMA
34-50 day EMA
150-200 day SMA
8-9 Day EMA Ribbon
HLC MA One LineHLC MA is a simple Moving Average which compares x period close and hlc3 averages and takes the greater one. So, it's a pretty fast Moving Average. It's also color coded. Green, white, and red used for up trend, possible correction or transition area and down trend, respectively. It's smoothed by using a simple method, color of the indicator only changes when its value higher or lower than its n period earlier value. By doing this, HLC MA manages to be fast and and less prone to false trend changes.
White MAThis modified indicator just based on my 2cent strategy & experience,
which is:-
MA6, MA20, MA50, MA200
However, I always turn off MA20 since I also use BB (20) indicator.
Generally, if small MA cross up big MA, then it becomes entry signal, & vice versa
Each entry signal need confirmation state which is next price should close higher than crossing price.
If price close lower than crossing price, then it will be invalid entry's signal,
while if price keep maintain at same value, then it's mean uncertain for me until it close whether above or below crossing price.
"Strategy 1" (General)
In TF1D, the pattern should fulfill my condition as below:-
- MA20 above MA50 (bullish uptrend)
- Price pullback at least touch MA20 for reversal (making Higher Low)
- Price break resistance of pullback's price
My entry signal only after it close above the resistance, near "support" (RBS, Resistance become Support)
My stop-loss, if and only if price touch previous SMA6 price (or SMA10)
Unfortunately, I haven't had any specific target price. It's depending on what kind of "player" you are. (achievement)
Few TPs those I used:-
- Price touch my Static Resistance on chart obtained from,
~ Pullback price
~ Fibo (1.61++)
~ Higher price in 3 months, 6 months, 1 year, 3 year, and so on. (road to ATH, All Time High)
- Price close outside Upper BB (Dynamic Resistance)
I don't assume sell signal by using crossing indicator as TP, it's more to stop-loss for me. (means stop from loss your profit)
"Strategy 2" (Reversal Entry)
In TF15 minutes, we are assuming entry signal when SMA6 cross up SMA50. However, it's still need confirmation by next closing price.
This strategy can be apply in TF1D although SMA20 doesn't cross up SMA50 yet.
That's all my sharing strategy/system based on my 2cent experience, it's not a prefects strategy but I hope it will gives some idea for you guys in order to obtain your own system.
Fancy Bollinger Bands Strategy [BigBitsIO]This script is for a Bollinger Band type indicator with built-in TradingView strategy including as many features as I can possibly fit into a Bollinger Band type indicator including a wide variety of options to create the most flexible Bollinger Bands strategy possible.
Features:
- A single custom moving average serving as the middle band.
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- MA Candle Type
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
- Toggle showing details on the screen
- Toggle the visibility of the fill between the upper and lower bands.
- Toggle to use ATR instead of the standard deviation to calculate the location of the upper and lower bands.
- Custom input for the ATR period.
Strategy Features
-Strategy Window - only test during this window
-Take Profit and Stop Loss
-Open and Close conditions, including condition counts and any/all requirements
-Many conditions to choose from that can either be selected to open, close or open and close a position
-Conditions include:
-Price crossing above/below the Upper, Middle, or Lower bands
-Price being above/below the Upper, Middle, or Lower bands
-Bollinger Band width crossing or being above/below custom values
-Percent B crossing or being above/below custom values
This script may contain errors, or out of date code. Please be mindful of updates to the script.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Multi MA CloudsEMA Clouds are used for identifying trends. It helps to see moving averages as in a range especially when you look at them in Micro time frames like 1/5/10/15/30 mins. So these Clouds could be used for Intraday trading for identifying trends and pullbacks.
For example, on a 10min chart, once you see a parabolic move, don't take trade until the bar touches 5/13 or 8/9 EMA clouds.
There are other EMA cloud scripts available but this one gives you option to choose MA Type and Source in addition to providing all well known MA range in one script. You can modify the MA length as you wish. So you can disable one you don't want to see on the chart.
Please look at my other scripts at www.tradingview.com
Combined EMA & MA crossovers [CDI]Implementation of the strategy of moving averages crossings combining two fast and two slow that are used to confirm the entry.
The purpose is to be able to quickly see a backtesting of the strategy by easily configuring the profit / loss percentage. In this script the profit percentage is used for the loss percentage as well.
Additionally you can see the moving averages all in a single chart tool.
In the community to which I belong, this strategy is used in daily candles, especially for swing trading, but it can be used in different time frames.
WARNING:
- For purpose educate only
- The entries are used under your responsibility
Krown Moving Averages & Crossover LevelsIntroducing Krown Moving Averages with Crossover levels.
This indicator
Plots 5 Ema's and 3 SMA's ( Default Krown Periods )
It calculates the price levels at which each pair of moving averages would be equal .
That means that if price closes the other side of that level the pair of moving will cross also.
These levels can therefore be considered as " crossover levels....( the price level where each pair of moving averages will cross)
It can give crossover levels for
SMA crossing SMA
EMA crossing EMA
EMA crossing SMA
Plots optional Labels for all crossover levels....(off by default needs to be turned on in the settings)
Plots optional crossover levels as lines and dots colored as the 2 colors of the pair of moving averages.....(off by default needs to be turned on in the settings)
This indicator is aimed at traders who use simple and exponential moving average crossovers as part of their trading plan or edge.
It takes the guesswork out of knowing at what price level a pair of moving averages will cross which helps to improve entries and risk management.
There is an optional "Cutoff" function and user adjustable "limit factor" which cuts the plots off once they are too far below or above the current price to prevent chart auto focus issues.
There is a decimal place truncation option to set the decimal places depending on the asset type and price accuracy required.
Inspired by a request from a community member after one of my recent reverse engineered indicator publications.
I am publishing this open source in the hopes that some newer coders will find the functions interesting and useful.
Equal-Length EMA/SMA Crossover Momentum Signal V1Overview:
This momentum and trend-following strategy captures the majority of any trending move, and works well on high timeframes.
It uses an equal-period EMA and SMA crossover to detect trend acceleration/deceleration, since an EMA places a greater weight and significance on the most recent data.
This version is optimized for longs, and designed to cut your losses quickly and let your winners run.
To reduce noise and optimize entries, we combined this with an overall trend bias for further confluence.
How it works:
Signals are determined by the crossover of an EMA and SMA of the same length, e.g. EMA-50 and SMA-50.
The overall trend bias is determined using a slower SMA golden/death cross, e.g. SMA-50 and SMA-100.
The signal is stronger when it occurs in confluence with the overall trend bias, e.g. when EMA-50 crosses over SMA-50, while above the SMA-100. This is analogous to only opening long positions in a bull market.
Signal description:
Trend Buy: EMA crosses above SMA, and overall trend bias is bullish. Buying is in confluence with the overall trend bias.
Risky Buy: EMA crosses above SMA, and overall trend bias is bearish. Buying is early, more risky, and not in confluence with the overall trend bias.
Late Buy: SMA crosses above BIAS_SLOW. This gives further confirmation of bullish trend, but signal comes later.
Sell: EMA crosses under SMA.
200 Week Moving Average HeatmapСolors part of the SMA depending on the change in % (delta %) to the previous value. From blue(none to low increase) through green(moderate increase) to red(high increase).
Custom Moving Average (EMA & SMA)This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
enable (disable) the plot of MA;
select whether the MA is an EMA or an SMA;
the length;
the source (open, close, ...);
the offset value (default is 0).
Note:
The 1st MA is an EMA with length 50.
The others MAs are SMA with length 9, 30 and 100 respectively.
On Chart Anticipated Moving Average Crossover IndicatorIntroducing the on chart moving average crossover indicator.
This is my On Chart Pinescript implementation of the Anticipated Simple Moving Average Crossover idea.
This indicator plots 6 user defined moving averages.
It also plots the 5 price levels required on the next close to cross a user selected moving average with the 5 other user defined moving averages
It also gives signals of anticipated moving average crosses as arrows on chart and also as tradingview alerts with a very high degree of accuracy
Much respect to the creator of the original idea Mr. Dimitris Tsokakis
Moving Averages
A moving average simplifies price data by smoothing it out by averaging closing prices and creating one flowing line which makes seeing the trend easier.
Moving averages can work well in strong trending conditions, but poorly in choppy or ranging conditions.
Adjusting the time frame can remedy this problem temporarily, although at some point, these issues are likely to occur regardless of the time frame chosen for the moving average(s).
While Exponential moving averages react quicker to price changes than simple moving averages. In some cases, this may be good, and in others, it may cause false signals.
Moving averages with a shorter look back period (20 days, for example) will also respond quicker to price changes than an average with a longer look back period (200 days).
Trading Strategies — Moving Average Crossovers
Moving average crossovers are a popular strategy for both entries and exits. MAs can also highlight areas of potential support or resistance.
The first type is a price crossover, which is when the price crosses above or below a moving average to signal a potential change in trend.
Another strategy is to apply two moving averages to a chart: one longer and one shorter.
When the shorter-term MA crosses above the longer-term MA, it's a buy signal, as it indicates that the trend is shifting up. This is known as a "golden cross."
Meanwhile, when the shorter-term MA crosses below the longer-term MA, it's a sell signal, as it indicates that the trend is shifting down. This is known as a "dead/death cross."
MA and MA Cross Strategy Disadvantages
Moving averages are calculated based on historical data, and while this may appear predictive nothing about the calculation is predictive in nature.
Moving averages are always based on historical data and simply show the average price over a certain time period.
Therefore, results using moving averages can be quite random.
At times, the market seems to respect MA support/resistance and trade signals, and at other times, it shows these indicators no respect.
One major problem is that, if the price action becomes choppy, the price may swing back and forth, generating multiple trend reversal or trade signals.
When this occurs, it's best to step aside or utilize another indicator to help clarify the trend.
The same thing can occur with MA crossovers when the MAs get "tangled up" for a period of time during periods of consolidation, triggering multiple losing trades.
Ensure you use a robust risk management system to avoid getting "Chopped Up" or "Whip Sawed" during these periods.
MrBS:EMA/SMA/HMA (Heikin Ashi Calc)This indicator allows you to base the MA calculation from Heikin Ashi values on normal charts and/or the real OHLC values while looking at Heikin Ashi.
There are 3 MA types you can select - EMA / SMA / HMA
The colour is based on the slope.
I made this to help me visualize my DMI+ strategy, when I was looking at taking signals from Heikin Ashi but looking at candlesticks. Turns out, I was going down the wrong road. Now I'm looking into using the real OHLC values for generating signals but watching the Heikin Ashi chart as I find it easier to see trends on it.
Hopefully its useful to some people, and if you have any suggestions for improvements I'd love to know.
Myx.Mir_ Trd.Period c/w Background ColorMyx.Mir_ Trd.Period c/w Background Color
FBMKLCI is a main Indices/ references
Basis = Based on Simple Moving Average
Note:-
BG= Background Color
Based on personal study:-
BG is Green = Current index > MA 20 > MA 50 = Sign of Bullish // majority portfolio should be in green & make profit... Hehehe
BG is Yellow = MA50 < Current Index < MA 20 = No solid direction and/or sideways // ----------------------------------------------------... should plan to hold or exit
BG is Red = Current Index < MA 50 = Sign of Bearish // majority of portfolio should be in red... Hehehe. Should be run Fast Fast.....
can do your own Trade Record Based on 3 phases
a) When the strategy/ Technique are perform better @ more gain and Don't chase the price ... "nanti asal Kejar Pucuks Je price terus Droppp..." Hehe.
b) When the strategy / Technique not perform well...
Examples of Rolling Average Using Automated AnchoringIn this study, I present a method to expose NaN values to development environment.
This exposure allows NaN values to be used by methods in scripts.
I also show how to use values, even NaN values, as anchors from which statistics can be computed from.
I demonstrate how to do this with constants and variables in methods for computing the cumulative/rolling average of a series.
I also show how to calculate the cumulative/rolling average from the start of a ticker series using the aforementioned methods.
Each method has a description on how some of their parts work as well as their constraints.
Method #1 - Can only be used for computing the rolling average on the ticker series.
Method #2 - The simple moving average from the Pine Script reference.
- Can be used to calculate the rolling average of the ticker series and number values of a series.
- This method seems to cause an error when there are many bars in the series.
Method #3 - The most versatile method due to the use of computing the rolling average using an array.
- Timeout will occur when computing the rolling average of an entire ticker series which is long.
- Timeout has not occurred when computing a rolling average of a series from NaN or non-NaN anchor points even when the series is long.
This is an attempt to get around the constraints of the built-in sma(source, length) function in which length cannot be dynamically adjusted.
Other Pine Script functions have that constraint which we can get around by defining our own functions.
[MACLEN] HODL ZONE RENKO
PLEASE READ!
Trade at your own risk. Please read about renko charts before using this indicator. This indicator is for educational purposes only.
This Indicator is only valid in renko charts with 1 second timeframe. For BTCUSDT . With the traditional method and the size box of 80.
With this indicator we can detect zones of buy and sell. Even that is not recommended to use leverage, I use it to find an entry and use only small leverages. It could be also used to accumulate and HODL bitcoin .
Please, comment anything.
POR FAVOR LEER!
Tradea bajo tu propio riesgo. Por favor lee sobre las graficas renko antes de usar este indicador. Este indicador es solamente con fines educativos.
Este indicador es válido solamente en graficas renko con un timeframe de 1 segundo. Para BTCUSDT . Con cajas del método tradicional de un tamaño de 80.
Con este indicador podemos detectar zonas de compra y venta. A pesar de que no es recomendable usar apalancamiento, yo lo uso para encontrar entradas y solo uso apalancamientos pequeños. También podría usarse para acumular y holdear bitcoin .
Por favor, escríbeme cualquier duda o comentario.
Multi Time Frame Moving Averages [Anan]Hello friends,
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
SMA
Smooth SMA
SuperSmooth MA
EMA
DEMA
TEMA
Triangular MA
QEMA
RMA
Hull MA
KAMA
WMA
VWMA
VWAP
CTI
LSMA
VIDYA
Blackman Filter
Adaptive RSI
also there is an option to see the Average of four lengths, i backtest this and found it super great !
MAST TrendHello Traders !!
This is a simple super trend based MAST trend.
By default the supertrend is 10 period with 3 ATR multiplier.
A moving average is used to benefit from the pullback entries.
Bullish Pullback : Price above Supertrend & below MA
Bullish: Price above Supertrend and above MA
Bearish pullback : Price below Supertrend & above MA
Bearish : Price below Supertrend & below MA
Refer to investopedia or any relevant articles for in detail about Supertrend.
Colored MA with crossovers The indicator is used to identify trends in different MA and mark crossovers/crossunders with triangles on chart. Each MA line has different linewidth to easier identify it's value. Lines are transparent not draw to much attention, crossovers marked to draw attention to pivotal moments.
Choose SMA or EMA type.
Enable/disable crossover/crossunder.
Each MA line is adjustable in the input tab.
Each MA line has different linewidth to easier identify it's value (higher value bigger linewidth).
Each MA line changes color depending on it's gradient, green if positive, red if negative, gray if flat.
Edit which crossovers/crossunders to be visible in the style tab . In the same tab colors is adjustable.
Candle Height in Percentage - ColumnsThis indicator calculates the difference in percentage between lows and highs of a candle. The orange bars show the height of the candle body (open/close) and the red/green on top show the percentage of the wicks (high/low). This assists in understanding the volatility of an asset. Showing this in percentages is more helpful in crypto. It also shows the Simple Moving Average of this data with the blue line.
SMA + Trend Strength + Trailing Stop LossThe 'SMA + Trend Strength + Trailing Stop Loss' indicator was designed for swing trading long positions over the course of days/weeks. The benefit of the indicator is to identify areas where the market of a given asset is showing signs of a strong uptrend, divergences, and fear. A 13-bar simple moving average is color coded to four colors based on 5 given conditions at a time, which are represented as a trend meter on the bottom right of the screen. A trailing stop loss indicator is included to secure your profits or limit your loss in case the market reverses on you unexpected. Please use this indicator responsibly with proper risk management, and never rely on the indicator by itself for buy and sell signals.
When the simple moving average color is green, it means that at least 4 of 5 conditions are confirming a move upwards, this is when you can take an entry into a trade based on your entry strategy. As the trend continues, the color will eventually change to yellow signaling a divergence. This is when you can use your exit strategy to find a good point to sell. It is wise not to take new positions when the color is trending yellow.
If the color changes from yellow to orange, that is a warning sign that the trend is about to change or has begun to change. Prices may have already fallen. However, sometimes the color will change from yellow back to green signaling a continuation of the trend. You can either keep holding or take a new position in this instance.
When the color is red, this signals fear in the market, you should stay out of the market at first. However, as the market consolidates and the color starts changing back to orange, this is an opportunity to take a long position at a reasonably low price.
Simple Moving Average (13-Bar) Color Explanation:
The colors change based on 5 market conditions represented in the trend meter.
Green: Strong Uptrend
Yellow: Divergence Present
Orange: Warning
Red: Fear
Trend Meter Explanation:
The trend meter draws 5 arrows indicating bullish or bearish presence.
LL = Lower Lows - Detects when the market is trending with lower lows.
HH = Higher Highs - Detects when the market is trending with higher highs.
MA = SMA Direction - A formula is used to determine the direction of the SMA.
DI = Directional Index - Identifies when upwards momentum is trending.
RSI = Relative Strength Index - Identifies when the RSI is in an uptrend state.
Note: For advanced users, this indicator has a hidden DMI(4, 4, 4) and RSI(14) indicator used to determine the last two conditions. The Directional Index is based on a DI Plus momentum moving average to determine a momentum trend and the RSI trending over 50 will constitute an uptrend signal as below 50 it will point down.
Trailing stop loss:
The trailing stop loss is determined based on the lowest price of the last 8 bars.
A gray step-line is drawn at the suggested stop activation price.
A red step-line is drawn at the suggested stop limit price.
When the price breaches the trailing stop, a red X will appear below the bar.
You can turn each of these features on or off based on your preference. Happy trading!