Momentum Adjusted EMA TrendThe script draws a moving average which responds to trend changes extraordinary fast!
It's calculated using Momentum, Acceleration and Probability (Psychological Effect) by interfering the Golden Ratio!
I got the idea thanks to Tradingview user DGT (dgtrd) and his/her excellent descriptions.
The indicator is simplified for users and the default settings work great, so use it as you like specially as a trend indicator.
Đường Trung bình trượt Hàm mũ (EMA)
McGinley Dynamic (Improved) - John R. McGinley, Jr.For all the McGinley enthusiasts out there, this is my improved version of the "McGinley Dynamic", originally formulated and publicized in 1990 by John R. McGinley, Jr. Prior to this release, I recently had an encounter with a member request regarding the reliability and stability of the general algorithm. Years ago, I attempted to discover the root of it's inconsistency, but success was not possible until now. Being no stranger to a good old fashioned computational crisis, I revisited it with considerable contemplation.
I discovered a lack of constraints in the formulation that either caused the algorithm to implode to near zero and zero OR it could explosively enlarge to near infinite values during unusual price action volatility conditions, occurring on different time frames. A numeric E-notation in a moving average doesn't mean a stock just shot up in excess of a few quintillion in value from just "10ish" moments ago. Anyone experienced with the usual McGinley Dynamic, has probably encountered this with dynamically dramatic surprises in their chart, destroying it's usability.
Well, I believe I have found an answer to this dilemma of 'susceptibility to miscalculation', to provide what is most likely McGinley's whole hearted intention. It required upgrading the formulation with two constraints applied to it using min/max() functions. Let me explain why below.
When using base numbers with an exponent to the power of four, some miniature numbers smaller than one can numerically collapse to near 0 values, or even 0.0 itself. A denominator of zero will always give any computational device a horribly bad day, not to mention the developer. Let this be an EASY lesson in computational division, I often entertainingly express to others. You have heard the terminology "$#|T happens!🙂" right? In the programming realm, "AnyNumber/0.0 CAN happen!🤪" too, and it happens "A LOT" unexpectedly, even when it's highly improbable. On the other hand, numbers a bit larger than 2 with the power of four can tremendously expand rapidly to the numeric limits of 64-bit processing, generating ginormous spikes on a chart.
The ephemeral presence of one OR both of those potentials now has a combined satisfactory remedy, AND you as TV members now have it, endowed with the ever evolving "Power of Pine". Oh yeah, this one plots from bar_index==0 too. It also has experimental settings tweaks to play with, that may reveal untapped potential of this formulation. This function now has gain of function capabilities, NOT to be confused with viral gain of function enhancements from reckless BSL-4 leaking laboratories that need to be eternally abolished from this planet. Although, I do have hopes this imd() function has the potential to go viral. I believe this improved function may have utility in the future by developers of the TradingView community. You have the source, and use it wisely...
I included an generic ema() plot for a basic comparison, ultimately unveiling some of this algorithm's unique characteristics differing on a variety of time frames. Also another unconstrained function is included to display some the disparities of having no limitations on a divisor in the calculation. I strongly advise against the use of umd() in any published script. There is simply just no reason to even ponder using it. I also included notes in the script to warn against this. It's funny now, but some folks don't always read/understand my advisories... You have been warned!
NOTICE: You have absolute freedom to use this source code any way you see fit within your new Pine projects, and that includes TV themselves. You don't have to ask for my permission to reuse this improved function in your published scripts, simply because I have better things to do than answer requests for the reuse of this simplistic imd() function. Sufficient accreditation regarding this script and compliance with "TV's House Rules" regarding code reuse, is as easy as copying the entire function as is. Fair enough? Good! I have a backlog of "computational crises" to contend with, including another one during the writing of this elaborate description.
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!
First Script, buy/sell on EMASpent many hours working on a script to find out when the next earnings report is.. there should be a builtin feature but anyways, it's done now.. The strat is to buy and sell based on the EMA (Whatever that is) and to exit all entries if the Earnings report is within a week.
CryptoScalp v2.1CryptoScalp is a script that will allow us to identify possible entries while we do scalping, it is not of absolute truth but rather marks us a possible entry, the decision to enter or not is ours!
To use it, just add it to the graph we want to analyze, it has the following values preconfigured:
Bollinger Bands (BB Length): 20
Fast EMA (EMA 0 Length): 13
Slow EMA (EMA 1 Length): 36
EMA 2 (support | resistance): 200
EMA 2 Period (only appears in the configured period, 4h): 240
Volume MA: 10
Playing with these values will allow us to find our strategy.
How does the script work?
Basically, to mark a possible entry, in principle it controls that the Volume exceeds the Average of the configured Volume (Volume MA), and after the fast EMA (EMA 0) crosses over the slow EMA (EMA 1), if these conditions are met, it paints a background bar to identify a simple look at the crossing, and as said at the beginning, the decision is ours!
I hope it will be of help to you as it is being for me!
Moving Average Colored EMA/3 SMA1. Updated this available script to have 2 SMA's and 2 EMA's.
2. Revised so that plot turns white when flat.
3. Added Trend Gain to control what slope "flat" has for different TF's.
EMA Difference MinMax ScaledDifference between two EMAs and then transformed through a MinMax scaler
EMA crossover - BTC/USD 4hrThis is my first strategy script, and looking at other EMA crossover strategies, there wasn't anything that I have seen which allowed different EMAs to be used for each Enter/Exit signal
This uses a long term trend ling (one for Longs, one for shorts) to decide if we are in a bull bear market
• If in a bull market, then it will allow for the longs to be opened
• If in a bear market, then it will allow for the shorts to be opened
Comments and criticisms welcome
5-8-13 & 20-200 EMA Cross Over1) Popular EMA cross over combined as on indicator daily time frame
2) 5-8-13 for Swing 3EB- Bullish 3ES - Bearish
3) 20-200 EMA Cross over called as multi-bagger cross over with an inverted triangle in a smaller period of time
MEB - Bullish 20 ema crossed 200 ema, MES - Bearish vice versa
4) Simultaneously 20 50 are plotted in the graph as user input can be changed to according to user specific
Slim Ribbon Volume BarsThe Slim Ribbon Volume Bars indicator is intended to be paired with the Slim Ribbon. The Slim Ribbon is also available for free in TradingView. The Slim Ribbon Volume Bars indicator changes the color of the volume bars based on the momentum condition of the Slim Ribbon. When the Ribbons have a bullish condition, the indicator colors the volume bars green. When the Ribbons have a bearish condition, the indicator colors the volume bars red. Finally, when the Ribbons have a neutral condition, the indicator colors the volume bars gray. See below for an overview of the Slim Ribbon.
The Slim Ribbon was developed by Steve Miller. Steve Miller is a 46-year veteran stock, futures and options trader. His badge on the trading floor was his initials, “SLM” and has since gone by the nickname Slim.
The Slim Ribbon is a momentum indicator . It is composed of 3 exponential moving averages (8, 13 and 21). A bullish condition occurs when the 8 period MA is above the 13 period MA and the 13 period MA is above the 21 period MA. A bearish condition occurs when the 8 period MA is below the 13 period MA and the 13 period MA is below the 21 period MA. A neutral condition occurs when the Ribbons are not in alignment.
The Slim Ribbon also notifies you when we transition from one condition to another. A green up arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bullish condition. A red down arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bearish condition. A blue up arrow indicates that we have shifted from a bearish condition to a neutral condition. Lastly, a blue down arrow indicates that we have shifted from a bullish condition to a neutral condition.
We would recommend using the Slim Ribbon on a candlestick chart. Steve Miller believes in the importance of visualizing trends. As a result, we have designed the Slim Ribbon to change the color of the candlesticks based on the condition of the ribbon. When the Slim Ribbon has a bullish condition, the candlesticks will turn green. When the Slim Ribbon has a bearish condition, the candlesticks will turn red. When the Slim Ribbon has a neutral condition, the candlesticks will turn gray.
Slim RibbonThe Slim Ribbon was developed by Steve Miller. Steve Miller is a 46-year veteran stock, futures and options trader. His badge on the trading floor was his initials, “SLM” and has since gone by the nickname Slim.
The Slim Ribbon is a momentum indicator . It is composed of 3 exponential moving averages (8, 13 and 21). A bullish condition occurs when the 8 period MA is above the 13 period MA and the 13 period MA is above the 21 period MA. A bearish condition occurs when the 8 period MA is below the 13 period MA and the 13 period MA is below the 21 period MA. A neutral condition occurs when the Ribbons are not in alignment.
The Slim Ribbon also notifies you when we transition from one condition to another. A green up arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bullish condition. A red down arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bearish condition. A blue up arrow indicates that we have shifted from a bearish condition to a neutral condition. Lastly, a blue down arrow indicates that we have shifted from a bullish condition to a neutral condition.
We would recommend using the Slim Ribbon on a candlestick chart. Steve Miller believes in the importance of visualizing trends. As a result, we have designed the Slim Ribbon to change the color of the candlesticks based on the condition of the ribbon. When the Slim Ribbon has a bullish condition, the candlesticks will turn green. When the Slim Ribbon has a bearish condition, the candlesticks will turn red. When the Slim Ribbon has a neutral condition, the candlesticks will turn gray.
This indicator is designed to be paired with the Slim Ribbon Volume Bars indicator, which is also available for free in TradingView.
Simple and efficient 1h strategyThis strategy is made from a crossover of 2 ema : 4 and 8 in this case, together with a RSI of lenght 10 applied to hl2
The strategy is simple : we enter when we have a cross between the 2 ma's and rsi at the same time is in ascending or descending position crossing the middle line of 50.
For exit we have : at the end of a session( we trade only between london and newyork in this case, so we exit newyork), or through a tp/sl pip point system.
Hope you enjoy it.
GnG - WaveTrend with RSIShow WaveTrend Line and Stochastic RSI line Indicator in one script
When Stochastic RSI Line cross will show signal.
Helping users to know the signal of reversal.
Disclaimer On and Take your Own Risk.
Full strategy AllinOne with risk management MACD RSI PSAR ATR MAHey, I am glad to present you one of the strategies where I put a lot of time in it.
This strategy can be adapted to all type of timecharts like scalping, daytrading or swing.
The context is the next one :
First we have the ATR to calculate our TP/SL points. At the same time we have another rule once we enter(we enter based on % risk from total equity, in this example 1%, at the same time, lowest ammount for this example is 0.1 lots, but can be modified to 0.01), so we can exit both by tp/sl points, or by losing 1% of our equity or winning 1% of our total equity. It's dinamic.
The strategy is made from
Trend direction :
PSAR
First confirmation point :
Crossover between 10EMA and Bollinger bands middle point
Second confirmation
MACD histogram
Third confirmation
RSI overbought/oversold levels
For entries : we check trend with psar, then once ema cross bb middle point, we confirm together with rsi level for overbought/oversold and macd histogram ( > 0 or <0).
We exit, when we have opposite sign, like from buy to sell or sell to buy, or when we reach tp/sl points, or when we reach % basaed equity points.
It can be changed to be fixed lots, or fixed tp/sl , you just have to uncomment the size from entries, and tp/sl lines.
At the same time, it has the possibility if one desires, to trade only concrete forex session like european, asian and so on for intraday trading.
Hope you enjoy it.
Let me know how it goes.
Trend Following with Moving AveragesHello Traders,
With the info "Trend is Your Friend ", you should not take position against the trend. This script checks multipte moving averages if they are above/below the closing price and try to find trend. The moving averages with the length 8, 13, 21, 34, 55, 89, 144, 233, 377 used. these are fibonacci numbers, but optionally you can change the lengths of each moving averages. while it's green you better take long positions, while it's red you better take short positions according to other indcators or tools.
Optionally you have "smoothing" option to get rid of whipsaws. it's enabled by default.
You have option to use following moving average types: EMA, SMA, RMA, WMA, VWMA. by default it's EMA
Also the script has "Resolution" option. with this option you can get the trend for other time frames, in following example 1h was set as for higher time frame on 15m chart:
This should not be used as buy/sell signal indicators as it's tries to find trend but not entry points, you should use other indicators (such RSI, Momentum) or other tools to find buy/sell signals.
Enjoy!
4 EMA Crossover w/alerts4 EMA crossover visualized (buy/sell) w/ alerts.
Personally I use 8, 13, 21 & 55 for LTF's and 21, 55, 100 & 200 for HTF's
21/55 EMA Cloud w/ Optional RibbonThis indicator behaves like a traditional EMA ribbon by using the 21, 25, 30, 35, 40, 45, 50, and 55 bar exponential moving averages. In this particular indicator, the traditional EMA ribbon lines are turned off by default leaving only a filled in area between the 21 and 55 bar averages. The filled in area is green when the 21 bar average is greater than the 55 and red otherwise. Additionally, the 9, 100, and 200 exponential moving averages are available for reference.