MESA Stochastic Multi LengthJohn Ehler's MESA Stochastic
It is updated and optimized version of script originally published by @veryfid.
Changes:
Converted to v5
Rewrote MESA Function. Same function can now calculate various length signals.
Modified super smoother. Indicator reacts faster to price change.
Optimized code. Functions are only called once per length.
Mesa
Tesla Coil MLThis is a re-implementation of @veryfid's wonderful Tesla Coil indicator to leverage basic Machine Learning Algorithms to help classify coil crossovers. The original Tesla Coil indicator requires extensive training and practice for the user to develop adequate intuition to interpret coil crossovers. The goal for this version is to help the user understand the underlying logic of the Tesla Coil indicator and provide a more intuitive way to interpret the indicator. The signals should be interpreted as suggestions rather than as a hard-coded set of rules.
NOTE: Please do NOT trade off the signals blindly. Always try to use your own intuition for understanding the coils and check for confluence with other indicators before initiating a trade.
Ehlers Mesa Spectrum Dominant Cycle [CC]The Mesa Spectrum Dominant Cycle was created by John Ehlers and this is the foundation for many indicators he created that would later follow. This is his updated version of his original Mesa algorithm and I do not recommend this indicator as a stand alone for trading. This is more of an informational indicator that will tell you the current dominant cycle period which is the approximate period between peaks and valleys in the underlying data. I have color coded buy signals just in case with both strong and normal signals. Darker colors are strong and lighter colors are normal. Buy when the line is green and sell when it is red.
Let me know if there are any other indicators you would like to see me publish!
MTF Moving AvaragesHello traders! I feel inspired today! Except another MTF release later!!!!
MTF Moving Average
Shows either the price is on top or under a specific moving average on multiple time frames. It helps the user have a larger picture of what is happening in the market and what the major trend is.
GREEN = CLOSED OVER MA
RED = CLOSED UNDER MA
MESA Stochastic Multi LengthJohn Ehler's MESA Stochastic uses super smoothing to give solid signals. This indicator uses the same rules as every other Stochastic indicator so it would be worth looking into if you are not already familiar with reading a Stochastic. There are 4 different lengths displayed to give traders an edge on reading the market. This is a great tool to analyze waves and find tops and bottoms. It gives great pump and dump signals and even helps filter out bad trades when used with other indicators such as Boom Hunter.
Below are some examples of signals to look out for:
oo
[Lixx] MESA(EMA/SMA) and ROC(ROC/MESA) Take Profit TriggersThis script uses the MESA EMA and SMA as well as the ROC/MESA cross to help find the take profit areas when trading divergences using market cipher or wavetrend. It is inspired by jordanfungs MESA indicator, however this one is different because it is not lagging in the signals.
Hope you enjoy it, and make sure to backtest any strategy before you use it.
Mesa Advanced TriggersThis indicator is based on the indicator 'MESA Phase ' by shayankm (so shoutouts to him for the open source code)
MESA Phase :
sayankm: www.tradingview.com
In this advanced version of the indicator, green/red dots will be printed on the pivot points & alerts can be triggered on these. There is also a zone (which you can adjust) that dot's will not be printed in, you want to adjust this to try and avoid dots being printed during sideways movement.
Free Multiple Timeframe Chart Candle Resolution by Emiliano MesaFree Multiple Timeframe Chart Resolution by Emiliano Mesa
This indicator allows free users to have a multiple timeframe candlestick graph without the need of upgrading to PRO, PRO+, or Premium accounts. Furthermore you can even apply indicators to the chart, and has a much more historic data than similar indicators with the same purpose I have previously seen in the platform, which is a huge plus.
How to use?
1) Install the indicator
2) The background color, must be the same color as your actual TradingView chart background. For example, as mine is the white theme, then ill choose the white background.
3) Set a small timeframe for your real TradingView chart, this must always be less than the timeframe set in the indicator
4) Set a bigger timeframe in the indicator, this is done in the "Timeframe Wanted"
5) Expand the indicator window as much as you want
For the best results, try to make the wanted resolution 3 times bigger than the real chart resolution. For instance if using 3 minute real resolution I suggest a 9 minute multiple time frame wanted resolution for the indicator. If you are using 5 minutes, ill suggest a 15 minute, and so on
Add an indicator over the indicator?
1) When clicking in the indicator name, you will see 3 dots. Click them
2) Select "Add indicator on indicator/Strategy"
3) Select the indicator you whish to add
4) Select if the indicator will work with close,open,high, or low. More options will come in future updates.
Enjoy!
Indicator by Emiliano Mesa
[blackcat] L2 Ehlers MESA Stochastic IndicatorLevel: 2
Background
John F. Ehlers introuced MESA Stochastic Indicator in Jan, 2014.
Function
The MESA Stochastic oscillator, a stochastic successor that removes the effect of spectral dilation through the use of a roofing filter.
Key Signal
MESAStochastic --> Ehlers MESA Stochastic Indicator fast line
Trigger --> Ehlers MESA Stochastic Indicator slow line
Pros and Cons
100% John F. Ehlers definition translation, even variable names are the same. This help readers who would like to use pine to read his book.
Remarks
The 101th script for Blackcat1402 John F. Ehlers Week publication.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
RK's 07 ∴ Moving Average Ribbon with Momentum Adjusted by DGTHello folks!
In my search for new ways to get faster and better market responses, I found this brilliant Indicator here on Trading View.
I rewrite all the code with my own functions and styles.
So... This is my adaptation to excellent script "Momentum adjusted Moving Average by DGT" from the user dgtrd
In dgtrd's words: "A brand new Moving Average, calculated using Momentum, Acceleration and Probability (Psychological Effect).
Momentum adjusted Moving Average( MaMA ) is an indicator that measures Price Action by taking into consideration not only Price movements but also its Momentum, Acceleration and Probability.
MaMA , provides faster responses comparing to the regular Moving Average"
The original post is here: 👇
T∴F∴A∴
Rodrigo Kazuma
MESA Adaptive Moving Average - Improved MTFThis indicator is a huge upgrade to my original MTF MESA
Plots are now extremely smooth and accurate on all timeframes **
Missing data points are automatically filled with the "best fit"
This is a Trend indicator and should be used to trade "top-down" aka:
Start with the Daily chart to confirm a trend
Move to 4H
2H
Etc...
Use your favorite entry method or simply watch for wicks forming when the price gets near the MESA adaptive moving average.
This is one of the few indicators that I've been using for years with success. Being able to plot both the current & higher timeframe MESA
can sometimes feel like cheating.
Due to the nature of the recursive calculation, you may notice slight differences between this version of MESA and others that either
approximate higher timeframes with fewer samples or make use of the latest "Resolution" argument in Pinescript V4. Both of which are
fine, until you start looking at M5 charts while plotting the Daily MESA.
As always, happy trading!
** Currently supports
M 1,3,5,15,30,45
H 1,2,3,4
Day 1
Week 1
Month 1
ZenTrading CyclePhaseThis is a script for beta testing only.
Used to mainly to spot (short-term) divergences
Combo Backtest 123 Reversal & Detrended Synthetic Price V 2 This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Detrended Synthetic Price is a function that is in phase with the
dominant cycle of real price data. This DSP is computed by subtracting
a half-cycle exponential moving average (EMA) from the quarter cycle
exponential moving average.
See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal & D_DSP (Detrended Synthetic Price) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Detrended Synthetic Price is a function that is in phase with the
dominant cycle of real price data. This DSP is computed by subtracting
a half-cycle exponential moving average (EMA) from the quarter cycle
exponential moving average.
See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Backtest 123 Reversal & D_DSP (Detrended Synthetic Price) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Detrended Synthetic Price is a function that is in phase with the
dominant cycle of real price data. This DSP is computed by subtracting
a half-cycle exponential moving average (EMA) from the quarter cycle
exponential moving average.
See "MESA and Trading Market Cycles" by John Ehlers pages 64 - 70.
WARNING:
- For purpose educate only
- This script to change bars colors.
Binary Strategy by Emiliano Mesa V3The Binary Strategy Indicator is a powerful strategy in which can be set up for all Forex Binary Pairs in any set of time. The strategy profitable percentage will depend in its settings which are fully customizable. Its use is simple and its completly realtime, it depends on three states.
1) Pre-Setup (Blue), a possible ideal MTF Trading setup is being build, a trade might appear be ready.
2) Trade (Purple), a trade has now appeared be ready to take it as soon as the purple bar closes. Always take the trade at the next bar open.
3) Time prediction (Yellow), at what time will the trade close, and what are your odds in winning. 30 minutes? An hour? You know your time before hand, in order to set up your call.
This Binary Strategy has shown huge returns, and works next to "Emiliano Mesa Binary Indicator ALERTS V3", which is also sold with the Binary Strategy.
See the results for yourself... 70% Profitable.
EURUSD Binary Strategy Indicator ALERTS!Good afternoon traders!
The EURUSD Binary Strategy Indicator ALERT, is a continuation of the " EURUSD Binary Strategy 73% Win Ratio " strategy made by my self. This indicator allows you to add alerts in order for you not to miss a trade! Furthermore, for the purchase of the " EURUSD Binary Strategy 73% Win Ratio " strategy, this indicator is also included.
A FREE 5 DAY VERSION of the " EURUSD Binary Strategy 73% Win Ratio " Strategy is available! Go try it now!
Best regards!
Contact:
emilianomesauribe2000@live.com
EURUSD 5 Minute Binary Strategy by Emiliano Mesa 73% Win RatioEURUSD Binary Strategy 73% Win Ratio.
-----Free 5 Day Trial-----
¿How it works?
This is a binary indicator, meaning it may be only
used for EURUSD options. Its use is simple:
1) Wait for the blue background to appear, this
means a possible trade may be upcoming
2) Wait for the purple background to appear, this
is our entry. And enter in the suggested direction
by the arrows after the close of the bar
3) Establish your expiration bar the # of
bars missing in the white area (which are 3 bars
per area) + 1 bar of the yellow area
for instance:
- Each background color both blue and yellow, have
the same ammount of bars in between (3), and so
does the white space between them, each bar is 5
minutes. In this case we are given an entry 1 bar
later, so 5 miutes inside our whitespace. Saying
so there are 2 bars left inside our white area, plus
one yellow bar, which means our expiration time
is 15 minutes since Entry to exit!
Wohooo! PROFIT!
Go ahead and send me a PRIVATE MESSAGE or EMAIL
if you are intrested in trying my Binary Strategy FREE
for 5 DAYS!
¿WANT ALERTS?
If you purchase the EURUSD Binary Strategy
Ill add up the EURUSD Binary Indicator! For you
not to miss a trade!
-----------------------
Contact:
emilianomesauribe2000@live.com
MAMA FAMA KAMA.. chameleon 🎵
Uses Kaufmann's Efficiency Ratio to generate adaptive inputs for Ehler's MAMA/FAMA. Alphas from the Hilbert transform are then used in place for the KAMA calculation.
Original MAMA/FAMA by everget : link
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Support & Resistance | EMILIANO MESAAfter months of studying, and lots of coding I figured out support & resistance levels are much more complicated than what we thought. After hundreds of failed trials using price(close) as the main source of information for my S/R indicators, after modifying certain values, and creating an effective method to define S/R levels, which does not include price a huge advanced was made. Today I introduce, and make public "Support & Resistance | Emiliano Mesa" by Emiliano Mesa. This indicator uses my method to find support and resistance levels, which again isn't based in price, but other factors.
Furthermore it creates areas rather than simple lines. As they are more precise. When price enters an area a range movement can be expected.
Key:
Blue Fill --> Support/Resistance Areas
Yellow Background --> New S/R Area Created
This indicator works extremely well in 2H, I suggest length value as 314, however you can play with it.
Business Inquiries:
emilianomesauribe2000@live.com
Sincerely,
Emiliano Mesa Uribe
Dominant Cycle Tuned RsiIntroduction
Adaptive technical indicators are importants in a non stationary market, the ability to adapt to a situation can boost the efficiency of your strategy. A lot of methods have been proposed to make technical indicators "smarters" , from the use of variable smoothing constant for exponential smoothing to artificial intelligence.
The dominant cycle tuned rsi depend on the dominant cycle period of the market, such method allow the rsi to return accurate peaks and valleys levels. This indicator is an estimation of the cycle finder tuned rsi proposed by Lars von Thienen published in Decoding the Hidden Market Rhythm/Fine-tuning technical indicators using the dominant market vibration/2010 using the cycle measurement method described by John F.Ehlers in Cybernetic Analysis for Stocks and Futures .
The following section is for information purpose only, it can be technical so you can skip directly to the The Indicator section.
Frequency Estimation and Maximum Entropy Spectral Analysis
“Looks like rain,” said Tom precipitously.
Tom would have been a great weather forecaster, but market patterns are more complex than weather ones. The ability to measure dominant cycles in a complex signal is hard, also a method able to estimate it really fast add even more challenge to the task. First lets talk about the term dominant cycle , signals can be decomposed in a sum of various sine waves of different frequencies and amplitudes, the dominant cycle is considered to be the frequency of the sine wave with the highest amplitude. In general the highest frequencies are those who form the trend (often called fundamentals) , so detrending is used to eliminate those frequencies in order to keep only mid/mid - highs ones.
A lot of methods have been introduced but not that many target market price, Lars von Thienen proposed a method relying on the following processing chain :
Lars von Thienen Method = Input -> Filtering and Detrending -> Discrete Fourier Transform of the result -> Selection using Bartels statistical test -> Output
Thienen said that his method is better than the one proposed by Elhers. The method from Elhers called MESA was originally developed to interpret seismographic information. This method in short involve the estimation of the phase using low amount of information which divided by 360 return the frequency. At first sight there are no relations with the Maximum entropy spectral estimation proposed by Burg J.P. (1967). Maximum Entropy Spectral Analysis. Proceedings of 37th Meeting, Society of Exploration Geophysics, Oklahoma City.
You may also notice that these methods are plotted in the time domain where more classic method such as : power spectrum, spectrogram or FFT are not. The method from Elhers is the one used to tune our rsi.
The Indicator
Our indicator use the dominant cycle frequency to calculate the period of the rsi thus producing an adaptive rsi . When our adaptive rsi cross under 70, price might start a downtrend, else when our adaptive rsi crossover 30, price might start an uptrend. The alpha parameter is a parameter set to be always lower than 1 and greater than 0. Lower values of alpha minimize the number of detected peaks/valleys while higher ones increase the number of those. 0.07 for alpha seems like a great parameter but it can sometimes need to be changed.
The adaptive indicator can also detect small top/bottoms of small periods
Of course the indicator is subject to failures
At the end it is totally dependent of the dominant cycle estimation, which is still a rough method subject to uncertainty.
Conclusion
Tuning your indicator is a great way to make it adapt to the market, but its also a complex way to do so and i'm not that convinced about the complexity/result ratio. The version using chart background will be published separately.
Feel free to tune your indicators with the estimator from elhers and see if it provide a great enhancement :)
Thanks for reading !
References
for the calculation of the dominant cycle estimator originally from www.davenewberg.com
Decoding the Hidden Market Rhythm (2010) Lars von Thienen
Ehlers , J. F. 2004 . Cybernetic Analysis for Stocks and Futures: Cutting-Edge DSP Technology to Improve Your Trading . Wiley
MESA Adaptive Moving AverageIntro
One of Ehlers most well-known indicators! I've seen many variations of this on TradingView, however, none seem to be true to the original released by Ehlers himself.
I've taken it upon myself to simply translate the MAMA into Pinescript, instead of re-writing like some others have done.
You can use it as a very effective & adaptive moving average with other signals or
as a standalone signal.
In the case that you're going to use it for signals and not simple technical trading (non-quantitative),
I've also added a threshold parameter to filter out weak signals.
My MAMA indicator is different from others in very simple ways - I don't use the nz() command, which sets all "Not a Number" values to 0. In others' scripts, you immediately load the indicator with several 0 values,
causing a slight lag in future calculations since this code is recursive (refers to previous values it generated).
In my version, I simply wait until the script has access to all the bar data it needs, instead of instantly performing calculations and
setting erroneous values to 0. In this case, we start with the correct values (or closer to correct).
If you want to compare this indicator the current most popular MAMA by LazyBear, you'll notice it often gives buy and sell crosses one bar earlier than theirs.
Setting Parameters
Source - the data series to perform calculations on. (Initially, Ehlers himself favored hl/2, but conceded that there isn't empirical benefit over close.)
Fast Limit - controls how quickly the MAMA will "ratchet up" fast price action. (Higher values are faster)
Slow Limit - controls how closely the FAMA will follow the MAMA. (Again, higher is faster. You typically want the FAMA to be slower though.)
Crossover Threshold - simple error thresholding to limit the number of weak trade signals. (Lower means lower tolerance)
Show Crosses? - show/hide the arrows at moving average crosses
Real Candles with Support & Resistance by Emiliano Mesa Public VReal time support & resistance levels with something I like to call real candles. This is a complex overlay indicator which uses several algo's to calculate a real support and resistance level.
(To be honest I wasn't even going to release it to the public, so please do leave positive feedback... This indicator has over 100 lines and took me several hours of hard work. So I do appreciate your support <3 )
Features:
- Real Candles (Evaluates price action and gives each candle a different color based on how bullish or bearish they are)
- Adaptive S/R levels (This are real time support & resistance levels found with algo's, they are most likely to be respected again)
- Confirmed S/R levels with Experimental EMA (Are more likely to be respected than adaptive S/R due to a confirmation by Experimental EMA & KC)
-Squeeze Bars (Fuchsia colored bars which indicate a squeeze in the market)
-Trend Lines (Work in progress, if you have functioning trend lines I do appreciate any feedback on how to work them out. Not in public version)
Key:
Real Candles:
1) Green : Bullish
2) Red : Bearish
3) Lime : Strong Bullish
4) Black : Strong Bearish
S/R:
1) Green: Support
2) Red: Resistance
3) Orange: Previous S/R levels
4) Blue: Confirmed level of S/R
Squeeze:
1) Fuchsia: Squeeze
MTF RSI by Emiliano MesaA MTF RSI . It shows you either the RSI is oversold or overbought in up to 4 different timeframes which are all fully customizable by the user. Furthermore it allows you to set the oversold and overbought levels.
Green : Overbought
Red : Oversold
Gray : Neither overbought or oversold