Adaptive Parabolic SARThis is part 7 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview. Add custom values to backtest, it will return the most accurate of them.
Adaptive
Adaptive MACDThis is part 6 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
Add custom values to backtest, it will return the most accurate of them.
Adaptive MA CrossThis is part 5 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
Add three values to test for Fast MA, and three for Slow MA and it will backtest a crossover strategy and show you the most accurate one.
Adaptive Commodity ChannelThis is part 4 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
Use it however you would use standard CCI, just add your preferred values to test against each other, and set the period you would like for it to backtest.
Adaptive Bollinger BandsThis is part 3 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
It simply measures all of the combinations of the defined parameters for Bollinger Bands, and returns the most logically accurate values.
Use it however you would use standard Bollinger Bands, just add your preferred values to test against each other, and set the period you would like for it to backtest.
Adaptive ADX and DIThis is part 2 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
It simply measures all of the combinations of the defined parameters of a typical ADX + DI , and returns the most logically accurate values.
Use it however you would use a standard ADX + DI, just add your preferred values to test against each other, and set the period you would like for it to backtest.
Standard use would be to wait for ADX(red line) to be above the threshold(yellow shaded area). The short when orange is above the blue line, and long when the blue line is above the orange line.
Adaptive RSIThis is part 1 of 11 in the system named Ninetales you can find on Tradingview.
It simply measures all of the combinations of the defined parameters of a typical RSI, and returns the most logically accurate values.
Use it however you would use a standard RSI, just add your preferred values to test against each other, and set the period you would like for it to backtest.
Patreon Moving AverageThe Patreon moving average (PMA) is an adaptive moving average specifically designed to provide an optimal fit with the price while having a minimum amount of lag. The PMA can act as a fast-moving average for moving averages crossover system, detect trends, and filter out noisy variations from the price. The PMA is simple to use and interpret, and can be a really nice addition to your strategies, especially if they are based on moving averages.
The PMA integrates alerts based on the trend direction detected by the PMA.
Settings
Length: Determine the degree of filtering of the PMA.
Factor: Determine the sensitivity of the PMA to price variations, with higher values making the PMA less sensitive to price variations.
Decay: When higher than 0, introduce progressive smoothing, values closer to 0 return a faster progressive smoothing.
Src: Source input of the indicator.
Detect Trends With The PMA
The color of the PMA is related to the detected trend, with a blue color associated with an up-trend and a red color associated with a down-trend.
Higher values of Factor allows us to spot longer-term trends as well as filtering retracement in a trend.
Lower values of Length can also be used with higher values of Factor , this combination allows the PMA to actually be way less sensitive to price variations, thus returning less false signals while keeping a good fit with the price.
PMA As A Fast Moving Average
The PMA tries to provide crosses with a slow-moving average at the exact moment price cross the slow MA while minimizing the number of false signals.
PMA (In blue), EMA (in green), and SMA as a slow-moving average (in red), the PMA provide faster crosses while returning less false signals.
Progressive Smoothing
Progressive smoothing is obtained by using the Decay setting and allows the PMA to fit the price during extremely volatile markets and allows to preserve the structure of higher high's and lower low's.
Progressive smoothing can also minimize false signals.
In green/orange the PMA without progressive smoothing, in blue/red the PMA with progressive smoothing.
Finally progressive smoothing can give predictive and accurate estimates of the price central tendency
In green the mean of the price with a window size equal to the period the PMA is red, we can see that the PMA converges toward it extremely fast.
How To Access
The indicator is one of the "Patreon trend following indicators", and can only be used by my Patreons, you can become a Patreon by using the link on my signature.
Patreon Trailing StopThe Patreon trailing stop technical indicator can detect trends, find support and resistance points, filter out noise, and help users make informed decisions easily and in a timely manner. In order to provide an accurate and useful indicator most of the efforts during its development were directed toward the minimization of false signals, thus giving to the indicator the potential to further improve your trading strategies.
The trailing stop integrates visual elements for an easier interpretation of the indicator, and integrate alerts based on the buy/sell signals given by the trailing stop. All the outputs of the indicator can be used as input for other indicators.
Settings
In order to make it easier to use, the indicator only possess three user settings:
Length: Control the sensitivity to price variations, with a higher value aiming to detect longer-term trends.
Factor: A setting that aims to filter out false signals, with a higher value filtering more false signals.
Src: Source input of the indicator, by default set to median price (hl2).
Easily Filter Out False Signals
The Factor setting was carefully implemented to filter out false signals without introducing significant delay.
In green/orange the indicator with a Factor setting of 1, in blue/red the indicator with a Factor setting of 10, both using Length = 50 , we can see that increasing factor remove false signals.
The integrated support and resistance line can also help you spot potential false signals:
When the price cross the S/R line before the occurrence of a signal we could expect the upcoming signal to be false, better signals are given when the price cross the S/R at the same time a signal is produced.
Finally, the distance between the trailing stop and the price when a new signal occurs can also help out determine if this signal is false, as a higher distance between the trailing stop and the price suggest a ranging market.
Entering Trades At A Better Position
Indicators can give false signals at the top or bottom of a movement, the Patreon trailing stop can help you enter trades at a more profitable position thanks to the integrated support and resistance line.
When we have a signal but fear it might be false, we can wait for the price to reach the S/R and enter our trade at that point, this allows us to either make a profit or minimize a loss.
Integrated Adaptive Filter
The indicator integrates a trend adaptive filter (in orange), with it you can:
Filter out noisy variations from the price.
Use it as a fast-moving average in a moving average crossover system.
Use it as input for other technical indicators.
Simple moving average with period 200 using the filter as input.
How To Access
The indicator is one of the "Patreon trend following indicators", and can only be used by my Patreons, you can become a Patreon by using the link on my signature.
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
Ehlers Mother Of Adaptive Moving Averages [CC]The Mother Of Adaptive Moving Averages was created by John Ehlers (Rocket Science For Traders pgs 182-183) and this is definitely my favorite Ehlers moving average script. This works as a trend indicator and a typical moving average. When the mama is above the fama then the stock is in an uptrend and vice versa. Of course it is also good when the price is above the fama and mama lines. Buy when the indicator line is green and sell when it is red.
Let me know if there are other indicator scripts you would like to see me publish or if you want something custom done!
Vertical Horizontal Moving Average [AneoPsy & alexgrover] Moving average adapting to the strength of the trend, this is made possible by using the square of the vertical-horizontal filter as a smoothing factor. Alerts are included with two different types of conditions available to the user.
Settings
Length : Period of the moving average
Src : Input data for the indicator
Alerts : Types of conditions to be used in the alerts, when set to "VHMA Direction Change" alerts are triggered once the VHMA is either rising or declining, else the alerts are based on the crosses between Src and the VHMA
Usage
The VHMA can be used as a fast or slow-moving average in a moving average crossover system, or as input for other indicators.
VHMA of with length = 25 and sma with length = 200.
VHMA with length = 25 used as input for the RSI with length = 14.
Details
The vertical-horizontal filter is a measure of the strength of the trend and lay in a (0,1) range, to calculate it you just need to divide the rolling range over with the rolling sum of the absolute price changes, squaring the result allow to get lower results with higher values of length .
Squared vertical horizontal filter with length = 50, the value is low when the market is ranging and high when trending.
To set the alerts go in the alert panel, click on create alert, and select VHMA in "condition", choose between the buy or sell alert. If Src = closing price or another indicator dependant on the closing price select in options "once per bar close", if the indicator using the opening or lagged closing prices values as input select "One per bar" instead.
Thanks
Thanks to AneoPsy for adding the color change, the idea to use two kinds of conditions for the alert, and for its feedback, you can follow him
www.tradingview.com
and finally thanks to you for reading and for your support, only one last script left for the month, then we'll start July with some pretty interesting indicators, I hope you'll like them ^^/
[STRATEGY] Moving Average CrossoverThis is a backtester for the Moving Average Crossover indicator.
This tool allows you to backtest 4096 combinations of different MA types x customizable periods x customizable take-profits and stop-losses = almost limitless possibilities.
Study version can be found here:
Make Moving Averages Great Again!
[LunaOwl] 11 kinds of Adaptive MA Model作品: 11種自適應性平滑模型
It integrates eleven kinds of adaptive moving average method. At first, I just wanted to make a ATR. Later, the price series ±N*ATR mult, to form two series. Then use the concept of support/resistance breakthrough to design it, and then two adaptive series formation channels were formed. Take the average of the two series as the signal. When the price crosses the signal, it's judged to be long or short.
整合了十一種能夠自適應性的移動平均模型。起初只是想要做一個基本款ATR指標,後來將價格加減N個ATR倍數,形成兩條序列形成通道,再使用支撐阻力突破的概念去設計它,再形成兩條自適應性的序列形成通道,再取中間值當成信號。當價格與信號交叉,則判斷作多或者作空。
--------------------------*
Parameter 設置參數
Resolution: The default is "the same as the variety". Is a named constant for resolution input type of input function.
商品分辨率:預設與品種相同。是input函數的時間周期輸入類型的命名常量。
Smoothing: The default is Recursive Moving Average(RMA). It can choose other methods, the table is as follows.
平滑類型:預設是「遞回平均」,可以選擇其它方法,列表如下。
列表 / The table of moving averages is as follows:
//****中英對照表*****##______________________________________
1. 遞回平均 || Recursive Moving Average
2. 簡單平均 || Simple Moving Average
3. 指數平均 || Exponential Moving Average
4. 加權平均 || Weighted Moving Average
5. 船體平均 || Hull Moving Average
6. 成交量加權 || Volume Weighted Moving Average
7. 對稱加權 || Symmetric Weighted Moving Average
8. 雙重指數 || Double Exponential Moving Average
9. 三重指數 || Triple Exponential Moving Average
10. 高斯分佈 || Arnaud Legoux Moving Average
11. 提爾森T3 || Tillson T3 Moving Average
//##_________________________________________________________
Candle Mode: There are three versions, original, two-color and four-color.
燭台模式:預設模式只區分趨勢,可以改成原版蠟燭或四種顏色版本。
Length: The default is 14, usually no need to adjust.
平滑期數:預設值是14,基本上不用理它。
Occurrence: The default is 1. The range is 0~10. The larger the value, the more delayed. If zero will become too sensitive and noise.
滯後性:預設值是1。調整範圍是0~10,數值愈大信號愈延遲,如果值為0,會變得過於敏捷,那將會失去平滑的意義。
N multiple: The default is 0.618, can be set to 1. The range is 0.382~3.000.
倍數N:預設值是0.618,也可以設定1,最低是0.382,最大是3。
--------------------------*
1. Candle Mode can set the original candle, cancel candle trend color changes. However, the background will still be filled.
可以設定顯示原版的蠟燭線,背景與線並不會消失。
2. Four-color version of candles. It shows changes in trends and prices.
四色版本的蠟燭線,可以顯示趨勢與每日收盤價的變化。
Vicious Cycle by Cryptorhythms [CR]Vicious Cycle by Cryptorhythms
Intro
I have been working on this one for a few months now, bringing our flagship indicator Bull Bear Filter up to date with new ideas and algorithms to clarify cyclical trend components in any time series data.
Description
This indicator has no settings that the user needs to change. It is completely adaptive and dynamic to any market, timeframe, or time series data. The goal was to create a tool that isolated cyclical waveforms, making it easier to follow a noisy market. Keep in mind, its not RSI, Stoch, Ehlers or anything else - its a completely new DSP method that I created myself. You can only get the Vicious Cycle from CR!
Private
This indicator is reserved for our members only to prevent the alpha decay as long as possible. You can view my signature at the bottom of this post for more information on membership.
Examples
Here I will list a number of examples screenshots across markets and timeframes. Remember, NO SETTINGS WERE CHANGED at all for these screenshots. As you can see its quite a versatile tool!
BITCOIN
XBTUSD 20Min
XBTUSD 4H
XBTUSD 6H
GOLD
XAUUSD 2D
XAUUSD 4H
FOREX
EURUSD 3 Min
EURUSD 30 Min
GBPJPY 1H
USDJPY 12H
STOCKS
TSLA 1D
AMD 1D
SPY 1D
VIX 12H
OIL
USDWTI 3D
USDWTI 2H
USOIL 15 Min
MAMA (Ehlers) MESA Adaptive Moving AverageMAMA ( Ehlers ) MESA Adaptive Moving Average:
What it is and how it works
MESA Phasor is the most advanced futures trading program on the market!
MESA Phasor derives its name from the sinewave generator you probably recall from your high school trigonometry class. As you can see in the diagram, the rotating phasor generates a sine wave in the time domain, visualized as a shadow from the arrow tip of the phasor on the vertical axis. A cycle is completed on each full rotation of the phasor. The angle of the phasor increases at a constant rate, and is reset to zero when 360 degrees of rotation have been achieved. The idea of the trading system is to buy low at the valley of the sine wave , when phasor passes the lower angle, and to sell short at the crest of the sine wave , when the phasor passes the upper angle. Now the trade entries and exits are defined in terms of angles, which are in the frequency domain. Therefore, trading decisions are removed from waveform vagaries in the time domain. This means that the trading decisions are robust across various futures contracts and across all kinds of market conditions.
Moving Average Adaptive QThe Moving Average Adaptive Q (MAAQ) was authored by Perry Kaufman in the Stocks and Commodities Magazine 06/1995
This is similar to his Kaufman Adaptive Moving Average with a few changes. This is a pretty close moving average which I like quite a bit. Try it and let me know what you think.
Send me a message and let me know what other indicators you would like to see!
Ehler's Ideal RSI with EMAThis is a modification of the 'Ehlers Ideal RSI' script to include an EMA of the RSI, which acts as a follower!
The idea was a user suggestion and if you would like your suggestion made into an indicator, check the FAQ!
If you've never encountered the iRSI before, then you're in for a treat. This RSI will calculate the best period to use by itself.
The theory behind this math is called "Instantaneous Frequency Measurement" and is a big component of making terrible indicators (see RSI, Stoch, ADX) into usable ones!
No longer will you have to swap between different periods for different Stocks, Pairs, or Cryptos.
Compare it to the normal RSI and you'll see the underlying calculation is the same, but the period changes automatically.
The EMA provides an earlier indicator of breakouts.
You don't need to wait for this RSI to become "overbought" or "oversold" by crossing the typical 80/20 levels.
Simply observing when the RSI crosses the EMA line can act as confirmation for your other indicators much faster than typical momentum-based indicators.
FAQ
Why is your script Protected?
Users like to take my open-source code and charge to use it without my permission.
How do I use this to trade?
Add it to your chart and see what stacks up with your current setup. I trade Forex, so what looks bad on my charts might look golden on yours.
How long have you been doing this?
I've been coding for about 8 years and actively trading for 2 years. My degree is in Robotics Engineering and I became obsessed with investing at 22.
How do you trade?
Hurst + SNR + MESA MAMA + ATR + LSTM + Pure Grid. You can't completely code this setup using Pinescript, but if you learn C++ or Python you're there!
Are your returns good?
I average 0.68% every weekday or 22.65% monthly, using the method above.
Can you build my indicator or strategy?
Absolutely! If it hasn't been done before and it improves our community, then consider it done.
But can you build an indicator or strategy for me ?
Citing the house rules, I cannot solicit for any purpose. So saying "PM me" would be a grievous violation of said rules, obviously.
Ehler's Reflex Indicator ( + MTF & Adaptive )Implementation of Ehler's Reflex Indicator from TASC Feb 2020.
Optional MTF and fixed/adaptive length based on one of Ehler's cycle measurements.
Optional settings for his recommended 2 bar averaging, can apply the averaging to either/and source ie (close + close ) / 2, the output of the smoothing filter portion of the calculation or the final indicator output.
Green/Red : Reflex/Cycle
Aqua/Purple : Trend
Adaptive Price Zone Backtest The adaptive price zone (APZ) is a volatility-based technical indicator that helps investors
identify possible market turning points, which can be especially useful in a sideways-moving
market. It was created by technical analyst Lee Leibfarth in the article “Identify the
Turning Point: Trading With An Adaptive Price Zone,” which appeared in the September 2006 issue
of the journal Technical Analysis of Stocks and Commodities.
This indicator attempts to signal significant price movements by using a set of bands based on
short-term, double-smoothed exponential moving averages that lag only slightly behind price changes.
It can help short-term investors and day traders profit in volatile markets by signaling price
reversal points, which can indicate potentially lucrative times to buy or sell. The APZ can be
implemented as part of an automated trading system and can be applied to the charts of all tradeable assets.
WARNING:
- For purpose educate only
- This script to change bars colors.
Adaptive Price Zone Strategy The adaptive price zone (APZ) is a volatility-based technical indicator that helps investors
identify possible market turning points, which can be especially useful in a sideways-moving
market. It was created by technical analyst Lee Leibfarth in the article “Identify the
Turning Point: Trading With An Adaptive Price Zone,” which appeared in the September 2006 issue
of the journal Technical Analysis of Stocks and Commodities.
This indicator attempts to signal significant price movements by using a set of bands based on
short-term, double-smoothed exponential moving averages that lag only slightly behind price changes.
It can help short-term investors and day traders profit in volatile markets by signaling price
reversal points, which can indicate potentially lucrative times to buy or sell. The APZ can be
implemented as part of an automated trading system and can be applied to the charts of all tradeable assets.
Green color is long.
Red color is short.
WARNING:
- For purpose educate only
- This script to change bars colors.
Adaptive Price Zone Indicator The adaptive price zone (APZ) is a volatility-based technical indicator that helps investors
identify possible market turning points, which can be especially useful in a sideways-moving
market. It was created by technical analyst Lee Leibfarth in the article “Identify the
Turning Point: Trading With An Adaptive Price Zone,” which appeared in the September 2006 issue
of the journal Technical Analysis of Stocks and Commodities.
This indicator attempts to signal significant price movements by using a set of bands based on
short-term, double-smoothed exponential moving averages that lag only slightly behind price changes.
It can help short-term investors and day traders profit in volatile markets by signaling price
reversal points, which can indicate potentially lucrative times to buy or sell. The APZ can be
implemented as part of an automated trading system and can be applied to the charts of all tradeable assets.
Efficient Trend Step ChannelIntroduction
The efficient trend-step indicator is a trend indicator that make use of the efficiency ratio in order to adapt to the market trend strength, this indicator originally aimed to remain static during ranging states while fitting the price only when large variations occur. The trend step indicator family unlike most moving averages has a boxy appearance and could therefore not be classified as smooth, this makes it an indicator relatively uninteresting to use as input for other non-trending indicators such as oscillators.
Today a channel indicator making use of the efficient trend-step is proposed, the indicator has an upper and a lower extremity who can be used for breakout or support and resistance methodologies, however we will see that the indicator is sometimes able to return accurate support and resistance levels.
The Indicator
The indicator has the same settings has the efficient trend step indicator, length control the period of the efficiency ratio, fast control the period of the rolling standard deviation used for trending states, slow control the period of the rolling standard deviation used for ranging states, fast should be lower than slow , if both are equal then the indicator is equal to the classical trend step indicator and length does no longer affect the indicator output. Lower values of fast/slow will make the indicator more reactive to small variations thus changing direction more often.
The color changes you can see on the indicator are changed depending on the prior direction took by the indicator output, if the indicator where higher than its precedent value, then the color will be blue until the indicator is lower than its precedent value. Those colors help you have an estimate of the current trend direction.
Channel Calculation And Role
The extremities made from the efficient trend step allow for more advanced trading rules, they can act as stop/target level and can also give a rough estimate of the current market volatility, with wider extremities indicating a more volatile market.
The extremities are made directly from the dev element used by the efficient trend-step, the upper extremity is made by summing the efficient trend step with the value of dev when the efficient trend step change, the lower extremity is made the same way but the value is subtracted instead.
Is it a weird choice ? It sure is strange to see such approach, the absolute rolling average error between the price and the efficient trend step could have been a logical measure but using dev instead is more efficient and also allow for a more adaptive approach which can benefit the support and resistance methodology, the last reason is because i didn't wanted to "denature" the trend-step signature of the indicator.
The figure above represent the measurement used for making the extremities (in green).
Since the previously described measure change only when the efficient trend step change, we can conclude that such measure is representative of a relatively large variation, since the efficient trend step aim to only change when a large variations appear.
We can see that the upper extremity acted as an accurate resistance in this upper variation of AMD,
Here as well, however like other bands indicators it is safer to take into account the current trend direction, a strong uptrend will have less difficulties crossing the upper extremity, therefore it might be better to rely on the support (lower extremity) on an up-trending market (indicator in blue), and on the resistance (upper extremity) on an down-trending market (indicator in orange).
The figure above show support and resistances signals, a cross represent a false signal, while green arrows represent correct ones with their respective direction.
Conclusion
The presented indicator add more possibilities to the interpretation of the efficient trend step, the extremities can act as stop/target level, however this use has to be controlled, and the level should be in accordance to your risk/reward ratio.
Showcasing another trend-step indicator was a real pleasure. Thanks for reading :)