Alligator AnalysesA simple script in order to plot the Alligator Indicator with triangles plotted on the graph in order to see directly if the alligator is sleeping or eating.
You will see green up triangles when the alligator is bullish eating, while red down triangles when the alligator is bearish eating.
You will not see anything on the chart when the alligator is sleeping.
Индикаторы Билла Вильямса
Bill Williams Trading Chaos Vol 1-NoviceThis is a revision of a script developed by tekolo. I hope tekolo takes a look. The concepts are here but I struggle with pine. I am very much a novice, but I tried to put information from the original book, Trading Chaos, Volume One by Bill Williams. There are too many plots to get this to wor. I made a lot of plot lines into comments to get it to run. I'm hoping someone with an interest in this material and some programming skills will be kind enough to take these thoughts and put them in a script that the Pine Editor would actually run. Thanks for taking a look. I do believe in these leading indicators. This is information included for Novice Level Trading in the Bill Williams book. There are more indicators developed in his material, but the jest is that Price is an end result of the marketplace. Market participation (Volume), Market Bias (Momentum), Increased Participation and Bias (Acceleration) all preceed the formation of the Trend. This along with Elliott Wave interpretation using his indicators as a basis for locating key points of the Elliott Wave, are most of what I understand about this interesting man's work. Again, I am a novice at all of this, but the leading indicators that result in price seem interesting. Thanks!
Market Facilitaion Index (coded by NGH)The indicator endeavors to establish the effectiveness of price movement by computing the price movement per volume unit. This is accomplished by subtracting the days low from the high and dividing the result by the total volume.
More info : en.wikipedia.org
Advanced Larry Williams 9.2- By EduHit rate greater than Setup 9.1
However, the stop of this setup becomes more expensive in certain situations.
PURCHASE SIGN
1 - Paper comes in a bullish trend in the operational term to be operated.
2 - Exponential moving average of 9 upward periods.
3 - Wait for a candle to make the largest closing (candle reference).
4 - If the next candle CLOSES below the minimum of the candle reference the setup is armed.
5 - Mark the candle maxim that closed below the reference. It's the trigger!
6 - If the next candle exceeds this maximum by 1 cent the trade is triggered. Put the stop loss at the low of the candle that closed below (0.01 to 0.10 below)
7 - If the next candle does not fire, let's lower the trigger to the lower maximums, SINCE the mm9exp does not turn down.
8 - It exceeded the maximum we will have the entrance.
9 - Original stop-loss in the minimum of the candle we set the maximum activated.
SIGN OF SALE
1 - Paper comes in a downtrend in the operating period to be operated.
2 - Exponential moving average of 9 periods descending.
3 - Wait for a candle that makes the lowest closing (candle reference).
4 - If the next candle CLOSE above the maximum of the reference candle the setup is armed.
5 - Bookmark the candle that closed above the reference. It's the trigger!
6 - If the next candle breaks this minimum, the trade is triggered.
7 - Place the stop-loss at the maximum of the candle that closed up.
8 - If the next candle does not trigger, we will raise the trigger to the highest minimums SINCE the exponential moving average of 9 periods does not turn upwards.
9 - It broke the minimum we will have the entrance.
10 - Stop-loss original in the maximum of the candle that we set the minimum activated.
*********************************************************************************************************************************************************
Índice de acerto Superior ao Setup 9.1
Porém o stop deste setup acaba se tornando mais caro em determinadas situações.
SINAL DE COMPRA
1 - Papel vem em tendência de alta no prazo operacional a ser operado.
2 - Média móvel exponencial de 9 períodos ascendente.
3 - Aguardar um candle que faça o maior fechamento (candle referência).
4 - Se o próximo candle FECHAR abaixo da mínima do candle referência o setup está armado.
5 - Marcar a máxima do candle que fechou abaixo do referência. É o gatilho!
6 - Se o próximo candle superar essa máxima em 1 centavo o trade é acionado. Colocar o stop-loss na mínima do candle que fechou abaixo (0,01 a 0,10 abaixo)
7 - Se o próximo candle não acionar, vamos abaixando o gatilho para as máximas menores DESDE QUE a mm9exp não vire para baixo.
8 - Superou a máxima teremos a entrada.
9 - Stop-loss original na mínima do candle que marcamos a máxima ativada.
SINAL DE VENDA
1 - Papel vem em tendência de baixa no prazo operacional a ser operado.
2 - Média móvel exponencial de 9 períodos descendente.
3 - Aguardar um candle que faça o menor fechamento (candle referência).
4 - Se o próximo candle FECHAR acima da máxima do candle referência o setup está armado.
5 - Marcar a mínima do candle que fechou acima do referência. É o gatilho!
6 - Se o próximo candle romper essa mínima o trade é acionado.
7 - Colocar o stop-loss na máxima do candle que fechou acima.
8 - Se o próximo candle não acionar, vamos levantando o gatilho para as mínimas maiores DESDE QUE a média móvel exponencial de 9 períodos não vire para cima.
9 - Rompeu a mínima teremos a entrada.
10 - Stop-loss original na máxima do candle que marcamos a mínima ativada.
Awesome Oscillator with AntiStep CorrectionHere is the well-known Awesome Oscillator (AO), which I use to present the real purpose of this post: a function that provides step correction for simple moving averages (SMAs).
We all know that any indicator based on moving averages lags real-time movement. Normally this is fine, but just after large ("step") changes in level, the pre-step values that are still within the SMA window cause the result to falsely reflect continued movement, even when real-time values remain flat.
To counter this, when a step change of a configurable size is detected, I temporarily shrink the SMA window size to include only those values occurring since the step change, and then allow the size to increase to normal length as we move away from the step change. This is accomplished within the antistep_sma() function.
Note that this will cause SMAs of different lengths (e.g. those used in the AO) to be temporarily equal, until the shorter of the two reaches its normal size and begins to leave the longer one behind again. You can see this above, where the AO, which is the difference of two SMAs, goes to 0 immediately after a sufficiently large step change--configured to 0.5% in this case.
Awesome Oscillator and MACD HistogramThis is a quick script that combines two standard indicators, the Awesome Oscillator and MACD histogram, to highlight the beginnings of periods of fast price movement (divergence between the two). Since MACD's EMA responds more quickly than AO's SMA, look for periods of green over gold as a bullish signal, and red under blue as a bearish signal.
Of course both indicators are lagging in nature, but the presence of this divergence often leads larger, continued movement in the same direction.
Bullish Signals
Change from red to green below 0 with either blue or gold above 0 (strengthened on second green bar):
Rising green above 0 with gold below 0:
Bearish Signals
Change from green to red above 0 with either blue or gold below 0 (strengthened on second red bar):
Deepening red below 0 with blue above 0:
Fractal HelperA spinoff from a previous script I published, this configurable indicator also selects highs and lows and then plots a trend line that bounces between them. In addition, it also iterates this up to two more times in a quasi-fractal manner, on larger time scales, and plots them on the same graph.
Of course this will not spit out Elliott waves, but with adjusting, it could aid in discerning one wave from another.
I may experiment with the security function again to get a better, longer L3 plot, although charts are limited in duration anyway.
Fractal Support ResistanceTroubleshooting this script.
The vertical lines are when the alerts fired in TradingView. Along the top a green F is LONG signal and red F is SHORT. Signals fire only after CLOSING for two consecutive bars above or below a fractal. Also there is a min delay of 12 bars between signals.
The alerts are configured identical to the F character plots. Not sure why the alerts are randomly firing. =(
Fractal Breakout V2Version 2 of my fractal pattern aid ( Version 1 ).
I added a bouncing line between the high and low trend lines, connecting consecutive extreme points. I also chased down a pesky bug in the slope calculation...and for now I have disabled the ability to change resolution basis for extreme detection (e.g. 30m on a 1hr chart).
For fun, I added some shading to make it more apparent at a glance what is happening, but if you find it gimmicky, there's an option to turn that off.
I am inexperienced with pattern recognition, so please send feedback if you have any ideas that would make this more useful.
Thanks!
Lemrin
Fractal BreakoutFirst of all, huge credit to synapticEx , whose brilliant use of the security function inspired me to figure out a way to get quasi-shape boundaries automatically drawn on a chart.
This study draws upper and lower trend lines, based on configurable fractal*** reversal detection, calculates slope from the last two upper or lower reversal points, and then extends a dotted line along the same slope...until the next upper (or lower) reversal occurs. If the high (or low) breaks this extension, the dotted line becomes solid to aid visibility. Reversal detection is configurable to use any number of ticks, but probably four to eight will work best.
I made the inclusion of volume in the reversal logic optional (off by default) and left the existing SMA input found in synapticEx's code intact, albeit with a lower default. With the addition of trend lines, I found volume hindered identification of reversals, although I could try various other filters than the SMA included originally.
I have also left intact the very nice ability to change the period and use the requested period identify reversals, courtesy of synapticEx.
This could be used in a strategy, as the values plotted are actual values that are available to include in logic and do not include knowledge of the future. However , information is not available until the floor of half the number of ticks used in reversal detection (I then offset by that number to line things up visually). Having never heard of it until now, I just Googled the Bill Williams Alligator strategy, which looks interesting, so maybe I could see how this could be ported to that.
***As I typed this, I remembered that while making reversal detection configurable, I changed the detection logic simply to look for highest (or lowest) of the desired length of ticks. I don't know whether this is not strictly fractal anymore, but if desired, with a little work, I could make it require consecutive, consistent changes before and after each reversal again.
Here are a few screenshots from hourly ticks, using the "current" (hourly) period, with and without volume, and playing with the number of points used to identify reversals.
Not using volume
Using volume
Bill Williams. Alligator, Fractals & Res/Sup combined (by vlkvr)Bill Williams indicators (each separately) are simple and quite self-sufficient, however, are most often used together. The key ones (Alligator and Fractals) are freely available and everyone can use them, but why use them on the chart separately, when "together more fun", and not conceivable, in my opinion, they are one without the other.
So, I present "split/copypasta" of two key indicators of Bill Williams, plus (as a bonus) visualization of "Support/Resistance" levels (and in fact, lines from extremes or the same fractals).
As a result, before you indicator "three-in-one".
Smoothened Williams Accumulation/Distribution (Williams AD) Accumulation is a term used to describe a market controlled by buyers;
whereas distribution is defined by a market controlled by sellers.
Williams recommends trading this indicator based on divergences:
Distribution of the security is indicated when the security is making
a new high and the A/D indicator is failing to make a new high. Sell.
Accumulation of the security is indicated when the security is making
a new low and the A/D indicator is failing to make a new low. Buy.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Smoothened Williams A/D Strategy Accumulation is a term used to describe a market controlled by buyers;
whereas distribution is defined by a market controlled by sellers.
Williams recommends trading this indicator based on divergences:
Distribution of the security is indicated when the security is making
a new high and the A/D indicator is failing to make a new high. Sell.
Accumulation of the security is indicated when the security is making
a new low and the A/D indicator is failing to make a new low. Buy.
WARNING:
- This script to change bars colors.
Williams Accumulation/Distribution (Williams AD) Backtest Accumulation is a term used to describe a market controlled by buyers;
whereas distribution is defined by a market controlled by sellers.
Williams recommends trading this indicator based on divergences:
Distribution of the security is indicated when the security is making
a new high and the A/D indicator is failing to make a new high. Sell.
Accumulation of the security is indicated when the security is making
a new low and the A/D indicator is failing to make a new low. Buy.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Log-space Williams AlligatorMake Williams Alligator usable for looking at weekly and high-volatility crypto charts.
The built-in indicator may have some problems with these charts, as in example below:
Fractal and Alligator Alerts by JustUncleLThis is based on two well known Bill Williams Fractal and Alligator strategies.
The following code is an implementation is similar to reversal strategy specified here:
forexwot.com
and another well know Alligator break out strategy.
This was achieved by combining some of the ideas from two other indicators:
True Williams Alligator (SMMA) by the_batman
Fractals and Levels by JustUncleL
There are two types of Fractal + Alligator Strategies included in this indicator:
Fractal Reversal : In an uptrend defined by Low Fractal that is above the Alligator teeth and the Alligator mouth is completed open in an uptrend. The opposite for downtrends. (Green and Red Arrows)
Fractal BreakOut : In an uptrend, at the start of Alligator open we look back for the first Fractal High above Alligator Teeth. Alligator teeth must be above mouth. (Aqua and Fuchsia arrows)