Phase Accumulation, Smoothed Williams %R Histogram [Loxx]Phase Accumulation, Smoothed Williams %R Histogram is a Williams %R indicator using dynamic inputs from Ehlers Phase Accumulation Dominant Cycle Period Algorithm. This indicator includes alerts and signals and is in a smoothed histogram form. The version of Phase Accumulation in this indicator is a modified form of of Ehlers algorithm to allow for better smoothing and cycle length selection.
What is Williams %R?
Williams %R , also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams %R may be used to find entry and exit points in the market. The indicator is very similar to the Stochastic oscillator and is used in the same way. It was developed by Larry Williams and it compares a stock’s closing price to the high-low range over a specific period, typically 14 days or periods.
What is Phase Accumulation?
The phase accumulation method of computing the dominant cycle is perhaps the easiest to comprehend. In this technique, we measure the phase at each sample by taking the arctangent of the ratio of the quadrature component to the in-phase component. A delta phase is generated by taking the difference of the phase between successive samples. At each sample we can then look backwards, adding up the delta phases.When the sum of the delta phases reaches 360 degrees, we must have passed through one full cycle, on average.The process is repeated for each new sample.
The phase accumulation method of cycle measurement always uses one full cycle’s worth of historical data.This is both an advantage and a disadvantage.The advantage is the lag in obtaining the answer scales directly with the cycle period.That is, the measurement of a short cycle period has less lag than the measurement of a longer cycle period. However, the number of samples used in making the measurement means the averaging period is variable with cycle period. longer averaging reduces the noise level compared to the signal.Therefore, shorter cycle periods necessarily have a higher out- put signal-to-noise ratio.
Included:
-Toggle on/off bar coloring
-Toggle on/off signals
-Alerts long/short
-Loxx's Expanded Source Types Library
Bill Williams Indicators
Chande Kroll Stop今天和大家分享Chande Kroll Stop 回测, 信号采用了上限线和下限线共通反向趋势而决定买卖信号,如果有新的构思能提高买卖信号欢迎在留言区发表你的建议,祝你交易开心!
Intermediate Williams %R w/ Discontinued Signal Lines [Loxx]Intermediate Williams %R w/ Discontinued Signal Lines is a Williams %R indicator with advanced options:
-Williams %R smoothing, 30+ smoothing algos found here:
-Williams %R signal, 30+ smoothing algos found here:
-DSL lines with smoothing or fixed overbought/oversold boundaries, smoothing algos are EMA and FEMA
-33 Expanded Source Type inputs including Heiken-Ashi and Heiken-Ashi Better, found here:
What is Williams %R?
Williams %R, also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams %R may be used to find entry and exit points in the market. The indicator is very similar to the Stochastic oscillator and is used in the same way. It was developed by Larry Williams and it compares a stock’s closing price to the high-low range over a specific period, typically 14 days or periods.
Included:
-Toggle on/off bar coloring
-Toggle on/off signal line
LutrewMTF// ————— Plots
var cMarkerUp = color.new(color.lime, 0)
var cMarkerDn = color.new(color.red, 0)
plotshape(A1U, "Marker 1 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = "1")
plotshape(A2D, "Marker 2 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "2")
plotshape(A3U, "Marker 3 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 3")
plotshape(A4D, "Marker 4 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "4 ")
plotshape(A5U, "Marker 5 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 5")
plotshape(A6D, "Marker 6 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "6 ")
plotshape(A7U, "Marker 7 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 7")
plotshape(A8D, "Marker 8 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "8 ")
// ————— Alert
alertcondition( A1U or A2D or A3U or A4D or A5U or A6D or A7U or A8D, "Pivots MTF: Configured Markers", "Pivots MTF Alert")
// }
VWAP OscilatorVWAP Oscillator - Awesome Oscillator but using different period Volume Weighted Average Price values instead of moving averages. Used to get an idea of the momentum of price movements and when momentum might be reversing.
Awesome Oscillator PlusThe Awesome Oscillator is an indicator used to measure market momentum. AO calculates the difference of a 34 Period and 5 Period Simple Moving Averages. The Simple Moving Averages that are used are not calculated using closing price but rather each bar's midpoints. AO is generally used to affirm trends or to anticipate possible reversals.
The Awesome Oscillator's saucer is a trading signal that many analysts use to identify potential rapid changes in momentum. The saucer strategy involves looking for changes in three consecutive bars that are on the same side of the zero line.
AO's saucers can be either bullish or bearish. A bullish saucer can be identified when the awesome oscillator is above the zero line and there are two consecutive red bars – with the second bar being lower than the first – which are followed by a green bar.
On the other hand, a bearish saucer can be identified by two consecutive green bars below the zero line – with the second bar being lower than the first – which are immediately followed by a red bar.
Bullish saucer = Background and green arrow
Bearish saucer = Background and red arrow
Alerts can be triggered when a bullish or bearish saucer occurs.
Blue dots mean that the maximum or minimum of 150 periods has been exceeded (you can change the number of periods). Also added a signal line which can be exchanged for different moving averages.
The MACD line and histogram have a setting of Fast MA = 13, Slow MA = 21 and Signal = 8.
Added light blue dots as bullish signals (MACD line below zero and line crossing) and pink dots as bearish signals (MACD line above zero and line crossing). Alerts can be activated to notify such signals.
Smaller Fractals (+ Transparency)Smaller Fractals (+ Transparency)
I find that fractals are super useful, but can visually clutter up the chart pretty quickly. Their opaqueness and just overall bigness can become a bit much.
As such, these are just like regular fractals, only smaller (pine script's`size.tiny` instead of the default `size.small`).
Also, you can set a transparency level to these little guys (default is 50%).
Simple, more polite, and hopefully more useful fractals for those wnting a cleaner looking chart. 😁
Williams Fractals - LH/HLSame of original Williams Fractals, but with the following changes
- changed arrow directions
- added option to show Lower Highs and Higher Lows
- added alerts for Lower High and Higher Low
Enjoy~~
Combo 2/20 EMA & Bill Williams Averages. 3Lines This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
This indicator calculates 3 Moving Averages for default values of
13, 8 and 5 days, with displacement 8, 5 and 3 days: Median Price (High+Low/2).
The most popular method of interpreting a moving average is to compare
the relationship between a moving average of the security's price with
the security's price itself (or between several moving averages).
WARNING:
- For purpose educate only
- This script to change bars colors.
Bogdan Ciocoiu - MoonshotDescription
Moonshot is an indicator that encapsulates the value delivered by the TSI, MACD, Awesome Oscillator and CCI algorithms to produce signals to enable users to enter positions in ideal market conditions. Moonshot integrates the value delivered by the above four algorithms into one script.
This indicator is particularly useful when trading continuation/reversal divergence strategies.
Uniqueness
The Moonshot's uniqueness stands from integrating the above algorithms into the same visual area and leveraging preconfigured parameters suitable for 1-3 minute scalping techniques.
In addition, Moonshot allows swapping or furthermore configuring the above four algorithms in such a way to align signals by colour-coding or shape thickness to aid the users with identifying any emerging patterns quicker.
Furthermore, Moonshot's uniqueness is also reflected in the way it has standardised the outputs of each algorithm to look and feel the same (including the scale at which the shapes are shown) and, in doing so, enables users to plug them in/out as needed.
Open-source
The indicator leverages the following open-source scripts/algorithms:
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
[VDB]TrendScalp-FractalBox-3EMAThere are many indicators with William’s Fractal and Alligator. As many use EMA’s it may be useful to define a 3-EMA ribbon and combining Fractal Levels/Box (filling background between top and bottom fractals) for trend scalping. I searched for this kind of indicator in community – some show fractals, some just levels, some with alligator etc. but couldn't find the one needed. Hence thought of this indicator which may be of interest to other users too.
Key Points:
EMA ribbon is created using 3 EMA’s 35/70/105. Users can change these as per their preference. This is used for trend identification – 1. Bullish bias if Price > EMA1 > EMA2 > EMA3. 2. Bearish bias if Price < EMA1 < EMA2 < EMA3.
Background is marked during crossing of EMA1 and EMA2 to alert possible trend change.
5-bar fractals are used to mark the Fractal levels and background between top and bottom fractals are filled to create a Fractal Box.
Fractal levels are marked only when the fractal formation is complete. Given offset is used this is lagging.
How to Use:
Sloping EMA ribbon is used for identifying the trend.
Fractal box break-out/ break-downs are used to trigger the trade with fractal high/low for entry/SL. Waiting for price contraction towards EMA ribbon resulting in smaller boxes is key to initiate trade. Avoid bigger boxes as SL’s will be big and price may move within. To draw the vertical lines of FractalBox change fractal level0 style to step-line.
This indicator combined with the cycle high/low (overbought/oversold) indicators such as CCI/Stochastic/RSI etc. can make it a good trend scalping setup while trading in the direction of momentum in higher timeframe.
This setup could be used for any timeframes. Do your back-testing before using it in live market.
This indicator was achieved by combing some fractal ideas from “Fractal and Alligator Alerts by JustUncleL”
DISCLAIMER : This indicator has been created for educational reference only and do not constitute investment advice. This indicator should not be relied upon as a substitute for extensive independent market research before making your actual trading decisions. Market data or any other content is subject to change at any time without notice. Liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of this indicator is accountability of user using it.
KINSKI Multi Trend OscillatorThe Multi Trend Oscillator is a tool that combines the ratings of several indicators to facilitate the search for profitable trades. I was inspired by the excellent indicator "Technical Ratings" from Team TradingView to create an alternative with a technically new approach. Therefore, it is not a modified copy of the original, but newly conceived and implemented.
The recommendations of the indicator are based on the calculated ratings from the different indicators included in it. The special thing here is that all settings for the individual indicators can be changed according to your own needs and displayed as a histogram and MA line. This provides an excellent visual control of your own settings. Alarms are also triggered.
Criteria for determining the rating
Relative Strength Index (RSI)
Buy - Crossover oversold level and indicator < oversold level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Relative Strength Index (RSI) Laguerre
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Noise free Relative Strength Index (RSX)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Money Flow Index (MFI)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Commodity Channel Index (CCI)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Moving Average Convergence/Divergence (MACD)
Buy - values of the main line > values of the signal line and rising
Sell - values of the main line < values of the signal line and falling
Neutral - neither Buy nor Sell
Klinger
Buy - indicator >= 0 and rising
Sell - indicator < 0 and falling
Neutral - neither Buy nor Sell
Average Directional Index (ADX)
Buy - indicator > 20 and +DI line crosses over the -DI line and rising
Sell - indicator > 20 and +DI line crosses below the -DI line and falling
Neutral - neither Buy nor Sell
Awesome Oscillator
Buy - Crossover 0 and values are greater than 0, or exceed the zero line
Sell - Crossunder 0 and values are lower than 0, or fall below the zero line
Neutral - neither Buy nor Sell
Ultimate Oscillator
Buy - Crossover oversold level and indicator < oversold level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Williams Percent Range
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder Oversold Level and Indicator >= Oversold Level and falling
Neutral - neither Buy nor Sell
Momentum
Buy - Crossover 0 and indicator levels rising
Sell - Crossunder 0 and indicator values falling
Neutral - neither Buy nor Sell
Total Ratings
The numerical value of the rating "Sell" is 0, "Neutral" is 0 and "Buy" is 1. The total rating is calculated as the average of the ratings of the individual indicators and are determined according to the following criteria:
MaxCount = 12 (depending on whether other oscillators are added).
CompareSellStrong = MaxCount * 0.3
CompareMid = MaxCount * 0.5
CompareBuyStrong = MaxCount * 0.7
value <= CompareSellStrong - Strong Sell
value < CompareMid and value > CompareSellStrong - Sell
value == 6 - Neutral
value > CompareMid and value < CompareBuyStrong - Buy
value >= CompareBuyStrong - Strong Buy
Understanding the results
The Multi Trend Oscillator is designed so that its values fluctuate between 0 and currently 12 (maximum number of integrated indicators). Its values are displayed as a histogram with green, red and gray bars. The bars are gray when the value of the indicator is at half of the number of indicators used, currently 12. Increasingly saturated green bars indicate increasing values above 6, and increasingly saturated red bars indicate increasingly decreasing values below 6.
The table at the end of the histogram shows details (can be activated in the settings) about the overall rating and the individual indicators. Its color is determined by the rating value: gray for neutral, green for buy or strong buy, red for sell or strong sell.
The following alarms are triggered:
Multi Trend Oscillator: Sell
Multi Trend Oscillator: Strong Sell
Multi Trend Oscillator: Buy
Multi Trend Oscillator: Strong Buy
DMI RSI AO 3 indicators in 1 overlayThis is simple indicators that plot 3 indicators DMI, RSI and AO on 1 pane
How to use: you can add on your chart and edit color and display in setting page of indicators
The directional movement index (DMI) is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The indicator does this by comparing prior highs and lows and drawing two lines: a positive directional movement line (+DI) and a negative directional movement line (-DI). An optional third line, called the average directional index (ADX), can also be used to gauge the strength of the uptrend or downtrend.
When +DI is above -DI, there is more upward pressure than downward pressure in the price. Conversely, if -DI is above +DI, then there is more downward pressure on the price. This indicator may help traders assess the trend direction. Crossovers between the lines are also sometimes used as trade signals to buy or sell.
The relative strength index (RSI) is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. The RSI is displayed as an oscillator (a line graph that moves between two extremes) and can have a reading from 0 to 100. The indicator was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, “New Concepts in Technical Trading Systems.”1
Traditional interpretation and usage of the RSI are that values of 70 or above indicate that a security is becoming overbought or overvalued and may be primed for a trend reversal or corrective pullback in price. An RSI reading of 30 or below indicates an oversold or undervalued condition.
Awesome Oscillator is developed by famous technical analyst and charting enthusiast Bill Williams. Awesome Oscillator (AO) is an indicator that is non-limiting oscillator, providing insight into the weakness or the strength of a stock. The Awesome Oscillator is used to measure market momentum and to affirm trends or to anticipate possible reversals. It does this by effectively comparing the recent market momentum, with the general momentum over a wider frame of reference.
Makuchaku's trading tools - Liquidity visualizerThis indicator plots those pivots/fractals which have not been taken out by price, whereby showing where are the clusters of highs/lows where stop orders (or liquidity) could be hiding.
This is a fantastic tool for taking reversal trades.
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
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
Up & Down Trend following trading strategy for BTC/USDT 3hThis strategy is based on multi time frame technical indicators such as;
1. RSI (10,50,100)
2. MFI (10,50,100)
3. RVI (10,50,100)
4. BOP (10,50,100)
5. Super Trend
6. SAR indicator
7. Higher highs and lower lows
8. SMA (9,500)
9. EMA (9,200)
After evaluating different parameters provided by those indicators, script is in a possition to determine optimul positions to enter in to market as well as exit from the market. In some cases stratergy will exit fully or partially depends on the situation. Other than that, this strategy is in a possition to calculate and specify the quantity you need to buy or sell depending on market situation. You can specify amount available for investment and how many times you are going to average (if downtrend). Parameters are optimised to BTC/USDT, 3h standerd candlestic chart.
goodluck
5min Williams Fractals scalping (3commas)Another strategy I'm learning Pine Script on. It is inspired by a MoneyZG youtube strategy called "Easy 5 Minute Scalping Strategy (Simple to Follow Scalping Trading Strategy)".
Again this is a one order per trade strategy compatible with the 3commas bot (works also with the free 3commas subscription). This strategy is based on the signals from Williams Fractals, taking the signals in reverse - red triangle indicates a bottom and hence we go long. The green triangle indicates a top so we go short. By default these signals are only accepted if they occur between the two Emas. However, you can also turn this off and when a WF signal comes in, only the current price has to be between the Emas. Stop loss is set to the current Ema slow and the take profit is a multiple of the distance to the slow ema.
Like previously I have added different filters as well as the ability to view essential things like the WF signal and Emas. I hope the script will help you to be more successful and if so it would be great if you could share here your setups, or tips on what would be good to refine to make it an even a more profitable strategy. Kind of a community approach so that we help each other out :).
Instructions for the 3commas connector:
1. First, you need to prepare 3commas Long/Short bots that will only listen to custom TV signals.
2. Inputs for the 3commas bot can be found at the end of the user inputs.
3. Once you have entered the required details into the inputs, turn on 3commas comments. They should appear on the chart (looks messy).
4. Now you can add the alert where you should paste the 3commas Webhook URL: 3commas.io
5. For the alert message text insert the placeholder {{strategy.order.comment}} and delete the rest.
6. Once the alert is saved, you can turn off those 3commas comments to have a clearer chart.
7. With a new alert, the bot and trade should launch.
In the near future I would like to publish more scripts that will carry similar elements as the first two, incl. compatibility with 3commas (I don't have access to another bot system). I will choose some strategies myself, but I will also be glad for some tips on what strategy would be good to do and is still missing here on Tradingview (short youtube videos or brief strategy manuals would be great).
Thanks and keep it up
PS: My screen values starting at Long Target Profit and ending at Pullback NOT greater than: 1.5; 1.5; 0; ON; 1; 2; OFF; 17; 36; ON; 0.05; ON; Chart; 14; 46; 50; 48.5; 51; OFF; 1; ON; 4; 2.
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.