Vc trend analysisCan be used to find the direction of a trend
Determination of support and resistance levels
In combination, it can assess the short and long term
Main functions
Trend Short Perspective - Shows the trend at short distances.
Main Market Trend - Reflects the main market trend, can be used as a signal.
Intermediate Moving Average - Typically the last support line in an uptrend
The buyback zone is a basic and strong support level
Swing - displays the long-term direction. Also used as a deeper retracement level
Exponential Moving Average (EMA)
Ehler Fisher applied on distance EMAThis is an improved version of Fisher, which use as a source the distance from EMA , compared to the initial source which was on the close of a candle.
It can be used in any market, any time frame .
For conditions we have multiple conditions for the logic, in this case initially if our fisher is above 0 is a long direction ,if its belowe 0 its a short direction.
Also we can improve this condition even further, in this case if we cross up our previous line its a buy signal, and if we cross down its a sell signal.
For best usage combine the cross together with the position of fisher respecting the 0.
If you have any other questions, let me know with a private message.
Double EMA CROSS
Double EMA CROSS (DEC)
Useful for identifying and receiving alerts about uptrends and downtrends.
This script uses two Exponential Moving Averages (EMAs) to find price uptrends and downtrends.
An Exponential Moving Average ( EMA ) is a type of moving average that places a greater weight and significance on the most recent data points.
The script produces uptrend and downtrend signals based on crossovers and divergences between the two EMAs,
the user will be able to spot a trend change (when the EMAs crossover) and to determine the strength of the current trend (when the EMAs diverge).
It is also posible to get alerts for uptrends and downtrends on the web and mobile app with sound and pop-ups as well as via email.
The optimal time to enter and exit the market can be concluded from this trend changes.
The user can set their own EMAs, by default they are set to 25 and 75 periods for medium and long term respectively.
When the medium term EMA crosses below the long term EMA the asset is in a downtrend and the price will decline, and when the
medium term EMA crosses above the long term EMA the asset is in an uptrend and price will increase.
This scripts plots the following indicators and signals on the chart to help the user to identify trends:
1.- Medium and long term EMAs as lines overlaid on the price chart.
2.- Up green triangles above bars when the price is on an uptrend and down red triangles below bars when the price is on a downtrend.
3.- Arrows with text to indicate the start of an uptrend or downtrend.
The user can enable and disable the indicators and signals as well as set colors and shapes to their liking.
This script also lets the user create alerts for uptrends and downtrends. To create a new alert using this script follow this instructions:
1.- Once you added this script to your chart, go to the alerts panel (right on web or bottom tool bar on the mobile app) and add a new alert (alarm clock icon with a plus sign).
2.- A modal window will open. On the “Condition” dropdown menu select “DEC”.
3.- On the next dropdown menu (right below the “Condition” one) you can select.
4.- Lastly you can set all the normal alert options and create the alert.
ACD PMAPMA (Pivot Moving average) is a set of 3 EMAs on HLC3 data.
When all PMAs are rising, market is considered bullish and the color of PMA becomes green. When all PMAs are falling, market is considered bearish and the color of the PMA becomes red. Otherwise, market is considered ranging and the color becomes orange.
It's also possible to set the resolution of PMAs. For example, you can see daily PMA of 15min charts. This way, if resolution of PMA is greater than resolution of chart, a vertical line shows the beginning of the PMA's resolution candles.
These PMAs are important components of Mark Fisher's ACD strategy.
EMA CrossoversUseful for identifying and receiving alerts about uptrends and downtrends.
This script uses two Exponential Moving Averages (EMAs) to find price uptrends and downtrends. An Exponential Moving Average (EMA) is a type of moving average that places a greater weight and significance on the most recent data points. The script produces uptrend and downtrend signals based on crossovers and divergences between the two EMAs, the user will be able to spot a trend change (when the EMAs crossover) and to determine the strength of the current trend (when the EMAs diverge). It is also posible to get alerts for uptrends and downtrends on the web and mobile app with sound and pop-ups as well as via email. The optimal time to enter and exit the market can be concluded from this trend changes.
The user can set their own EMAs, by default they are set to 21 and 55 periods for medium and long term respectively. When the medium term EMA crosses below the long term EMA the asset is in a downtrend and the price will decline, and when the medium term EMA crosses above the long term EMA the asset is in an uptrend and price will increase.
This scripts plots the following indicators and signals on the chart to help the user to identify trends:
1.- Medium and long term EMAs as lines overlaid on the price chart.
2.- Up green triangles above bars when the price is on an uptrend and down red triangles below bars when the price is on a downtrend.
3.- Arrows with text to indicate the start of an uptrend or downtrend.
The user can enable and disable the indicators and signals as well as set colors and shapes to their liking.
This script also lets the user create alerts for uptrends and downtrends. To create a new alert using this script follow this instructions:
1.- Once you added this script to your chart, go to the alerts panel (right on web or bottom tool bar on the mobile app) and add a new alert (alarm clock icon with a plus sign).
2.- A modal window will open. On the “Condition” dropdown menu select “EMA Crossovers”.
3.- On the next dropdown menu (right below the “Condition” one) you can select from two types of alerts “Uptrend started” and “Downtrend started”.
4.- Lastly you can set all the normal alert options and create the alert.
EMA Cross LevelsCalculates fast and slow moving averages of lengths(inputs= 'n_fast', 'n_slow').
Plots the price level of the most recent cross. If bullish cross (fast crosses up over slow), color = green, and color=red if cross was bearish.
XAU/USD RSI EMA 1hour strategyThis is a strategy made for gold 1h.
Its made of RSI and EMA .
The rules are simple we are above ema and the rsi > oversold area we enter long. For short we are belowe ema and rsi < oversold area
IF you have any questions private message me !
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
OBV Accumulation / Distribution Strategy CryptoThis version its made for 8-12h and works amazingly on the ETH pairs. Can be adapted to others as well
For this example, I used an initial 1$ account, using always full capital on each trade(without using any leverage), together with a 0.1% commission/fees for each deal, on Coinbase broker.
This is a long only strategy
The components for the inside of the strategy are the next one :
1. OBV Accumulation/Distribution
3. EMA
The rules here are simple : we check for cross up or above on OBV and EMAmoving average and after that we check for the trend direction based on ascending/descending OBV. Based on this we enter long or exit long.
RISK WARNING
Trading on any financial market involves a risk of loss. Please consider carefully if such trading is appropriate for you. Past performance is not indicative of future results.
If you have any questions or you are interested in trying it, private message me and I will give you as soon as I see the message a trial for it.
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
EMA Crossover StrategyMoving average crossover systems measure drift in the market. They are great strategies for time-limited people.
So, why don't more people use them?
I think it's due to poor choice in choosing EMA lengths: Market Wizard Ed Seykota has a guideline for moving average crossovers: the slow line should be at least 3x the fast line. This removes a lot of the whipsaws inherent in moving average systems, which means greater profitability. His other piece of advice: long-only strategies are best in stock markets where there's a lot more upside potential.
Using these simple rules, we can reduce a lot of the whipsaws and low profitability trades! This strategy was made so you can see for yourself before trading.
=== HOW TO USE THIS INDICATOR ===
1) Choose your market and timeframe.
2) Choose the length.
3) Choose the multiplier.
4) Choose if the strategy is long-only or bidirectional.
Don't overthink the above! We don't know the best answers, that's why this strategy exists! We're going to test and find out.
After you find a good combination, set up an alert system with the default Exponential Moving Average indicators provided by TradingView.
=== TIPS ===
Increase the multiplier to reduce whipsaws (back and forth trades).
Increase the length to take fewer trades, decrease the length to take more trades.
Try a Long-Only strategy to see if that performs better.
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.
Buy/Sell Alert EMA with SuperFormula by zdmre*** Use it at your own risk
This indicator has 3 indicators and gives a buy/sell signal depending on the EMA.
3 indicators:
- Ichimoku
- Bollinger Band
- EMA
It also shows the value on the candle as a warning in the Buy and Sell signals. This value is calculated with a special formula I have created.
On the other hand Bollinger Band and Ichimoku Cloud are also included to check the accuracy of the signals.
For this indicator, I recommend a minimum of 4 hours chart.
Momentum Strategy (BTC/USDT; 30m) - STOCH RSI (with source code)Here's a strategy for low time frames (30min suggested) for BTC , based on momentum Analysis using Stochastic RSI
By default the strategy will use the 50% of the specified capital for each trade; if "Gamble Sizing" is enabled, it will add the specified amount of capital (25% by default, until reaching the 100% limit or lower) for the next trade after having detected a loss in the previous trade; if the next trade is successful, the size for the next trade comes back to 50%
• Trend Filter LONG: If the fast exponential moving average is UNDER the slow exponential moving average , it won't open LONG positions
• Trend Filter SHORT: If the fast exponential moving average is ABOVE the slow exponential moving average , it won't open SHORT positions
• Bars delay: the strategy will wait the specified amount of bars before closing the current position; the counter is triggered as soon as the closing trade condition is verified
BY MAKING USE OF THIS STRATEGY, YOU ACKNOWLEDGE AND AGREE THAT: (1) YOU ARE AWARE OF THE RISKS ASSOCIATED WITH TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; (2) YOU SHALL ASSUME ALL RISKS RELATED TO THE USE OF THIS STRATEGY AND TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; AND (3) I SHALL NOT BE LIABLE FOR ANY SUCH RISKS OR ADVERSE OUTCOMES.
SOURCE CODE BELOW
Effective Divergence Indicator
What is EffDI?
Effective Divergence Indicator(EffDI) is a modified Momentum indicator designed to detect divergences in stocks, futures, forex, and crypto, just to name a few.
How does it work?
It uses the EMA of daily velocity.
Isn't this the same as Momentum
No. Momentum compares the price x days ago, while this takes the EMA of the daily velocity.
Why is it better than momentum in detecting divergence?
Because it uses an EMA, an EMA gives weight to the latest prices. I don't know how to explain the logic behind this, but it works :)
ok,ok, I get it, but how do I use it to buy, sell, and get a ton of profits?
Refer to the diagram below.
Steps:
Step 1: Locate the divergence(marked A,B,C and D): no divergence, no trade.
Step 2: Locate the last EffDI high. Mark that E.
Step 3(entry): Buy when price goes above E. For shorts, Short Sell when price goes below E.
Step 4(exit): Exit position when another divergence is detected,
OR
When A new Lower Low is formed.
As you can see, if you follow the steps, there is a good chance the profits will come to you. Cheers!
DO YOU WANT MORE GOOD INDICATORS LIKE THESE TO IMPROVE YOUR TRADING? Then, make sure to follow @Trader_ph (or i will eat all of your cookies)
Feel free to use my code below, BUT make sure to credit me if you make any modifications. :)
TMA + OSMA Scalping SystemSystem is based on TMA Bands + OSMA + EMA Zone. Signal is generated when:
- price recently touched lower or upper band
- price is crossing EMA Zone
- OSMA is aligned in direction of trade to be taken
Natural Target would be opposite band set by TMA.
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.
@Cross_Media&Pivot&TRADE_Entry_and_ExitThis script uses the functions plot(), cross(), plotcandle(), pivothigh() and pivotllow(). You can see the candles in the color green, above EMA 72 (Exponetional Move Average), and the color red, below EMA72. You can identify the position of the crossing UP and DOWN of the EMA 08 x EMA 17, EMA 17 x EMA72. You can identify the TRADE ENTRY points with the pivot high and TRADE EXIT with the pivot Low.
EMA clouds (5/12 and 34/50)This is a custom ema cloud script with a 5/12 cloud and a 34/50 cloud.
Personally, I used to trade with the 20 ema and 50 ema, but wanted something with a little more robust. These clouds are especially great for the first hour of market open since strong bullish stocks that have gapped up overnight tend to follow these trends.
For example, Tesla opened above the clouds and used them as support before running all day.
NIO happened to do a similar move.
Repeating Plot/Alerts Workaround
Here we have 2 simple conditions for long and short.
Once a condition is met, it ignores the same signal until the other condition is met and vice versa.
Had this issue in a script of mine, but couldn't find any published idea regarding this.
Cheers.
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.
Moving Average Compilation by CryptonerdsThis script contains all commonly used types of moving averages in a single script. To our surprise, it turned out that there was no script available yet that contains multiple types of moving averages.
The following types of moving averages are included:
Simple Moving Averages (SMA)
Exponential Moving Averages (EMA)
Double Exponential Moving Averages (DEMA)
Display Triple Exponential Moving Averages (TEMA)
Display Weighted Moving Averages (WMA)
Display Hull Moving Averages (HMA)
Wilder's exponential moving averages (RMA)
Volume-Weighted Moving Averages (VWMA)
The user can configure what type of moving averages are displayed, including the length and up to five multiple moving averages per type. If you have any other request related to adding moving averages, please leave a comment in the section below.
If you've learned something new and found value, leave us a message to show your support!
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.