RSI Failure Swings & AO DivergencesHello!
The script identifies RSI divergences, similar to other public scripts; however, RSI failure swings are also distinguished. When a failure swing is identified, the script calculates the highest RSI measurement (bottom failure swing) or the lowest RSI measurement (top failure swing) between the two RSI pivot points. A continually updating line is plotted at the "fail point" until it is penetrated for two sessions! In addition, the script displays the RSI fail point measurement. RSI bearish divergences are only distinguished when both RSI peaks form above 70. bullish divergences are only distinguished when both RSI troughs form below 30. Top failure swings require the initial RSI peak be above 70, the second RSI peak can form at any measurement. Bottom failure swings require the initial RSI trough be below 30, the second RSI trough can form at any measurement.
Included are Awesome Oscillator divergences. The indicator is a bit tricky; the oscillator does not incorporate an upper or lower extremity. Consequently, the script uses interpolated percentiles to characterize relatively high measurements and relatively low measurements. Bearish divergences that form within the 90th - 99th percentile are distinguished, and bullish divergences that form within the 1 - 10th percentile are distinguished. This can CERTAINLY be changed should you copy the source code and think of something better! For AO, white columns reflect a difference measurement >= 0; black bars reflect a difference measurement < 0
Bill Williams Indicators
Alligator: Three signals confirmation with AlertsHello Trading Viewers,
The following is the William’s Alligator indicator with alerts indicating strong momentum, it can be used for scalping in lower time-frames or just riding the momentum in 1hr or 4hrs charts.
Input choices are:
1. Source of Data: Open, Low, High, Close, HL2, HLC3 and so on.
2. Simple and Exponential are the two choices of moving averages.
3. Lips, Teeth and Jaws input numbers are Fibonacci numbers with offsets from -4 to +4.
4. Up Momentum and Down Momentum signals will be plotted top and bottom of the charts respectively when conditions are met.
Idea used to confirm strong momentum
When (High + Low / 2) price is greater than Alligator’s Lips, Teeth, and Jaws, it is considered as a good time to go long; however, to strengthen the idea, the up-momentum condition needs to be approved three times consecutively. (Three consecutive candle bars should remain above Lips, Teeth, and Jaws to trigger an alert signal and plot Up- momentum shape on the charts)
The same idea with down-momentum, but the condition (High + Low / 2) price should be less than Alligator’s Lips, Teeth, and Jaws.
There is an alert set-up, once strong momentum is spotted it will send an alert once per bar close. You can relax and run an errand when the alert is not triggered.
Happy Trading!
Williams Alligator Trend Filter HeatmapHello I've decided that the alligator lines can be used to find a trend. This script expands on that and checks 10 different multipliers to see trend over the long term and have 10 values. Those 10 values each give a color to one of the 10 lines in turn giving this Fire like plotting. I personaly use this to see if there is fear (red) in the markets or greed (blue), plotted 9 different crypto coins on the chart and have 4 columns in my setup to see the values on different timeframes. In the chart preview this is 1H,30M,10M,1M to see current environment. The colors use alot of data to generate especialy the bottom part, that colors based on a very long time zone.
Williams Alligator Trend FilterI've edited the normal Bill Williams Alligator indicator to have a color fill that indicates the trend. There is a percentage range filter which checks if the 2 outer lines are enough far away from eachother to indicate a trend. The indicator also checks if the lines are below or above eachother in the right order as a last check to confirm Trend
Fibonacci levels MTFHello All,
I got some requests for a script that shows Fibonacci Levels of Higher Time Frame Candles. so I made/published this script. I hope it would be useful for you.
Options:
You can set Higher Time Frame, by default it's 1 Day.
Optionally it can use Current or Last Candle of higher time frame to calculate/show its Fibonacci Levels.
It can show higher time frame candles at the background optionally. You can change its colors.
You can enable/disable/change each Fibonacci levels and their colors.
You can enable/disable Fibonacci Labels that is shown at the right ride and see only Fibonacci lines/levels
example, Fibonacci levels with higher time frame candles:
P.S. if you have ideas to improve this script, drop a comment under the script please
Enjoy!
[JL] How Many Signals last N barsGot this idea after I found Multiple Indicators Screener from QuantNomad.
This script learnt some codes from QuantNomad's great script. Thanks to him.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This table show how many signals happened during the last N bars.
I only take care Forex, so this table only has 28 symbols. Feel free to change it.
Calculate the following signals:
RSI cross over/under 50
Short Moving average cross over/under long moving average
Stochastic k cross over/under d
MACD hist cross over/under 0
Williams Fractals: Up and Down fractals happened.
The concept is simple: Range period will always happen more cross signals than the trend period.
When the counter is less than median of all symbols, will be set green color. So more green mean more chance to be trend.
%R Trend Exhaustion [upslidedown]I love Williams %R! This indicator mixes two %R periods... a standard %R with a longer period %R. The longer period of 112 has interesting results for trend following strategies in the crypto market through backtesting.
Alone these are fairly ordinary but together they provide a very interesting trend exhaustion/reversal system while filtering out some noise. I have highlighted key areas of interest with filled boxes. An "area of interest" is when there is confluence between the short and long period %R values along with being overbought or oversold. Once there is a break in the overbought or oversold trend, an arrow will print.
This is one of my odder ideas that appears to have some merit and detects interesting tops or bottoms (or confirms a trend reversal) so I'm publicly publishing for the community to find. If you find this useful please reach out and let me know how you use it as it's fairly unique... and thus different than anything I've ever seen or used.
Argo II - (alerts for 3commas composite bots) - publicThis script lets users create BUY/SELL alerts for 3commas composite bots (1 alert = 12 pairs) in a simple way, based on a built in set of indicators that can be tweaked to work together or alone through the study settings.
There is a version of this script for single pair bots, with slightly more features here .
If the user choses to create both BUY and SELL signals from the study settings, the (1) alert created will send both BUY and SELL signals for all 12 pairs selected. At this stage, the script forces the user to select 12 pairs in the study settings. If less pairs are inserted, it will not work. Also, the script will only send alerts for the pairs selected in the study settings, not for the current chart (if different).
How to use:
- Add the script to the current chart
- Open the study settings , insert bot details and select 12 pairs. You should write the pairs manually, using the format BTC , ADA, ETH, etc. They MUST be in capital letters or 3commas will not recognize them.
- Still in the study settings, tweak the deal start/close conditions from various indicators until happy. The study will plot the entry / exit points below the current chart (1 = buy, 2 = sell)
- Make sure your strategy works for all the pairs you have selected, simply by checking each chart with the same study settings
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
That's it.
Notes:
- If you insert coins that are not available for the quote currency and exchange of your choosing, the script will not work and return an error.
- Make sure you run tests with paper trading or dummy bots (i.e without actual bot ID) to ensure your alerts trigger as intended on all coins.
- If alerts trigger too much (i.e they all trigger at the same time for all coins), Trading View will stop the alert. So probably not ideal for a scalping bot. It could also be the sign the script doesn't work as intended.
- The script is a bit slow on my side. I am a beginner in pinescript, so if anyone knows how to simplify it, please let me know.
- if anyone knows how to tell the script to function with less than 12 pairs (when not filling the 12 fields in the setting), please also let me know :)
EneX SignalEneX is signal that give recommendation signals for entry and exit on spot market. This indicators not suitable for leverage trading in futures market.
EneX signal consider several indicators and has entry and exit rules.
EneX signal is suitable for investors who believe in trend following strategy (disclaimer on).
This script composed by Yohan Naftali for educational purpose only. Reader who will use this signal must do own research.
Indicator and Plot Involved
1. Williams Fractals with default periods = 2
2. William Alligator Indicators with default simple moving average 8, 13, and 21
3. Exponential Moving Averages with default value EMA 50, 100, and 200
4. Relative Strength Index with default overbought level = 80 and oversold level = 20
5. Williams Fractals are joined to create support and resistance line and fill area between support and resistance lines.
Entry signal conditions
1. Entry on Weakness when bullish fractal appear on n/2 period
2. Entry when price break resistance line
All entry condition must above EMA and alligator signal and not in overbought RSI
Exit signal conditions
1. Lowest price is below Exponential Moving Average
2. Lowest price is below William alligator lines
You can easily find entry and exit points by using Entry (E), Exit(X) signals
How to use
1. Monitor chart and wait until E or X signals
2. Entry if Entry Signal (E) appear (green colored label)
3. Exit if Exit Signal (X) appear (red colored label)
4. Change indicators setting when necessary
Best Practice
1. Entry only when entry signal (E) appear
2. Never entry when price below William alligator signal
3. Exit when exit signal (X) appear
4. Not exit when exit signal appear when you believe or you have information that price will be rebound
5. Exit if you believe that current price meet your target price
6. Always wise when use EneX signals
Disclaimer
Do your own research and consider fundamental price of asset.
The indicators provided on this script is for educational purposes only.
Author does not offer advisory or brokerage services, nor does it recommend or advise users to buy or sell particular stocks or securities.
Please examined script and give feedback for further improvement.
Simple Trader - Swing PivotsSimple Trader - Swing Pivots.
Note: Do not use this indicator as buy/sell signals.
I'm using this indicator to see the visible reversal points in chart.
I use 5 candles preceding and 5 candles following in 3 mins chart to analyze the trend and momentum.
I use 2 candles preceding and 2 candles following in 30 mins chart to analyze the trend and momentum.
Willians Ultimate Oscillator [DM]Hello colleagues
I share the Williams Ultimate Oscillator
You can select betwen:
1.Average signal of 9 lengths (3 X UO).
2. Three independent signals UO.
You can also customize the oversold and oversold bands.
Some alerts were added.
The gradient colors of the background warn us of a squeeze in the movement of the indicator.
If there is something that can be improved (it is certain that it is) please leave it in comments.
OS AO (P-unity MACD)This is both the Awesome Oscillator (AO) as described in New Trading Dimensions ( NTD , book by Bill Williams ), and the Profitunity MACD described in the first edition of Trading Chaos.
The calculation for both is the same. In this case I added the 5 day SMA which is the blue line. The difference between the blue line and the AO is the AC which is also described in NTD and is usually plotted in a different indicator (AC).
This is the base for the following signals:
Zone Bar
2nd Wise Man
The signals are triggered and shown on the main chart screen through the use of OS Alligator . This indicator (AO) provides further insight in analyzing those signals by reading the AO, its current position and evolution directly.
Williams Fractals BUY/SELL signals indicatorThis indicator made with using Williams Fractals, 20 50 100 Moving Averages and Relative Strength Index. You can easily find entry points by using Long (L), Short (S) signals.
This is a 15min scalping strategy for BTC:USDT Perpetual pair. For use different pairs or TFs you may need to change settings.
How to use
****************
When flashing Long (L) or Short (S) signal you should wait until the candle closing for the confirmation.
After that candle closed with the signal, you can enter a trade in next candle opening.
Your SL should be 3.1% from etnry and TP should be 0.5% from entry for best results. (You can use Long Position / Short Position tool in Prediction and Measurement Tools in drawing pannel to calculate this. This settings only for BTC:USDT Perp 15 min TF. For other TFs or Pairs settings may vary. You can easily change these settings and backtest your own.)
After entering a trade you can be ignored next signals until close the trade.
To learn more about this strategy, please try the "Williams Fractals Strategy" I coded. Thank you!
Argo I (alerts for 3commas single bots)This script lets users create BUY/SELL alerts for 3commas single bots in a simple way, based on a built in set of indicators that can be tweaked to work together or separately through the study settings. Indicators include Bollinger Bands, Williams %R, RSI, EMA, SMA , Market Cipher, Inverse Fisher Transform.
If the user choses to create both BUY and SELL signals from the study settings, the alert created will send both BUY and SELL signals for the selected pair. Note the script will only send alerts for the pair selected in the study settings, not for the current chart (if different).
How to use:
- Add the script to the current chart
- Open the study settings , insert bot details. Pairs MUST be in capital letters or 3commas will not recognize them.
- Still in the study settings, tweak the deal start/close conditions from various indicators until happy. The study will plot the entry / exit points below the current chart (1 = buy, 2 = sell)
- Ideally, test the settings with a backtesting script. The present script is compatible with the Trading Parrot's backtester.
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
Happy tweaking!
Hotch v1.02 RSI+Fractals/VWAP Bands/Smoothed Moving Average. In this script the RSI is used the limit number of displayed fractals to only those fractals that are triggered in the RSI Overbought and Oversold areas. This helps keep the chart cleaner looking when combined with other indicators so other icons that are plotted above and below candles are not covered up.
For example if the RSI drops below 30 the next fractal would be displayed.
If the RSI stays below 30 each fractal would be displayed.
If the RSI dips below 30 and returns above 30 before there is a fractal is displayed, the next valid fractal would still be displayed.
With optimization of the RSI values this indicator can be used in confluence with the included VWAP bands and Moving average to find trend reversal entry points for trades. Also recommended is to use a divergence identifying lower indicator as a secondary confirmation of trade entry.
Example of a potential long entry using the displayed chart.
1) RSI under 30
2) Price was recently outside of your chosen VWAP multiple.
3) a fractal was triggered.
Additionaly:
4) Use other indicators or other confluences for a stronger trade signal.
5) Use your preferred method of determining entry price stop loss and take profit.
NOTE: Fractals normally paint two bars behind the current bar. In this code, with the combination of the RSI and Fractal Trigger, the fractal paints an icon on the current bar.
Inverse Fisher Transform on Williams %RInverse Fisher Transform On Williams %R
Since Williams R indicator produces negative values, I preferred to add 50 instead of subtracting 50.
It produces values between 0.5 and -0.5.
Generates clear buy and sell signals.
Williams %R determines overbought and oversold levels.
You can see more softly.
Alma Moving Average Ribbon Reverse Length [DM]Greetings Colleagues
Following some recommendations and ideas I share this moving average, put all of them together
The length calculation is automatic there is only one input.
The length is inverse so it will wrap from the longest reference point, hence using phi
Moving averages will wrap around the price.
I've also added gradient color to plots and fill plots
There is an alert selector in case you are interested in a particular crossing, "remember that the order is reversed".
There is an alert visual plotshapes with offset signal.
Finally, after spending a few hours with the Williams alligator moving averages I found nothing special, but I added the individual offset adjustment for each moving average in case someone comes up with something.
Enjoy”
Some references about alma by "tradingview pinecoders"
What to look for
The Arnaud Legoux Moving Average has three elements to it:
Window: This element is the period. By default, the window is set to 9 periods, but it can be customized to fit any trading style.
Offset: This element is the Gaussian that is applied to the combo line and can be aligned to the current price. It’s default is set to 0.85, but by setting it to 1, you can make it align fully to the current price (similar to how an Exponential Moving Average (EMA) with a setting of 0 is like a Simple Moving Average (SMA)). 0.85 is what is recommended, however, you can customize it like with the window element.
Sigma: This element is a standard deviation that is applied to the combo line in order for it to appear more sharp. The default is set to 6 and it is not recommended to change the setting. The value of 6 is inspired by the Six Sigma process.
www.tradingview.com
Cryptobull | Long / Short IndicatorCryptobull is a indicator based on the Williams R and Bollinger Band to find Long / Short entries (together with your strategy).
!!! The indicator is not working in every market situation -> so i recommend to add the indicator to your existing strategy !!!
Designed for:
->15m Chart
->5m Chart
->Crypto
->(Stocks)
I recommend using this indicator with Price Action or your own strategy to enter trades.
Rainbow Indicator - Polfwack ProThis is a reverse engineered completely free Version of an Indicator that you would normally have to spend huge amounts of money on. I personally believe that no one should pay a fortune for access to an Indicator that contains huge amounts of freely available stuff.
This indicator claims to be even better than Market Cipher. Turns out it uses - just as Market Cipher, freely available Indicators and puts them in a nice looking package. I packed in as much as it made sense, the original Indicator is visually very cluttered with - in my opinion, too much random stuff that I have left out for a cleaner look, for example the truckload of entry signals, MFI and that Autotrendline feature that no one really needs because the human brain is way better at drawing lines.
Was is included? From top to bottom:
1st Bar -> Color coded RSI status. It shows Oversold and Overbought, Bullish, Hidden Bullish, Bearish and Hidden Bearish Divergences.
2nd Bar -> Color coded Market Structure Analyser. It shows if the market is currently ranging, bullish or bearish based on calculated pivots and outbreaks of said pivots. Bullish and Bearish breaks are also being printed.
Main Oscillator -> An Awesome Oscillator (AO) that prints bullish, hidden bullish, bearish and hidden bearish divergences as well as positive and negative Pivot Points.
Bollinger Bands -> They are following the AO and are color coded to the long term trend indicator for less visual clutter.
Secondary Oscillator -> Accelerator Oscillator (AC).
3rd Bar -> Color coded longer term trend indicator, it mirrors the color code on the Bollinger Bands. The original uses an ATR-based calculation, but I found a Kumo cloud to be more simple and more reliable for this kind of thing.
4th Bar -> Color coded mirror of the Accelerator Oscillator.
I tried to make the whole Indicator as adjustable as possible, most of the variables can be edited to your liking.
On the internet you can find all sorts of strategies for every single of the included indicators.
I hope that I have saved you at least some money. Good luck.
Triple Williams Alligator (MTF)This script is simply a Multi time frame version of the built in Williams Alligator script.
Higher time frame Alligators can often produce resistance and support as traders on different timeframes react to them. They can also act as a trend filter.
Traders RealityTraders Reality indicator
This indicator serves as the Tradingview equivalent of an MT4 indicator suite.
It differentiates from existing TV indicators in its style and total feature set (most notably PVSRA and PVSRA Override)
It was originally designed for forex markets, and it will work for crypto as well, but it has not been tested on stocks.
List of features:
PVSRA Candles
Market boxes (NY/JP/ HK /UK/ FR and Brinks Boxes)
5/13/50/200/800 EMAs (cloud for 50EMA)
Pivot points (S/M/R 1,2,3; PP )
Yesterday and Last Week price range
Average Daily Range (Weekly and Monthly as well)
Daily Open
PVSRA Override
All of these are configurable in the indicator settings.
Usage instructions:
PVSRA Candle colors meaning:
Green (bull) and red (bear): Candles with volume >= 200% of the average volume of the 10 previous chart candles, and candles where the product of candle spread x candle volume is >= the highest for the 10 previous chart time candles.
Blue (bull) and blue-violet (bear): Candles with volume >= 150% of the average volume of the 10 previous chart candles
PVSRA Override
In order to get reliable bar coloring, we need accurate data. If you're on a chart with low volume on some obscure exchange, you may want to use another exchanges datafeed for the symbol you are on to calculate the PVSRA bar colors with. This lets you do exactly that. By default it's off, but you can turn it on and use INDEX:BTCUSD, or really any other chart you want. You can combine charts too, e.g. use BINANCE:BTCUSDT+COINBASE:BTCUSD.
PVSRA Alerts
Alerts can be made for PVSRA "vector"/"climax" candles:
1. Create Alert (Clock with + sign)
2. Set Condition: "Traders Reality",
3. Select "Alert on Vector Candle",
4. Set it to Once per Bar,
5. choose your notification options.
Market boxes
The market boxes times are configurable and will change depending on the exchange timezone. I recommend to pick your main exchange/chart and adjust the times so that they are correct. Technically you will need to shift the time from the exchanges' timezone to GMT . Default values should be good for UTC based exchanges in current US+UK summer time.
Recommended additional Tradingview indicator(s):
- TDI - Goldminds, Edited for Market Makers Method by Jakub Donovan
Footnotes
The code was originally by plasmapug, continued development (with permission) is now done by infernix and peshocore.
If you have suggestions or questions, you can message me or leave a comment.
Previous changelog (while it was private):
Mar 27 2021 Release Notes: dropped the inputs for the session boxes, no need to set any colors there
Mar 29 2021 Release Notes: Reworked the level drawing. Should work on all timeframes below daily now. Updated ADR level calculations to match with Tinos MT4 setup.
Mar 29 2021 Release Notes: Added configurable label offset (thanks Hud ). Add config option for pivot level extension to the left. Add option to hide ADR range
Mar 31 2021 Release Notes: Implemented PVSRA according to MT4 algorithm. Disabled market boxes on 3min, to be fixed later. Relabeled yesterday high. Colored market boxes.
Mar 31 2021 Release Notes: Clean up the market range boxes so that lines don't block wick visibility. Shift opening range to the first hour and make it configurable. Clean up configuration
Apr 2 2021 Release Notes: Added a session for Sydney. Update Sydney time. Add PVSRA calculation symbol override.
Apr 3 2021 Release Notes: No lookahead on PVSRA, should fix strangeness with candle colors. Added crypto weekly high according to Tinos range. May need some additional tuning.
Apr 5 2021 Release Notes: Another attempt at fixing PVSRA candle color issues. Start of refactoring. Adjusted crypto weekly math (still not exactly correct but getting there). Fixed pivot labels rendering at price 0.0 when levels not enabled
Apr 5 2021 Release Notes: Fix rendering in the 1 minute timeframe
Apr 8 2021 Release Notes: Transparency for pivot point lines (configurable color too). Conversion to functions by the great peshocore (thx!). Toggles for ADR AWR AMR . Updated psy low/high math
Jun 2 2021 Release Notes: Long overdue update, but no fundamental changes. Removed the psy/crypto weekly high/low due to its inaccuracy. You should put these lines on your chart manually. AWR does not show up by default, can be re-enabled in settings. Switched to f_security; this should resolve the redrawing of M levels together with the next update. Altered line drawing functions so that they update once the day rolls over, should fix the updating of M levels after midnight (Exchange time)
Jun 9 2021 Release Notes:Update pivot and M level update mechanism. Fixed ADR math, should now match MT4 more closely
Jun 10 2021 Release Notes: You can now create alerts on vector candles using the "Alert on vector candle" alert condition.
Jun 17 2021 Release Notes:Sync EMA color settings with EMA labels. Some bugfixes related to pivot and M levels, paritcularly M1
Jun 17 2021 Release Notes: Cosmetic fix (keep EMAs editable), no functional change
Jun 24 2021 Release Notes: Make session boxes configurable (color/opacity). Add daily open. Add bb rinks boxes
Jun 30 2021 Release Notes:. Add Frankfurt session
Jul 2 2021 Relase Notes: You can now en/disable each individual market box, its label, and its opening range
Pivot Boss -- Squat bars and Non Squat Bars 2.0Squat Bar Signal -- current Volume is greater than previous volume but Current bar MFI(Market Facilitation index) is lesser than previous bar MFI
Other Conditions -- Current Bars Range is lesser than (Average Range * Range Multiplier)
Non Squat Bar Buy Signal(Green Up Triangle) -- Volume and MFI is greater than previous bar, Close greater than open, Close is greater than midpoint
Non Squat Bar Sell Signal(Red Down Triangle) -- Volume and MFI is greater than previous bar, Close lesser than open, Close is lesser than midpoint
Usually Squat signal is confirmed by Non Squat Bar Signal..
Other indicator used -- PEMA -- Pivot based EMA
For Better results use it along with Advanced Volume indicator and PEMA