Retracement de Fibonacci
FibLinesThis script automatically draws Fibonacci Lines on chart.
0% line and 100% line are determined by "Period" parameter.
Fibonacci Algo - LongAutomatic Fibonacci retracement entry, stop loss and extension target level as apart of a customisable strategy.
Automatic plots of 23.6% 38.2%, 50%, 61.8%, 65%, 78.6% and -23.6, -61.8% and -100% levels.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Customisable Offsetfib - Offsets the pivots and sell zone as your entry position
will be some time after the upper and lower pivots are set.
Vegas Wave - Automatic plot. Shows price relative to wave and EMA crossover - See my 'Vegas Wave' code for more of an explanation.
A strategy based off buying the 50-618 with a defined stop loss the other side of the 65 or 786 can easily be formulated.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
The 236 and 382 region can also be plotted, allowing for lesser retracements coinciding with wave 4 pullbacks ( Elliott Wave Traders).
Works best in Bullish trends but will work on all timeframes (Bullish correction in an downtrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
Works well when used in combination with an oscillator which highlights Divergence.
Also refer to my other 'Fibonacci' Codes for more context.
Fibonacci Retracement (S)-GoldThe Automatic Fib Retracement-Gold script indicates the 38.2%, 50%, 61.8% and 65% pullback regions.
The lines of the upper and lower pivots , the support and resistance areas are also highlighted as well as the Golden Pocket.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Offsetfib - Automatically offsets the pivots and sell zone as your entry position
will be some time after the upper and lower pivots are set.
Works well when used in combination with an oscillator which highlights Divergence.
A strategy based off buying the 50-618 with a defined stop loss the other side of the 65 can easily be formulated. This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
The 382 region can also be plotted, allowing for lesser retracements coinciding with wave 4 pullbacks (Elliott Wave Traders).
Works best in Bearish trends but will work on all timeframes ( Bearish correction in an uptrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
BTCUSD-zero to 20K LongerTimeFrame (LTF) -(BTCUSD)This is a Longer Time Frame Fib level indicator. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for it to go the next level below for support. I will also publish levels inside these levels for those looking to see them on smaller time frames. You can find them yourself by taking the red level fibs as plug numbers. This makes it fractal in nature. I hope it will impress! It is great for having targets. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level yet. Same reason price action may move lower. It is looking for its fib level support. Find the fractal or/of inner fibs by plugging in two consecutive red level fib numbers as the plug numbers. With two plug number it will work for any instrument at any level. I'm looking for 5400 for support higher on Bitcoin.
Daily Auto Fibonacci ToolCalculates Fibonacci retracements based on daily highs/lows, and further beyond that if specified. The main difference between this and other auto Fibbing tools is ease of visibility.
Options:
Take highs/lows from a few days back or take highs/lows from each daily candle
Hide retracements before today
Show labels for each retracement level
Hide/Show retracement levels
Change colors quickly and uniformly (in script)
Retracements used:
-0.382 / 0 / 0.236 / 0.382 / 0.5 / 0.618 / 0.786 / 1 / 1.272
Fibonacci Retracement (S)-Silver
The Automatic Fib Retracement - Silver -0.24% script indicates the 50-61.8% pullback region.
The lines of the upper and lower pivots, the support and resistance areas are also highlighted.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Offsetfib - Automatically offsets the pivots and sell zone as your entry position
will be some time after the upper and lower pivots are set.
Works well when used in combination with an oscillator which highlights Divergence.
A strategy based off buying the 50-618 with a defined stop loss and target can be the basis of your strategy.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
Works best in Bearish trends but will work on all timeframes (Bearish correction in an uptrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
Fibonacci Retracement (L)-SilverThe Automatic Fib Retracement - Silver script indicates the 50-61.8% pullback region.
The lines of the upper and lower pivots, the support and resistance areas are also highlighted.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Offsetfib - Automatically offsets the pivots and buy zone as your entry position
will be some time after the upper and lower pivots are set.
Works well when used in combination with an oscillator which highlights Divergence.
A strategy based off buying the 50-618 with a defined stop loss and target can be the basis of your strategy.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
Works best in Bullish trends but will work on all timeframes (Bullish correction in downtrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
Fibonacci Retracement (L)-BronzeThe Automatic Fib Retracement - Bronze script indicates the 50% pullback line and upper 50% region.
The lines of the upper and lower pivots, the support and resistance areas are also highlighted.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Offsetfib - Automatically offsets the 50% region and pivots as your entry position
will be some time after the upper and lower pivots are set.
Works well when used in combination with an oscillator which highlights Divergence.
A strategy based off buying the 50% with a defined stop loss and target can be the basis of your strategy.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
Works best in Bullish trends but will work on all timeframes (Bullish correction in downtrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down as necessary.
Pivots and retracements are dynamic. Be sure to note your entry and targets.
ShroomDaddy's SugarDaddy 2.0Use this custom indicator for free to help you find good entries and exits while day or swing trading. It also works well with longer time frames. Add it to your favorites to use it.
If you have any feedback, feel free to leave a comment or click the like button. If you would like to talk about scripting and bots, feel free to join my discord: discord.gg
MG - Fibonacci Alerts - 1.2Updated version of:
The main change with this version, is that the indicator is now always overlayed and the user has to specify where they want the alerts to be displayed on the chart. (New 'Alert Base' and 'Alert Amplitude' properties define where this is shown in the chart and how large the alert spikes are). It also now includes optional bull and sell markers
This update therefore allows us to:
- Show the Fibonacci Levels being used by the indicator
- Plot buy and sell signals at the correct points on the price chart
- Trigger alerts when price reaches a Fibonacci level (without displaying this on the chart, the indicator can't be overlayed on the main chart)
MG - Fibonacci Alerts - 1.1Updated version of
Allows users to receive alerts when price reach a new Fibonacci level.
By default, the Fibonacci levels extend upwards. This can be changed to extend downwards by unchecking 'Extend Upwards' option.
Usage:
- Perform a Fib extension analysis and determine a high value, low value and direction of extension
- Add indicator and specify these values
- Optionally, to view the levels used by the indicator on the main chart, copy the indicator source and:
- Set overlayed = true
- Set highPrice and lowPrice to your determined values (optional, but will save re-entering them later)
- Add to chart
- This will show you the exact levels used by the indicator
- Set overlayed = false
- Remove and re-add the indicator
MG - Fibonacci Alerts - 1.0This script allows a user to get alerts when the price goes within a certain percentage threshold of a Fibonacci level.
If connected with AutoView, it could allow an easy way to do automated range trading between Fibonacci levels. Although I plan to do this myself, I haven't used it for this purpose yet so please be cautious and verify with live results beforehand before using it for any automation.
NOTE: The image shown of the indicator is not fully correct as the close price is used. In many cases in the example image, the candle close price DID come within the alert threshold but closed outside the threshold
Usage:
1. User performs a Fibonacci retracement / extension analysis to identify a sensible high and low point. (Currently, this script is geared towards dip pullbacks during a bull market with the ability to toggle rise pullbacks in a bear market in the pipeline)
2. User enters the high and low points into this indicator
3. User can then set alerts on the buy and sell signals which should provide alerts at excellent entry / exit points.
a. Alerts must be created on the buy and sell signal bars. E.g. Buy signal => Alert when 'Buy Signal' crosses up '0.9'
4. Set the alerts to once per bar (not per close). In this indicator, we want to catch things as soon as they happen.
NOTE: Should use in conjunction with another indicator for maximize results.
I personally use this indicator ()
TODO
- Add negative alert levels
- Allow user to specify direction of Fib retracement as the levels are different in bull and bear markets
All feedback is welcome
2 hours ago
MG - Fibonacci Level AlertsThis script allows a user to get alerts when the price goes within a certain percentage threshold of a Fibonacci level.
If connected with AutoView, it could allow an easy way to do automated range trading between Fibonacci levels. Although I plan to do this myself, I haven't used it for this purpose yet so please be cautious and verify with live results beforehand before using it for any automation.
NOTE: The image shown of the indicator is not fully correct as the close price is used. In many cases in the example image, the candle close price DID come within the alert threshold but closed outside the threshold
Usage:
1. User performs a Fibonacci retracement / extension analysis to identify a sensible high and low point. (Currently, this script is geared towards dip pullbacks during a bull market with the ability to toggle rise pullbacks in a bear market in the pipeline)
2. User enters the high and low points into this indicator
3. User can then set alerts on the buy and sell signals which should provide alerts at excellent entry / exit points.
4. Set the alerts to once per bar (not per close). In this indicator, we want to catch things as soon as they happen.
NOTE: Should use in conjunction with another indicator for maximum results.
I personally use this indicator ()
TODO
- Add negative alert levels
- Allow user to specify direction of Fib retracement as the levels are different in bull and bear markets
All feedback is welcome
[LTG]UP_FibonacciA moving Fibonacci Sequence that automatically draws on your charts to predict extensions based around the retracement levels. The targets and retracements are colour coordinated to allow for quick decision making and allows you to find the best entries and targets. For example, if the market pulls back to the red zone 61.8% Fibonacci level then the most probable extension will be to the red 161.8% level. The target is clearly visible with a white dashed line.
[LTG]DOWN_FibonacciA moving Fibonacci Sequence that automatically draws on your charts to predict extensions based around the retracement levels. The targets and retracements are colour coordinated to allow for quick decision making and allows you to find the best entries and targets. For example, if the market pulls back to the red zone 61.8% Fibonacci level then the most probable extension will be to the red 161.8% level. The target is clearly visible with a white dashed line.
ES-STF Fib2666.25 to 3180.50 (STF) - Maroon, Green, White (ES)This is a Shorter Time Frame Fib level indicator. To be used with Longer Time frame Indicator. Though it can be used independently. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for price action to go the next level below for support. It is fractal in nature. It is fib levels inside longer time frame fib levels. I hope it will impress! It is great for having targets and support levels. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level, yet. Same reason price action may move lower once it breaks a particular level. It is looking for its fib level support. Use with ES-STF 1902.25 to 2666.25 fib levels also, depending on price action is.
ES-665.75 to 3902.75 (LTF) - Maroon, Green, White (ES)This is a Longer Time Frame Fib level indicator. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for it to go the next level below for support. I will also publish levels inside these levels for those looking to see them on smaller time frames. I hope it will impress! It is great for having targets. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level yet. Same reason price action may move lower. It is looking for its fib level support. I will publish the fractal or inner fibs too. I also have the SPY fib out. With two plug number it will work for any instrument.
SPY 390.275 to 266.6216 (SPY-STF) - Maroon, Green, White (SPY)This is a Shorter Time Frame Fib level indicator. To be used with Longer Time frame Indicator. Though it can be used independently. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for price action to go the next level below for support. It is fractal in nature. It is fib levels inside longer time frame fib levels. I hope it will impress! It is great for having targets and support levels. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level, yet. Same reason price action may move lower once it breaks a particular level. It is looking for its fib level support.
SPY-190.225 to 266.625 (STF) - Maroon, Green, White (SPY)This is a Shorter Time Frame Fib level indicator. To be used with Longer Time frame Indicator. Though it can be used independently. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for it to go the next level below for support. It is fractal in nature. It is fib levels inside longer time frame fib levels. I hope it will impress! It is great for having targets. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level yet. Same reason price action may move lower once it breaks a particular level. It is looking for its fib level support.
SPY LongerTimeFrame (LTF) - Maroon, Green, White (SPY)This is a Longer Time Frame Fib level indicator. It shows where the market is looking to go and where it has been. When the market get above one level ( white bar, for example) look for price action to continue to the next level. If it breaks below the white bar look for it to go the next level below for support. I will also publish levels inside these levels for those looking to see them on smaller time frames. I hope it will impress! It is great for having targets. It helps in knowing why the market may continue in a direction. For example: When the price action has already moved up, why does it keep going up, because it hasn't reached targeted fib level yet. Same reason price action may move lower. It is looking for its fib level support.
Automatic Support, Resistance, Fibonacci LevelsThis indicator plots absolute high and low values for up to five completely adjustable time periods (in months, weeks, days, hours, minutes) and optionally calculates the Fibonacci levels on the pair of absolutes of your choice, ascending or descending, and mimics the shading available in the built-in Fib charting tools (e.g. retracement).
Here are a few screenshots of the same chart with various options selected.
3-Month, 4-Week, and 5-Day absolutes with 3-Monthly Fib plotted:
The same chart with 4-Weekly Fib:
The same chart with 5-Daily Fib:
5-Day, 12-Hour, 90-Minute absolutes with 12-Hourly Fib:
Zoomed in, on a 30-minute interval, with 90-minute Fib:
With descending ("inverted") 90-minute Fib:
I started putting this together for Vazzyb, who was looking for a way to automate plotting horizontal support and resistance levels for monthly, weekly, and daily extremes, and then I added additional features as they occurred to me. Special thanks to Paaax, who suggested I add Fib levels.
I am leaving the code open, so you may feel free to grab snippets you like and use them for your own purposes. Of particular interest may be my custom "calc_fib()" function, which accepts any series pair, as well as a Boolean indicating whether to invert, and returns an array with each of the major Fibonacci levels: .
If anyone likes this enough to feel generous, please feel free:
BTC
3KmFchJ18QvMzAJKDcFQXvyK9p1EHWQdhP
BCH
qqtrw64ptuwprk5vtj3z8qwkvh3v0jawxq7khqng7x
ETH
0x9b51361A278910Ba3945C7519C9f0FA8a77df18d
LTC
MDeWWsP7XCG2zQuZ2dYALZXQ52u2qkc8fh
P.S. If you want the time lengths to be as close to accurate as possible, don't forget to change the number of days per week when using for cryptocurrency!