ACAT Period Tracker (2000-4000 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (2000-4000 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Adaptive
ACAT (2000-4000 Std-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges - and that aspect also theoretically allows for some other variations.
I've had difficulty increasing the resolution much without needing a huge number of individual indicators and running into constant Pinescript timeout issues. One thing that I can do, however, is extend the range further out.
Note that "Std-Res" here for this higher range was decided mostly based on, "What do I think I can get to work for higher than 2000 about as often as the existing 600-2000 indicator?" and is semi-arbitrary. At higher period lengths, the spread between different MAs decreases so less resolution is needed, while the calculation times increase dramatically, so this script is necessarily a lot less dense than the lower lengths. Sometimes this will load much faster as a result. I'm generally finding both struggle on shorter timeframes.
Keep in mind some caveats: resolution at these lengths is lower and finding relevant period lengths this far out necessarily means you should be trading them on higher timeframes. If you see something on the 3000 period on the 4h, you're talking about events happening near W benchmark length moving averages. If you see something in these periods lengths on the D timeframe as with some parabolic bubbles/crashes, you're looking at very macro pivots and targets happening near M benchmark length moving averages.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Jurik Moving AverageThis is my best attempt to reproduce the original Jurik Moving Average. It differs from Jurik's a little bit, but in most cases it behaves like the original.
Jurik Moving Average is known as a superior noise elimination (causal, nonlinear and adaptive) filter and a world class moving average that tracks and smoothes price charts or any market-related time series with surprising agility.
Settings
Length (default: 7 )
Phase (default: 50 )
Price Source (default: close )
I attached some screenshots to show you how it works with other instruments
USDJPY, D
USDJPY, 60
USDCAD, D
USDCHF, D
EURUSD, D
GBPJPY, D
AUDUSD, D
XAUUSD, D
XAUUSD, 60
AAPL, D
AAPL, 60
MSFT, D
AMZN, D
BTCUSD, D
BTCUSD, 60
ETHUSD, D
Good luck and happy trading!
ACAT (600-2000 Std-Res) [acatwithcharts](This is a reupload to help standardize the names in the invite-only indicators listing, which was otherwise doomed to be forever confusing.)
Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges. This version covers period lengths from 600-2000 at the same resolution seen in Mean Reversion MA and Compression MA. I've then added a toggle-able feature to hide the lower indicator's plot while it's maxed out which makes them look roughly stitched together and has a nice added benefit that it require less work by the higher period script so it loads more quickly.
The hope is to replace several indicators that have periodic issues timing out with fewer, which should be substantially more convenient to use and on average mean dealing with fewer refreshes.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT (14-600 Std-Res) [acatwithcharts]
(This is a reupload to help standardize the names in the invite-only indicators listing, which was otherwise doomed to be forever confusing.)
Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges. This version covers period lengths from 14-600 at the same resolution seen in the "600 Max" versions of Mean Reversion MA and Compression MA. I've then added a toggle-able feature to hide the lower indicator's plot while it's maxed out which makes them look roughly stitched together and has a nice added benefit that it require less work by the higher period script so it loads more quickly.
The hope is to replace several indicators that have periodic issues timing out with fewer, which should be substantially more convenient to use and on average mean dealing with fewer refreshes.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT Period Tracker (14-2000 Half-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (14-2000 Half-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM. Notably, you would need to use both standard range coverage of 3D WAVE-PM and the Hi-Res 605-2000 period version to pair with this higher tracking range in that setup.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT Period Tracker (14-600 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (14-600 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT Period Tracker (600-2000 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (600-2000 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM. Notably, you would need to use the Hi-Res 605-2000 period version to pair with this higher tracking range in that setup.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT (14-2000 Half-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
As I've looked into ways to lower variable count and optimize ACAT, I've found that decreasing the resolution in half to allow the full range that I otherwise split across two indicators is broadly more convenient to use and seems to have faster loading and far fewer timeouts. There is a significant precision tradeoff that is most acutely felt with more dramatic sawtoothing when plotting the current highest compressed period. For most practical use cases, I think people will want to make this trade-off and then if necessary to look at a compression range do a second pass with a higher resolution version of the indicator.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Edge-Preserving FilterIntroduction
Edge-preserving smoothing is often used in image processing in order to preserve edge information while filtering the remaining signal. I introduce two concepts in this indicator, edge preservation and an adaptive cumulative average allowing for fast edge-signal transition with period increase over time. This filter have nothing to do with classic filters for image processing, those filters use kernels convolution and are most of the time in a spatial domain.
Edge Detection Method
We want to minimize smoothing when an edge is detected, so our first goal is to detect an edge. An edge will be considered as being a peak or a valley, if you recall there is one of my indicator who aim to detect peaks and valley (reference at the bottom of the post) , since this estimation return binary outputs we will use it to tell our filter when to stop filtering.
Filtering Increase By Using Multi Steps Cumulative Average
The edge detection is a binary output, using a exponential smoothing could be possible and certainly more efficient but i wanted instead to try using a cumulative average approach because it smooth more and is a bit more original to use an adaptive architecture using something else than exponential averaging. A cumulative average is defined as the sum of the price and the previous value of the cumulative average and then this result is divided by n with n = number of data points. You could say that a cumulative average is a moving average with a linear increasing period.
So lets call CMA our cumulative average and n our divisor. When an edge is detected CMA = close price and n = 1 , else n is equal to previous n+1 and the CMA act as a normal cumulative average by summing its previous values with the price and dividing the sum by n until a new edge is detected, so there is a "no filtering state" and a "filtering state" with linear period increase transition, this is why its multi-steps.
The Filter
The filter have two parameters, a length parameter and a smooth parameter, length refer to the edge detection sensitivity, small values will detect short terms edges while higher values will detect more long terms edges. Smooth is directly related to the edge detection method, high values of smooth can avoid the detection of some edges.
smooth = 200
smooth = 50
smooth = 3
Conclusion
Preserving the price edges can be useful when it come to allow for reactivity during important price points, such filter can help with moving average crossover methods or can be used as a source for other indicators making those directly dependent of the edge detection.
Rsi with a period of 200 and our filter as source, will cross triggers line when an edge is detected
Feel free to share suggestions ! Thanks for reading !
References
Peak/Valley estimator used for the detection of edges in price.
Trend tracking strategy of proprietary traders-RabbitThis is my latest strategy integration. It is a combination of trend tracking strategy and visualization trend. I believe it will bring you a clear trend discrimination and relatively reliable trading signal hints.
(Note: This strategy parameter has special parameter debugging and Optimization for BTC1h/BIANACE Heikin-ashi chart. It works best here. Other trade pairs or parameter versions of investment targets will be published specially if necessary.)
Statement of strategy concept:
The concept of strategy is trend tracking. The formation and continuation of trend is the product of speculation market for thousands of years. There are various strategies including CTA trend strategy, shock regression strategy, grid strategy, Martin strategy, Alpha strategy and so on. These strategies have their own merits just like different schools of Chinese knight-errant. Choose one, a master is not able to do hundreds of tricks, but to practice one trick thousands of times.
Every strategy has its own right and wrong. Trading is not violence, but a process of advancing, retreating, and making profits steadily. Therefore, the use of trend tracking strategy must overcome greed in human nature, profit and loss homology, dare to bear the shock of withdrawal in order to make a big profit when the real trend arrives. (Of course, this strategy has largely avoided filtering shocks, which will be explained later.)
Policy-building instructions:
Any trend tracking strategy can produce good results when there is a trend, so judging whether a trend strategy is good or bad depends on its withdrawal performance when it is shaking. This CTA trend tracking strategy uses Kauffman adaptive algorithm, fractal adaptive dimension, self-research algorithm and other tools, and has largely avoided filtering the signal in the shock without delay to follow the trend.
New version of the note:
The latest version adds the trend drawing of negativity, which can clearly distinguish the rising or falling or oscillating trend. However, the algorithm of strategy signal has no direct relationship with trend color. Trend color helps you to distinguish trend, and point signal helps you to refer to trade. This strategy is only a simple trading signal, risk control, warehouse management also need manual operation.
(Note: This strategy parameter has special parameter debugging and Optimization for BTC1h/BIANACE Heikin-ashi chart. It works best here. Other trade pairs or parameter versions of investment targets will be published specially if necessary.)
Good luck to all of you and a smooth deal.~
ACAT (600-2000) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges. This version covers period lengths from 600-2000. I've then added features to hide the lower indicator's plot while it's maxed out which makes them look roughly stitched together and has a nice added benefit that it require less work by the higher period script so it loads more quickly.
This is still a work in progress at the time of posting as I attempt to try to add more functionality and improve the intuitiveness of the combined menu, but assuming all goes well, I may be able to mostly deprecate the individual indicators and replace them with this combined version when I'm satisfied that it's ready to release to subscribers.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Adaptive Comprehensive Average Tracker (ACAT) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
At the moment, it is limited to the 600-period cap; just using the logic of the two indicators in one hits runs into the limits of Pinescript. I've got some ideas to try, but for most practical purposes, the 600 cap was generally enough and the longer lookbacks are very prone to timing out anyway.
The hope is to replace two indicators that have periodic issues timing out with one, which should be substantially more convenient to use and on average mean dealing with fewer refreshes.
This is still a work in progress at the time of posting as I attempt to try to add more functionality and improve the intuitiveness of the combined menu, but assuming all goes well, I may be able to mostly deprecate the individual indicators and replace them with this combined version when I'm satisfied that it's ready to release to subscribers.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. Videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Best Rabbit Strategy fiterResults after a long period of research
This strategy uses CTA Trend Tracking Strategy, which is given to the person who is close to you. And add filter with fractal dimension. Please note that any strategy is correct and wrong. Please accept the loss list calmly so as to make a big profit when the trend comes.
It works better with Heikinashi chart.
Bryant Adaptive Moving Average@ChartArt got my attention to this idea.
This type of moving average was originally developed by Michael R. Bryant (Adaptrade Software newsletter, April 2014). Mr. Bryant suggested a new approach, so called Variable Efficiency Ratio (VER), to obtain adaptive behaviour for the moving average. This approach is based on Perry Kaufman' idea with Efficiency Ratio (ER) which was used by Mr. Kaufman to create KAMA.
As result Mr. Bryant got a moving average with adaptive lookback period. This moving average has 3 parameters:
Initial lookback
Trend Parameter
Maximum lookback
The 2nd parameter, Trend Parameter can take any positive or negative value and determines whether the lookback length will increase or decrease with increasing ER.
Changing Trend Parameter we can obtain KAMA' behaviour
To learn more see www.adaptrade.com
Jurik RSX on JMAThis is Jurik RSX version that accepts price preliminarily filtered using the best original JMA' clone on TradingView .
As Mr. Jurik noticed:
"A smooth (low noise) trend is more efficient than a noisy trend. Given that RSX measures market trend direction and efficiency, it stands to reason that RSX would respond better (display larger dynamic range) when fed pre-smoothed price data. And there's no better way to pre-smooth than by using JMA " .
And as the result: "it reverses with the market, showing almost no lag" .
Jurik's RSX is a "noise free" version of RSI, with no added lag.
Reference:
www.jurikres.com
www.jurikres.com
Jurik JMA/DWMA MACDAn oscillator form of the crossover system that was recommended by Mark Jurik. The oscillator is based on the Jurik Moving Average (JMA) and Double Weighted Moving Average (DWMA) convergence/divergence. I use the best original JMA' clone on TradingView that has the almost identical behaviour as the original one.
I made it more pretty and added alerts for the peaks (blue circles).
As Mr. Jurik noticed:
"Of all the different combinations of moving average filters to use for a MACD oscillator, we prefer using the JMA - DWMA combination."
Reference: www.jurikres.com
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
Robust Cycle Measurement [Ehlers]The last of Ehlers Instantaneous Frequency Measurement methods.
This is a more robust version of this script.
I wrote it as a function, so you can simply copy and paste it into any script to add an adaptive period setting capability.
Cheers,
DasanC
Adaptive Zero Lag EMA v2This is my most successful strategy to date! Please enjoy and join the Open Source movement by sharing your code and ideas online!
OPERATING PRINCIPLE
The strategy is based on Ehlers idea that any indicator can be turned into a signal-producing trade system through smoothing and other filtering processes.
In fact, I'm using his Zero Lag EMA (ZLEMA) as a baseline indicator as well as some code snippets he has made public (1). God bless open source!
Next, I've provided the option to use an Instantaneous Frequency Measurement (IFM) method, which will adaptively choose the best period for the ZLEMA (2)
I've written other studies that use the differential calculus approximations for IFM, so it was only natural to include them in this strategy.
The primary two are Cosine IFM (3) and In-phase Quadrature IFM (4). You can also find an indicator with both plotted and the ability to average them together, as one IFM prefers long periods and the other short. (5)
BEFORE WE BEGIN
1. This strategy only runs on "normal" FX pairs (EURUSD, GBPJPY, AUDUSD ...) and will fail on Metals or Commodities.
Cryptos are largely untested.
2. Please run it on these time frames: M15 to D.
Anything outside this range will likely fail.
HOW TO USE AND SUCCEED
1. If the Default settings don't produce good results right off the bat, then lower gain limit to 1 or 2 and threshold to 0.01.
2. Test each setting under adaptive method . If you want to leave it Off , then I'd recommend using some kind of IFM (see my links below) to
discover the most efficient period to use.
3. Once you have the best adaptive method chosen, begin incrementing gain limit until you find a nice balance between profit factor (PF) and drawdown.
4. Now, begin incrementing threshold . The goal is to have PF above 2 and a drawdown as low as possible.
5. Finally, change the source ! Typically, close is the best option, but I have run into cases where high
yielded the highest returns and win rate.
6. Sit back, relax, and tweak the risk until you're happy with the return and drawdown amounts.
ADVANCED
You may need to adjust take profit (TP) points and stop loss (SL) points to create the best entry possible. Don't be greedy! You'll likely have poor
results if the TP is set to 300 and SL is 50.
If you are trading a pair that has a long Dominant Cycle Period , then you may increase Max Period to allow the IFM
to accept longer periods. Any period above the Max Period will be rejected. This may increase lag time!
Cheers and good luck trading!
-DasanC
PS - This code doesn't repaint or have future-leak, which was present in Pinescript v2.
PPS - Believe me! These returns are typical! Sometimes you must push aside the "if it's too good to be true..." mindset that society has ingrained in you.
Do you really believe the most successful pass up opportunities before investigating them? ;)
(1) Ehlers & Ric Zero Lag EMA
(2) Measuring Cycles by Ehlers
(3) Cosine IFM
(4) Inphase Quadrature IFM
(5) Averaging IFM
Low Lag Exponential Moving AverageThis is a low-lag EMA, colorized to help identify turn around points. You have the option of making it adaptive as well, different methods
of signal processing or simply an average of the two.
See my previous script to understand how these adaptive methods work
Adaptive Bandpass Filter [Ehlers]This is my latest bandpass filter - used to determine if a security is in a trend or cycle.
Now with an adaptive period setting! I use Ehlers in-phase & quadrature dominant cycle measurement (IQ IFM) method to set the period dynamically.
This method favors longer periods which tend to produce smoother, albeit laggier bandpass oscillator plots. From my quick tests, I tend to have lag between 4 and 8 bars, depending on the Timeframe.
The lower timeframes tend to have more noise and thus produce more interfering frequencies that may cause lag.
>Settings
Source: Select the data source to perform calc's on (close, open, etc...)
Period: Select the period to tune. Periods outside of this value will be attenuated (reduced)
Adaptive: Enable to have the I-Q IFM set the period for you (disables Period setting)
Bandpass Tolerance: Allow periods that are plus/minus the chosen period to pass.
Cycle Tolerance: Sensitivity of cycle mode. Lower values consider trends more frequent, higher values consider cycles more frequent.
Bandpass tolerance example: for instance, if this setting is 0.1 (10%) and Period is set to 20, then waves with a period of 18 - 22 will pass.
>How to read
Red line is the bandpass output, showing a lagged version of the dominant cycle representing the
Black lines are the upper and lower bounds for a cycle
Green Background indicates an uptrend
Red background indicates a downtrend
Adaptive Zero Lag EMA Strategy [Ehlers + Ric]Behold! A strategy that makes use of Ehlers research into the field of signal processing and wins so consistently, on multiple time frames AND on multiple currency pairs.
The Adaptive Zero Lag EMA (AZLEMA) is based on an informative report by Ehlers and Ric .
I've modified it by using Cosine IFM, a method by Ehlers on determining the dominant cycle period without using fast-Fourier transforms
Instead, we use some basic differential equations that are simplified to approximate the cycle period over a 100 bar sample size.
The settings for this strategy allow you to scalp or swing trade! High versatility!
Since this strategy is frequency based, you can run it on any timeframe (M1 is untested) and even have the option of using adaptive settings for a best-fit.
>Settings
Source : Choose the value for calculations (close, open, high + low / 2, etc...)
Period : Choose the dominant cycle for the ZLEMA (typically under 100)
Adaptive? : Allow the strategy to continuously update the Period for you (disables Period setting)
Gain Limit : Higher = faster response. Lower = smoother response. See for more information.
Threshold : Provides a bit more control over entering a trade. Lower = less selective. Higher = More selective. (range from 0 to 1)
SL Points : Stop Poss level in points (10 points = 1 pip)
TP Points : Take Profit level in points
Risk : Percent of current balance to risk on each trade (0.01 = 1%)
www.mesasoftware.com
www.jamesgoulding.com(Measuring%20Cycles).doc
Profitable Moving Average CrossoverHi everyone!
Introduction
A popular use for moving averages is to develop simple trading systems based on moving average crossovers. A trading system using two moving averages would give a buy signal when the shorter (faster) moving average advances above the longer (slower) moving average. A sell signal would be given when the shorter moving average crosses below the longer moving average. The speed of the systems and the number of signals generated will depend on the length of the moving averages.
There are many types of averages that are based on different techniques. Each type has its drawbacks and merits. And if we decide to choose a certain type of average for the trading system, then how do we know that our choice is optimal?
What is this tool?
This tool will help you to choose this type to create the most profitable trading system based on crossovers for the specified periods. It backtests pairs of each type throughout the whole instrument's history and shows Net Profit curves as a result. So, the type of the most profitable crossover system will be at the top of list of labels on the chart. (Click on the price scale, point to "Labels" and switch off "No Overlapping Labels" option).
Settings
The main settings are periods for each type pair of fast and slow moving averages.
Additionally, it allows to customize some multi-parametric moving averages such as JMA, ALMA, McGinley Dynamic, Adaptive Laguerre Filter etc.
1st Period (default: 14 )
2nd Period (default: 50 )
1st ALF Median Length (default: 5 )
2nd ALF Median Length (default: 5 )
1st ALMA Offset (default: 0.85 )
1st ALMA Sigma (default: 6 )
2nd ALMA Offset (default: 0.85 )
2nd ALMA Sigma (default: 6 )
1st HF Scaling Factor (default: 3 )
2nd HF Scaling Factor (default: 3 )
1st JMA Phase (default: 50 )
2nd JMA Phase (default: 50 )
1st MD Constant (default: 0.6 )
2nd MD Constant (default: 0.6 )
1st MHLMA Range (default: 10 )
2nd MHLMA Range (default: 10 )
1st PWMA Power (default: 2 )
2nd PWMA Power (default: 2 )
1st REMA Lambda (default: 0.5 )
2nd REMA Lambda (default: 0.5 )
1st RMF Median Length (default: 5 )
2nd RMF Median Length (default: 5 )
1st T3 Alpha (default: 0.7 )
2nd T3 Alpha (default: 0.7 )
MAMA & FAMA Fast Limit (default: 0.5 )
MAMA & FAMA Slow Limit (default: 0.05 )
Supported types of averages and filters (use short titles to match averages on the chart)
AHMA , Ahrens MA (by Richard D. Ahrens)
ALMA , Arnaud Legoux MA (by Arnaud Legoux and Dimitris Kouzis-Loukas)
ALF , Adaptive Laguerre Filter (by John F. Ehlers)
ARSI , Adaptive RSI
BF2 , Butterworth Filter with 2 poles
BF3 , Butterworth Filter with 3 poles
DEMA , Double Exponential MA (by Patrick G. Mulloy)
DWMA , Double Weighted (Linear) MA
EDCF , Ehlers Distance Coefficient Filter (by John F. Ehlers)
EHMA , Exponential Hull MA
EMA , Exponential MA
EVWMA , Elastic Volume Weighted MA (by Christian P. Fries)
FRAMA , Fractal Adaptive MA (by John F. Ehlers)
GF1 , Gaussian Filter with 1 pole
GF2 , Gaussian Filter with 2 poles
GF3 , Gaussian Filter with 3 poles
GF4 , Gaussian Filter with 4 poles
HFSMA , Hampel Filter on Simple Moving Average
HFEMA , Hampel Filter on Exponential Moving Average
HMA , Hull MA (by Alan Hull)
HWMA , Henderson Weighted MA (by Robert Henderson)
IDWMA , Inverse Distance Weighted MA
IIRF , Infinite Impulse Response Filter (by John F. Ehlers)
JMA , Jurik MA (by Mark Jurik, )
LF , Laguerre Filter (by John F. Ehlers)
LMA , Leo MA (by ProRealCode' user Leo)
LSMA , Least Squares MA (Moving Linear Regression)
MAMA & FAMA , (by John F. Ehlers, special case that used as a benchmark)
MD , McGinley Dynamic (by John R. McGinley)
MHLMA , Middle-High-Low MA (by Vitali Apirine)
PWMA , Parabolic Weighted MA
REMA , Regularized Exponential MA (by Chris Satchwell)
RMA , Running MA (by J. Welles Wilder)
RMF , Recursive Median Filter (by John F. Ehlers)
RMTA , Recursive Moving Trend Average (by Dennis Meyers)
SHMMA , Sharp Modified MA (by Joe Sharp)
SMA , Simple MA
SSF2 , Super Smoother Filter with 2 poles (by John F. Ehlers)
SSF3 , Super Smoother Filter with 3 poles (by John F. Ehlers)
SWMA , Sine Weighted MA
TEMA , Triple Exponential MA (by Patrick G. Mulloy)
TMA , Triangular MA (generalized by John F. Ehlers)
T3 , (by Tim Tillson)
VIDYA , Variable Index Dynamic Average (by Tushar S. Chande)
VWMA , Volume Weighted MA (by Buff P. Dormeier)
WMA , Weighted (Linear) MA
ZLEMA , Zero Lag Exponential MA (by John F. Ehlers and Ric Way)
NOTE : The results may vary on different tickers and timeframes.
If you see the preview result it doesn't mean that these crossovers will be profitable on other instruments and timeframes. This is a normal situation because time series and their characteristics differ.
I know that because I tested this tool before publishing.
NOTE 2 : You can use this tool by yourself and experiment with it, or you can order a study and I will share the spreadsheet that contains results with you.
Good luck!