Arnaud Legoux Moving Average Set [DM]Greetings Colleagues
As it could not be otherwise in the soul series could not miss its own moving average.
Here you can enjoy 3 soul moving averages with color variables and alerts on all crosses of the three moving averages
/// Quick Explained ALMA ///
//Window size: The window size is the look-back period and it is a basic setting of ALMA.
//Experienced traders can change this setting according to their preference.
//But if you are using this indicator for the first time, it is recommended to go with the default setting.
//Offset: The offset value is used to tweak the ALMA so that it will be more inclined
//towards responsiveness or smoothness. You can set the offset in decimals between the 0 to1.
//The value of 0.01 makes it smoother, while a setting of 0.99 makes the indicator more responsive.
//Sigma: The sigma is used for the filter. Any value less than 6 makes the indicator
//more focused, whereas the setting of 6 makes the filter large. According to Mr Arnaud,
//a sigma value of 6 is offer good performance.
Alma
Bollinger Bands Width + %B + Vol. + Intraday Idx Alma var [DM]Greetings Colleagues here I published another script of the series "Alma Variant"
This script incorporates four different standard signals from Bollinger Band Book.
Signals:
Bollinger Band Width. Line blue
Bollinger Band %B. Line gray
Intraday intensity Index “normalized using log(volume)”. Oscillator line in the middle of the indicator with decision color green = buy, red=sell, purple=na
Bollinger Band Volume “normalized, decreased to 20% and limited to 100”
Alerts:
Bollinger Band (%B) Alert Level with your switch
Bollinger Band (Width) Alert Level with your switch
BB (Volume) Alert with your switch
Setting.
Individual ma settings
All alerts can be adjusted
The color of the Intraday intensity index background and lines help you decide on your volatility breakout direction
The background color has been conditioned to smoothed X periods for the accumulated volume above the alert level, Intraday Intensity Index direction and %B direction.
I recommend for the use of this indicator to first read John Bollinger's book to understand the usefulness of each of the signals and their configuration to execute the orders.
Full Crypto Swing Strategy ALMA Cross with MACDThis is a full crypto swing strategy designed.
From my testing it looks like it perform the best on timeframes 4h +.
The below example has been adapted to BNB/USDT, using the entire period since 2017 until present day, with a comission of 0.03% ( which is the comission for the futures on binance).
Its components are :
ALMA Fast
ALMA Slow
MACD Histogram
Rules for entry
For long, we have a crossover of the fast alma with the slow one and the histogram is ascending.
For short, we have a crossunder of the fast alma with the slow one and the histogram is descending.
Rules for exit
We exit based on a risk management system for TP and SL, or when we receive an opposite condition than the initial one.
Regarding risk management
0.05 = 5% movement
2 = 200% movement
0.001 = 0.1% movement
If you have any questions, let me know !
Double CCIThe Commodity Channel Index (CCI) is a momentum oscillator used in technical analysis primarily to identify overbought and oversold levels by measuring an instrument's variations away from its statistical mean. Besides overbought/oversold levels, CCI is often used to find reversals as well as divergences. Originally, the indicator was designed to be used for identifying trends in commodities, however it is now used in a wide range of financial instruments.
There are several steps involved in calculating the CCI. The following example is for a typical 14 Period CCI:
CCI = (Typical Price - 14 Period SMA of TP) / (.015 x Mean Deviation)
Typical Price (TP) = (High + Low + Close)/3
Constant = .015
The Constant is set at .015 for scaling purposes. By including the constant, the majority of CCI values will fall within the 100 to -100 range.
Mean Deviation:
1) Subtract the most recent 14 Period Simple Moving from each typical price (TP) for the Period.
2) Sum these numbers strictly using absolute values.
3) Divide the value generated in step 2 by the total number of Periods (14 in this case).
Overbought and Oversold conditions can be used in their more traditional sense to identify future reversals . Remember true overbought/oversold thresholds values can and often do vary between instruments.
During a Bullish Trend , price crossing above the overbought threshold may indicate strong confidence in the move and price will continue to rise.
During a Bearish Trend , price crossing below the oversold threshold may indicate strong confidence in the move and price will continue to fall.
The first option is a modified CCI indicator that uses the "Arnaud Legoux Moving Average" instead of the SMA, and the source uses the VWAP instead of the HLC3. Added to this version an option to calculate CCI with different types of moving averages:
Green dots mean they are overbought
Orange dots mean they are oversold
Added a "SuperTrend Background" based on the modified CCI indicator:
Bull event = CCI crossing over the 0 line
Bear event = CCI crossing below the 0 line
Added a signal as EMA (modified CCI, signal length)
The second option is a standard CCI indicator that shows a coloured histogram of important levels, giving a good visual of the CCI levels. Added to this version is an extra coloured level +/-200 and an option to use Traditional CCI calculations according to user @JustUncleL
LEVELS:
Aqua: Greater than 200.
Lavender: Greater than 100 and less than 200.
Dark Lavender: Greater than 0 and less than 100.
Dark Coral: Less than 0 and greater than -100.
Coral: Less than -100 and greater than -200.
Light Red: Less than -200.
Moving Average ToolThe Moving Average Tool is the only indicator you will ever need to plot MA lines. It comes loaded with 9 different types of moving averages so traders can lay down any line at any length. There is also an option to plot a trigger line. Features: SMA , SMMA, EMA, LSMA, ZLSMA, HULL, LWMA, VWMA and ALMA. Simply pick an average type and enter the desired length.
AWB - Alma Weird Bands [SilentShiller]A simple experiment that using Arnaud Legoux Moving Average tries to help visualize an extended trend and its reversal . You can play with:
Alma length
Alma offset ( needs sigma not to be 0 )
Alma sigma
I hope you find it useful. Feel free to modify it and let me know to test your scripts!
Custom Moving Average LinesHeylo!
This is a script for basic market trend analysis using moving average lines. It features eight lines with eight choices of moving averages and adjustable sources & time periods . The choice of moving averages are stated below:
1. Simple Moving Average (sma)
2. Exponential Moving Average (ema)
3. Weighted Moving Average (wma)
4. Relative Moving Average (rma)
5. Hull Moving Average (hma)
6. Sine-Weighted Moving Average (swma)
7. Volume Weighted Moving Average (vwma)
8. Volume Weighted Average Price (vwap)
Planning on including other formula based indicators soon. Let me know if there can be some improvements made / errors so I can fix it.
Cheers!
Trend Indicator A-V2 (Smoothed Heikin Ashi Cloud)"Trend Indicator A-V2" and "Trend Indicator B-V2" are updated and improved versions of my initial trend indicators. Totally rethinking the code, adding highs and lows in the calculations, including some more customisation through colour schemes.
In practice, this indicator uses EMAs and Heikin Ashi to provide an overall idea of the trend.
The "Trend Indicator A-V2" is an overlay showing “Smoothed Heikin Ashi” .
The "Trend Indicator B-V2" uses the same values in a different way to measure the momentum of the trend and identify potential trend rejections.
Please, take into account that it is a lagging indicator.
Trend Indicator B-V2 (Momentum measuring)"Trend Indicator A-V2" and "Trend Indicator B-V2" are updated and improved versions of my initial trend indicators. Totally rethinking the code, adding highs and lows in the calculations, including some more customisation through colour schemes.
In practice, this indicator uses EMAs and Heikin Ashi to provide an overall idea of the trend.
The "Trend Indicator A-V2" is an overlay showing “Smoothed Heikin Ashi” .
The "Trend Indicator B-V2" uses the same values in a different way to measure the momentum of the trend and identify potential trend rejections.
Please, take into account that it is a lagging indicator.
Dziwne Trend Indicator A (EMA + Heikin Ashi cloud)First script ever publish.
It is a very simple trend indicator based on EMAs and Heikin Ashi .
Quad MAFor a dive into the fine details, see the source code/documentation.
Quad MA is a program designed to allow a wide range of flexibility in overlaying multiple moving averages onto a chart.
This program handles the ability to:
- Overlay Up to 4 moving averages on the chart.
- Change the length of each moving average.
- Adjust optional values for special moving averages
(least squares and Arnaud Legoux)
- Change the color for each moving average.
- Change the type of each moving average individually.
- Change the visibility of each moving average.
- Change the source of the moving averages.
- Set alerts for a cross between any two moving averages.
Customizable MA RibbonAll credits to @Violent (www.tradingview.com) for making the original code! I just updated it by adding new features and themes!
---------------------------------------------
Lemon's Customizable MA Ribbon:
---------------------------------------------
A series of moving averages of different lengths that create a ribbon-like indicator. Traders can determine trend strength by lookin at the distance between the moving averages and the overall balance of the colored lines. Price movements through the ribbon can also be used to identify trend changes.
------------
FEATURES
------------
MA TYPES: SMA , EMA , WMA, RMA, ALMA, VWMA, HMA
Editable length
Editable start
User defined number of plots to show (between 1 to 32 total plots)
Multiple color theme choices
A color smoothing option.
Thank you and happy trading!
with love,
-Lemon
SwingScalpin MA'sDefault
HMA's + Trend Signals
Default SMA's
ALMA
BarColoring
The idea behind this script was to incorporate a few different moving average types into 1 indicator so multiple trading strategies could be implemented depending on Price Action. This indicator includes 3 HMA's, 2 user defined EMA/SMA's, 1 ALMA (which also is used for the bar coloring), and Trend signals at the bottom of the chart (which are defined by the 1st MA). By default all of the Moving Averages are set to false because they aren't meant to be used together unless you so chose to. The only feauture initially being shown are the Trend signals at the bottom of the screen.
HMA's - The default lengths for the HMA's are 7, 14, and 21.
This is not Financial Advice nor am I saying this works all of the time but here are a few examples of how I've traded the HMA's... OF course thid depends on overall PA but the idea is to enter and exit when all
three HMA's turn Green or Red...
For quicker entries and exits, you could enter when the Fast HMA crosses the Medium HMA and exit when the it crosses back over/under the Medium HMA.
For more of a swing trade and when there's definitely an established trend, I would stay in the trade until Fast HMA crosses under the Slow HMA, otherwise it might just be a normal retrace prior to making another move up.
When PA is ranging but not really trending in either direction, I'll use the Slow HMA as somewhat of a Trailing SL.
The 2 user defined moving averages can either be an EMA or SMA. The 1st MA is set to the 200 SMA by default, which also triggers the Trend signals at the bottom of the chart. The 2nd MA is set to the 6 SMA by default.
The ALMA is set to 50 by default, which is also used for the bar coloring. Lastly, all of the MA's change color depending on the trend.
Custom Moving Average (EMA & SMA)This script is a custom visualization tool to plot 4 Moving Averages (MA).
Each MA is customizable; you can:
enable (disable) the plot of MA;
select whether the MA is an EMA or an SMA;
the length;
the source (open, close, ...);
the offset value (default is 0).
Note:
The 1st MA is an EMA with length 50.
The others MAs are SMA with length 9, 30 and 100 respectively.
ALMA PPO with Volume Weighted ATR BandsAlma PPO with a percentile eq and atr bands using volume weighted alma. Volume weighted alma idea from rumpypumpydumpy. All code is from the open source library.
OCC Trend Combo 1 day BTC MoonflagRuns on BTC 1 DAY (NOTE USE THIS NOT THE PREVIOUS VERSION - DEFAULTS TUNED TO 1 day BTC HERE)
USE DEFAULT SETTINGS
The strategy is to maximise the profit for OCC longs (ALMA algo)
Longs start when the price action settles around the ALMA OCC, then typically breaks up
Then follow the trend indcator (blue/orange)
Shorts normally happen when the price action crosses below the ALMA OCC, although these initiate faster than the 1 day time setting - so watchout for shorts - are harder to predict than longs
So this catches most of the big move longs at their initiation
[blackcat] L1 Colorful KDJLevel: 1
Background
The KDJ oscillator display consists of 3 lines (K, D and J - hence the name of the display) and 2 levels. K and D are the same lines you see when using the stochastic oscillator. The J line in turn represents the deviation of the D value from the K value. The convergence of these lines indicates new trading opportunities. Just like the Stochastic Oscillator, oversold and overbought levels correspond to the times when the trend is likely to reverse.
Function
L1 Colorful KDJ use alma() and color to indicate k, d, j trend directions and use candles for j value indication of buy and sell points.
Key Signal
k --> k value of a stochastic oscillator
d --> d value of a stochastic oscillator
j --> the deviation of the d value from the d value of a stochastic oscillator
Pros and Cons
Pros:
1. filter out KDJ fake signal by introducing alma()
2. J value can be used to detect overbought and oversold regions
Cons:
1. It works better in small time frame and sideways. Extreme long or short conditions may cause KDJ staturate.
2. It can only indicate in current time frame, larger time frame trend info is missing.
Remarks
NA
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.
[blackcat] L1 ALMA Trend ScalperLevel: 1
Background
The Arnaud Legoux Moving Average (ALMA) indicator was recently added to the family of moving averages. It was developed in 2009 by Arnaud Legous and Dimitrios Kouzis Loukas. Since then, this indicator has gained huge popularity among traders.
ALMA works like any moving average work. However, the calculation of the ALMA is more perfect compared to the moving average. This indicator has minimal lag which makes it a leading indicator in the market. While the SMA, MA, EMA and SMMA signal line is often delayed. The ALMA was designed to address the two critical disadvantages of traditional moving averages, responsiveness and smoothness.
Function
L1 ALMA Trend Scalper is simple but powerful. This indicator makes full use of ALMA's rapid response advantage to provide buying and selling points by winding and crossing two short-term moving averages. A mid-term moving average can provide relatively effective support and pressure. Finally, the function of whale pump detection is simply realized through the characteristics of the moving average.
Key Signal
trendline --> mid term moving average for support and resistance
tradingline ---> basic element for fast line and slow line
fastline ---> fast line for short term
slowline --> slow line for short term
pumpstart ---> simple whale pump zone detection
Pros and Cons
Pros:
1. Simple but clear to see the trend reversals
2. Aux middle term moving average help just whether it is a true or fake breakout
Cons:
1. No advanced trading skill is incorporated
2. Need improvements on sideways.
Remarks
Just be simple but powerful
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.
L1 On Balance Volume IndicatorLevel: 1
Background
On Balance Volume (OBV) is a simple indicator that uses volume and price to measure buying and selling pressure. The buying pressure is evident when the positive volume exceeds the negative volume and the OBV line rises.
Function
L1 On Balance Volume Indicator is a simple but improved OBV by using alma and more input parameters
Key Signal
OBV and its ALMA
Pros and Cons
Pros:
1. More freedom to tune with more input parameters
2. ALMA can make better tradeoff between response and smooth
Cons:
1. No details of volume generation can be disclosed
2. It may help to judge trend but not the short-term price movements.
Remarks
NA
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.
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!
SMOTHING_MOVE_SIDDThis Indicator is used to smooth the movement of scripts with SMMA and SEMA .
Inspired by Chris Moody RSI-EMA .
This indicator help to avoid any kind of small correction in trending direction and it filter small kind of correction.
Small correction like 2-15 irregular corrective candles is filtered with the help of smooth moving average and Arnaud Legoux Moving Average.
Keep default setting help for optimal trend filter changing setting may change the results.
This Indicator is not recommending for Buy and Sell.
Combination Parabolic MA/IIR/ALMA Strategy, and other goodies Okay, so this is a lot. It started mostly with me combining indicators and looking for ideal entry criteria.
It is also a collection of conditions, whether used or unused, for my current chosen "best" strategy. It is currently set how I like it, but it has changed with time, and will continue to do so. Within, there are variables that are unused, but offer some insight into the overall odds of a trade. They were, in fact, once used but fell out of favor. And all details for this strategy are within the comment header of the script.
As this evolves, I most certainly wont keep any future findings and hope for profit from my peers (yinz). Also, I'd like to give a sincere thanks to the people of TV for what I learned in a few month's time and their flexible membership plans. Basically, I'm just a mad scientist, but this monster's a masterpiece and folks here before me made many indirect contributions to it.
--------------------------
Okay guys, lastly and most importantly,
Each smack of the like button is a vote of your confidence in me, to my beautiful landladies, Celeste and Adele, that my rent will be caught up and that it won't always be a problem. Which, in my mind, makes me a graph. And they've got strong hands and don't sell the low. I more than respect that. Seriously. And I'm very grateful for their willingness to work with me, but the thing is that I didn't ask first; life just happens. But few are tolerant of others. And quite importantly, I truly believe that I will be successful one day, and that "thumbs-up" button is your vote of confidence. If you're not sure, then don't hit it yet. Maybe my scripts will boost your confidence in me :)
-------------------------
PS: And you know what? I'ma give a shout-out to Philakone for teaching me everything that I know about Elliot Wave . Absolutely. Two years ago, I would keep telling myself that one day I will put something in his gratuity wallet or pursue the paid courses. And, I still plan on it, because I'm grateful. And so also, to everybody else, I'm recommending him to learn from. because as a trader who might not know everything for free, you can certainly fill in the gaps with his altruistic offerings. And I'm betting that you will then feel more than inclined to buy the Udemy course.
"If wave 2 retraces a lot; number 4 will not". Repetition. Philakone didn't fix my memory but he sure did find a workaround, haha
Okay, everyone, Thanks!