Ehlers 2 Pole Super Smoother Filter V2 [CC]The 2 Pole Super Smoother Filter was created by John Ehlers (Cycle Analytics For Traders pg 32) and this follows the price very closely and very useful because it is consistent with uptrends and falls sharply during a sudden downtrend so it should be able to help you stay more profitable. Buy when the indicator line turns green and sell when it turns red.
Let me know if there are other indicators you would like to see me publish or if you want something custom done!
ממוצע נע אקספוננציאלי (EMA)
Vervoort SmoothingThis script has both the Triple Exponential Moving Average (TEMA) and zero lag sma written as functions. Both from Capturing Profit with Technical Analysis (24-25) by Sylvain Vervoort.
Best regards,
capam
multi MA by Liquidator15 MA in a single indicator script.
7 different MA types:
- SMMA
- EMA
- SMA
- MG
- TMA
- DCF
- LSMA
multi timeframe.
Double Donchian, Double Keltner, no-overlayThis is rather an educational script on how you can put multiple channels on the chart in a relatively non-confusing manner. Because it can be done doesn't mean you should do it (especially as a beginner). However, you might want to use maybe two.
Normally, TradingView would put them all over each other causing chart to lose readability. By a few clever conditions, higher timeframe KC does draw on the chart only if it is outside lower timeframe KC. Lower timeframe Donchian is 99,5% outside both Keltner Channels, and it will not show if it overlaps at any point. Higher TF Donchian ale two lines but no background.
Keltner channel 1 uses original settings
Keltner channel 2 uses TradingView default settings
Donchian 1 uses TradingView default
Donchian 2 uses 60 periods used by Turtles if I remember it correct
Have a great trade!
TEMA, DEMA and SMA with crosses with alert functionality
Just a crude but functioning ma indicator with bullish and bearish crosses and alert functionality.
Trading Rush Signals & AlertsThis is an unofficial script for strategies tested on TRADING RUSH Youtube channel. Over time, most successful strategies will be added with an option to set strategy-specific alerts . Trading Rush Signals & Alerts will draw signals on the chart when the entry conditions are met. You can also opt for displaying indicators .
My script is meant for beginners but can be used by veterans too. Just pick only one or two strategies, you don't want to flood your chart with conflicting signals. You may want to support your trades with a proper analysis. If a new signal occurs when there is still an open position, you are not supposed to take another.
The current version includes MACD and Donchian Channels.
MACD strategy:
►Buy, when MACD crosses below the signal line when it is negative. The price must also be above 200 EMA.
►Sell, when MACD crosses above the signal line when it is positive. The price must also be below 200 EMA.
►This strategy was tested on 30-minute charts of EURUSD and EURJPY with reward-to-risk ratio 1,5 and win rate of 62% over 100 trades .
►►►MACD has to be added to your chart separately because it needs a new window. Indicators displaying will not add this indicator to the chart.
Donchian Channels strategy:
►Buy, when the price breaches Donchian to the upside after making a new low. The price must also be above 200 EMA.
►Sell, when the price breaches Donchian to the downside after making a new high. The price must also be below 200 EMA.
►Stop-loss is Donchian bottom for long and Donchian top for shorts. Check the channel for more information.
►This strategy was tested on 30-minute charts of EURUSD with reward-to-risk ratio 1,5 and win rate of 58% over 100 trades .
►►►I programmed alerts for Donchians to come ahead of an actual breach. If you often leave the screen when trading, this will help you. The necessary downside for that is the alerts might come when the signal doesn't trigger in the end. You will see a mark on the chart if the conditions are truly met.
Bear in mind that backtesting performance doesn't guarantee future profitability. • Most systematic strategies are not suitable for any timeframe. • You should perform your own backtest to base your trades on more data & to establish confidence in the selected strategy.
New strategies will be added when I have time. If I see multiple people asking for the same new feature, I might agree to release it with a new version. I am not going to add input options in this script, it could come as a separate script though. I am in no way affiliated with the Youtubechannel , so if you find the script helpful, shot me a message or send me some TradingView coins >)
If you encounter any bug, you can report it in a message or in comments. Support it with screenshot and relevant information such as a time when it occurred and what options were on etc.
Volatility GuppyBased on my previous script "Turtle N Normalized," this script plots the CM SuperGuppy on the value of N to identify changing trends in the volatility of any instrument.
Turtle rules taken from an online PDF:
"The Turtles used a concept that Richard Dennis and Bill Eckhardt called N to represent the underlying volatility of a particular market.
N is simply the 20-day exponential moving average of the True Range, which is now more commonly known as the ATR. Conceptually, N represents the average range in price movement that a particular market makes in a single day, accounting for opening gaps. N was measured in the same points as the underlying contract.
The Turtles built positions in pieces which we called Units. Units were sized so that 1 N represented 1% of the account equity. Thus, a unit for a given market or commodity can be calculated using the following formula:
Unit = 1% of Account/(N x Dollars per Point)"
To normalize the Unit formula, this script instead takes the value of (close/N). Dollars per point = 1 for stocks and crypto, but will change depending on the contract specifications for individual futures .
"Since the Turtles used the Unit as the base measure for position size, and since those units were volatility risk adjusted, the Unit was a measure of both the risk of a position, and of the entire portfolio of positions."
When the EMA's are green, volatility is decreasing.
When the EMA's are red, volatility is increasing.
When the EMA's are grey, the trend is changing.
Resampling Filter Pack [DW]This is an experimental study that calculates filter values at user defined sample rates.
This study is aimed to provide users with alternative functions for filtering price at custom sample rates.
First, source data is resampled using the desired rate and cycle offset. The highest possible rate is 1 bar per sample (BPS).
There are three resampling methods to choose from:
-> BPS - Resamples based on the number of bars.
-> Interval - Resamples based on time in multiples of current charting timeframe.
-> PA - Resamples based on changes in price action by a specified size. The PA algorithm in this script is derived from my Range Filter algorithm.
The range for PA method can be sized in points, pips, ticks, % of price, ATR, average change, and absolute quantity.
Then, the data is passed through one of my custom built filter functions designed to calculate filter values upon trigger conditions rather than bars.
In this study, these functions are used to calculate resampled prices based on bar rates, but they can be used and modified for a number of purposes.
The available conditional sampling filters in this study are:
-> Simple Moving Average (SMA)
-> Exponential Moving Average (EMA)
-> Zero Lag Exponential Moving Average (ZLEMA)
-> Double Exponential Moving Average (DEMA)
-> Rolling Moving Average (RMA)
-> Weighted Moving Average (WMA)
-> Hull Moving Average (HMA)
-> Exponentially Weighted Hull Moving Average (EWHMA)
-> Two Pole Butterworth Low Pass Filter (BLP)
-> Two Pole Gaussian Low Pass Filter (GLP)
-> Super Smoother Filter (SSF)
Downsampling is a powerful filtering approach that can be applied in numerous ways. However, it does suffer from a trade off, like most studies do.
Reducing the sample rate will completely eliminate certain levels of noise, at the cost of some spectral distortion. The lower your sample rate is, the more distortion you'll see.
With that being said, for analyzing trends, downsampling may prove to be one of your best friends!
Turtle N NormalizedSimple script that calculates the normalized value of N. Rules taken from an online PDF containing the original Turtle system:
"The Turtles used a volatility-based constant percentage risk position sizing algorithm. The Turtles used a concept that Richard Dennis and Bill Eckhardt called N to represent the underlying volatility of a particular market.
N is simply the 20-day exponential moving average of the True Range, which is now more commonly known as the ATR. Conceptually, N represents the average range in price movement that a particular market makes in a single day, accounting for opening gaps. N was measured in the same points as the underlying contract.
The Turtles built positions in pieces which we called Units. Units were sized so that 1 N represented 1% of the account equity. Thus, a unit for a given market or commodity can be calculated using the following formula:
Unit = 1% of Account/(N x Dollars per Point)"
To normalize the Unit formula, this script instead takes the value of (close/N). Dollars per point = 1 for stocks and crypto, but will change depending on the contract specifications for individual futures.
"Since the Turtles used the Unit as the base measure for position size, and since those units were volatility risk adjusted, the Unit was a measure of both the risk of a position, and of the entire portfolio of positions."
When the value of N is high, volatility is low and you should be more risk-on.
When the value of N is low, volatility is high and you should be more risk-off.
Amazing scalper for majors with risk managementHello,
Today I am glad to bring you an amazing simple and efficient scalper strategy.
Best suited for 1M time frame and majors currency pairs.
Its made of :
Ema (exponential moving average) , long period 25
Ema(exponential moving average) Predictive, long period 50,
Ema(exponential moving average) Predictive, long period 100
Risk management , risking % of equity per trade using stop loss and take profits levels.
Long Entry:
When the Ema 25 cross up through the 50 Ema and 100 EMA. and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Short Entry:
When the Ema 25 cross down through the 50 Ema and 100 EMA, and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Exit:
TargetPrice: 5-10 pips
Stop loss: 9-12 pips
Hope you enjoy it :)
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.
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.