Trendlines with Breaks [LuxAlgo]The trendlines with breaks indicator return pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.
Trendline breakouts occur in real-time and are not subject to backpainting. Trendlines can however be subject to repainting unless turned off from the user settings.
The indicator includes integrated alerts for trendline breakouts.
🔶 USAGE
Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.
The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a more constant slope amongst trendlines. Other methods might return trendlines with significantly different slopes.
Stdev makes use of the standard deviation for the slope calculation, while Linreg makes use of the slope of a linear regression.
The above chart shows the indicator using "Stdev" as a slope calculation method. The chart below makes use of the "Linreg" method.
By default trendlines are subject to backpainting, and as such are offset by length bars in the past. Disabling backpainting will not offset the trendlines.
🔶 SETTINGS
Length: Pivot points period
Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
Slope Calculation Method: Determines how the slope is calculated.
Backpaint: Determine whether trendlines are backpainted, that is offset to past.
Breakout
Nearest Percentile Moving Average BandsWhile coding some filters into another indicator for Long/Short I noticed that ta.nearest.percentile might be the most useful tool in pinescript I've ever encountered.
While percentile_nearest can be used for all kind of things I decided to code moving averages from it and made bands for bottom percentage and top percentage.
The indicator will calculate the top % price of the given bar length.
Example settings:
length: 150
percentile: 99
So when using 99% it will draw a green line when price is moving above the top 1% price of the last 150 candles. It then calculates if the price is below the bottom 1% of the last 150 candles.
Trading use:
Use this indicator to check if the market is leaving normal territory. This signals a breakout move for example the dogecoin pump or the top of the range. I use this indicator to catch bull/bear moves for botting purposes. An other use would be to countertrend trade after the move has ended. With price being in top 1% for a while it is very probable that we see a large correction.
Below example of dogecoin pumps:
Volatility Funnel v2Using the contracting phase of what are basically bollinger bands and some fancy coloring, this indicator draws funnels to which show tightening ranges and doesn't take up too much screen space unless you want it to.
There is a smoothing option if you're into that.
Enjoy!!!
EMA MTF PlusI like trading the 1 minute and 3 minutes time-frames. I'm what is commonly called a "scalper". Long term investments yes, I have some, but for trading, I don't have neither the time,
nor the patience to wait hours or days for my trade to be complete.
This doesn't mean I discount the higher time-frames, no, I actually rely heavily on them. I found that EMAs do a decent job as support/resistance, sometimes to a tick level of precision. And this is important for a 1 minute trader.
As such, I made this script that tracks the higher time-frames EMAs and displays the last value as a line.
I do not need the whole EMA, I'm not interested in crossovers or crossunders, these are anyway late signals for me.
What's with the triangles? These are local tops/bottoms , candles that have a have decent size of the wick. These tops and bottoms are by no means "final", they are merely a rejection at certain levels of price. Due to markets complexities (and human erratic behaviors hehe) these levels could be breached at the very next candle. For a more "final" version (nothing is really final but..) I added Schaff Trend Cycle as filter, so a triangle will pop only when a trend is mature enough ( STC with a value near 0 or near 100).
Colored bars. When the body of the candle is big, it shows strength. Strong bars tend to have follow through, especially when breaking key levels. The script looks at the body of the candle and compares it with ATR (Average True Range), if it's at least 0.8 of ATR it changes the bar color to yellow (bull candles) or fuchsia(bear candles).
Range identifier. This code is copied from Lazy Bear (if there are any issues please let me know), it's very useful in conjunction with colored bars.
I look for breakout candles that go outside of the range as a signal for a trade.
There are many ways in which this script can be useful, like trading mean reversions or momentum trades (breakouts) or simply trend following trades.
I hope you guys find it useful, you can play with default values and change them as you like, these are what I found to be working best for me and my trading universe (mostly crypto).
Special thanks for the original work of:
LazyBear
everget
Jim8080
Stochastic ChannelsDonchain trend following system with overbought/ oversold areas inspired by stochastic. Multiplier to get non repainting HTF capability. features a smoothed price as well as moving average of the smoothed price, also inspired by the stochastic indicators %K and %D. This and slow stochastics compliment each other nicely.
%D line colored by direction.
Filled color areas represent overbought/oversold.
Shows breakouts as well as giving targets and entries in rangebound markets.
Volume Bar Breakout and Breakdown IndicatorVolume shows strength of a movement and highest volume shows the region that pushed price to certain extent with full strength. Breakout or Breakout of the highest volume bar range shows continuity further push by sellers or buyers indicating a trend continuation for a small period if not for long duration. Entries can be taken once signal is generated with stoploss as recommended.
Guidelines:
Don't trade if range is too large
Don't trade if Breakdown or Breakdown candle body / range is too large or if there is high volatility
Use additional indicator to get the idea of overall trend analysis
Bjorgum Key Levels
Key Levels Aims to capture 3 of the most significant points in price action
Breakouts
False Breakouts (Traps)
Back Checks
These 3 points alone, if properly identified, can be some of the most significant points of movement in the price history of an asset and bring significant gains to traders, if capitalized on. Here are a few examples of these setups
Breakouts
Breakouts can bring significant rallies as the market swings one sided after key levels are breached. This entry type can bring large trending runs to follow. Momentum is on your side, but the trade off is a higher entry.
False Breakouts
Also known as a bull trap or a bear trap, false breaks can lead to swift and significant reversals and potential for a large and sudden move to the opposite side. When a key level breakout fails to hold, parties entering to capitalize on the "epic breakout" can get left holding the bag forcing them to exit at a loss, which can double the force of pressure. Traps can bring swift gains from good entry prices. However, price is still in a larger trend against you so momentum is weak, so price action is susceptible to roll over.
Backchecks
Back checks are pull backs in trend that find middle ground to the 2 areas already described. Both momentum and entry price are decent, but risk is defined as a key level has flipped offering entry with stops below demand, or above supply.
Combining these 3 methods helps to diversify risk, understand trend development, and bring steady gains. This script helps to identify these points to traders with analysis of key levels, price structure, and trend direction, while providing visual signals and alerts for when they occur.
Best of luck in your coding and trading and thank you for your support
Pivot Support & ResistanceHere signals are based on the pivot high and pivot lows. Factors taken into account in understanding the breakout or breakdown are:
volume
candle bar is not opening candle
must be near pivot high or low
Recommendation:
Use once candle closes else you might get trapped in certain cases so be careful
Beakdoo swing trading boxHi forks,
I'm trader Baekdoosan who trading Equity from South Korea. This Baekdoo swing trading box indicate good buying position when it crossover the box.
Here's the ideas
1. It needs to crossover 1 month highest value and higher than 5 ema and 20 ema line
2. It also needs to crossover 1 month volume as well
3. Once 1,2 soaring candle emerge, it needs to correction time
4. 5 ema or 20 ema or center candle's 2/3 point x 0.95 (5% lower) would be the resistant line
5. center candle's 2/3 point line would be the buying point (you may can trade when it cross over
you can check above example chart and take a look what you have interested in.
hope this will help your trading on equity as well as crypto. I didn't try it on futures . Best of luck all of you. Gazua~!
Volume TrendsThis script provides clear volume trends on any time frame. You set a long term volume trend moving average (ex 100 periods). A shorter term MA of your choice (10 in this example) will oscillate above and below based on the standard deviations of its current value relative to the long term #.
Similarly, large volume bars are plotted in terms of st dev above the long term MA.
Very useful in spotting capitulation bottoms and/or blow-off tops.
Fibonaci Opening Range Candle
Fibonacci Opening Range it is 50% and 0.61% of 5 min or 30min or 1 hour opening candle
search buying opportunities below 0.61
and selling opportunities above 0.50
Also acts as good support and resistance in intraday
BEST RESULTS IN INDEXES
Thanks & Best Regards
Marella Ganesh
Volume Breakout (ValueRay)Easy visuals on, if volume is way over average. Good for Mean Reverting. Higher Volume tends to higher breakout chances.
Please whisper me for for ideas how to make this better. Its a very simple script, but got some alpha. If you know how to improve, let me know and i will code it into.
Recent High/Low Dots by Alejandro PSimple indicator that plots a dot in the chart when a candle breaks the high of the past X candles.
This is useful to easily visualize when the market is coming out of a range and making fresh highs or lows relative to the past X candles.
It can be used in trend following systems as an additional filter for validation.
Roc Mean Reversion (ValueRay)This Indicator shows the Absolute Rate of Change in correlation to its Moving Average.
Values over 3 (gray dotted line) can savely be considered as a breakout; values over 4.5 got a high mean-reverting chance (red dotted line).
This Indicator can be used in all timeframes, however, i recommend to use it <30m, when you want search for meaningful Mean-Reverting Signals.
Please like, share and subscribe. With your love, im encouraged to write and publish more Indicators.
Three Week Tight Pattern IndicatorThree Week Tight Pattern is a consolidation indicator which give extra buy point on strong fundamental stocks. You can read about it from IBD here: www.investors.com
Pivot Points And Breakout Price Action With LuckyNickVaBar Color Candle Aligned with pivot points swing high and swing lows For Those Who Are Familiar with Trading The Breakouts Of Highs & Lows Of Structure. Pivots are said to be key areas in the market where price shows heavy reaction to where reversals make occur. At these points there are swing Highs & swing lows that traders may be able to find opportunity in the market. This Script is a combination of pivot points and Barcolor signals for the breakout.
Boom Hunter ProBoom Hunter Pro is the ultimate indicator for targeting perfect long entries and epic shorts. Boom Hunter comes with a super fast oscillator that uses Ehlers Early Onset Trend (EOT). This is the Center Of Gravity Oscillator (COG) with a super smoothing filter and a roofing filter. This indicator is tuned for 1 hour charts but can be used on any time frame.
Colored bars can be turned on to assist in finding an entry. Purple signifies a drag and potential dump.
Fibonacci lines can be turned on to track price action and find entries/exit.
This indicator follows the same rules as COG. For more information please see my COG HOWTO here:
Linear Regression & RSI Multi-Function Screener with Table-LabelHi fellow traders..
Happy to share a Linear Regression & RSI Multi-Function Custom Screener with Table-Labels...
The Screener scans for Linear Regression 2-SD Breakouts and RSI OB/OS levels for the coded tickers and gives Summary alerts
Uses Tables (dynamica resizing) for the scanner output instead of standard labels!
This Screener cum indicator collection has two distinct objectives..
1. Attempt re-entry into trending trades.
2. Attempt Counter trend trades using linear regression , RSI and Zigzag.
Briefly about the Screener functions..
a. It uses TABLES as Labels a FIRST for any Screener on TV.
b. Tables dynamically resize based on criteria..
c. Alerts for breakouts of the UPPER and the LOWER regression channels.(2 SD)
d. In addition to LinReg it also Screens RSI for OB/OS levels so a multifunction Screener.
e. Of course has the standard summary Alerts and programmable format for Custom functions.
f. Uses only the inbuilt Auto Fib and Lin Reg code for the screener.(No proprietary stuff)
g. The auto Zigzag code is derived(Auto fib).
Question what are all these doing in a single screener ??
ZigZag is very useful in determining Trend Up or Down from one Pivot to another.
So Once you have a firm view of the Current Trend for your chosen timeframe and ticker…
We can consider few possible trading scenarios..
a. Re-entry in an Up Trend - Combination of OS Rsi And a Lower Channel breach followed by a re-entry back into the regression channel CAN be used as an effective re-entry.
b. Similarily one can join a Down Trend on OB Rsi and Upper Channel line breach followed by re-entry into the regression channel.
If ZigZag signals a range-bound market, bound within channel lines then the Upper breakout can be used to Sell and vice-versa!
In short many possibilities for using these functions together with Scanner and Alerts.
This facilitates timely PROFITABLE Trending and Counter trend opportunities across multiple tickers.
You must give a thorough READ to the various available tutorials on ZigZag / Regression and Fib retracements before attempting counter trend trades using these tools!!
A small TIP – Markets are sideways or consolidating 70% of the time!!
Acknowledgements: - Thanks a lot DGTRD for the Auto ZigZag code and also for the eagerness to help wherever possible..Respect!!
Disclaimer: The Alerts and Screener are just few tools among many and not any kind of Buy/Sell recommendations. Unless you have sufficient trading experience please consult a Financial advisor before investing real money.
*The alerts are set for crossovers however for viewing tickers trading above or below the channel use code in line 343 and 344 after setting up the Alerts!
** RSI alerts are disabled by default to avoid clutter, but if needed one can activate code lines 441,442,444 and 445
Wish you all, Happy Profitable Trading!
Ichimoku all signalsIchimoku Cloud All Signals!
This indicator shows all Ichimoku Cloud signals for (entering/exiting/confirming/or even staying) in a position.
you can choose a signal related to your strategy and use it.
you can choose which signals to be shown on the chart by changing the settings.
here are some examples of signals that you can get from this indicator:
Crossover/under conversion line & base line
Crossover/under lead line1 & lead line2
Crossover/under conversion line & lead line1
Crossover/under base line & lead line1
Crossover/under conversion line & lead line2
Crossover/under base line & lead line2
Crossover/under close & base line
Cloud Breakouts in both directions!
and 74 signals more !!!!
Volume Level with AlertThis script is made by Bollinger Bands and Volume , BB is using customize setting to filter the surge volume.
Good to use in Cryptocurrency
When Volume Breakout and price is drop, chance to collect at lower price
Try to find out Price * Volume Divergence , a best entry point with low risk
Ichimoku breakoutIf you use Ichimoku Cloud strategies, this indicator is very useful for you!
This code indicates the candles that break the ichimoku cloud in both directions!
conversion line, base line and lagging span are disable by default, you can enable it from settings window.
green triangles under the candles with green backgrounds show break out the red clouds.
red triangles at the top of the candles with red backgrounds show break out the red clouds.
you can set alerts to be notified when an Ichimoku Cloud is broken.
Breakout FinderHelo All,
I got many requests for a Breakout script and here it's. This script searches the breakouts/breakdowns and draw square if there is one.
The options:
"Period" is used to find Pivot Points
"Max Breakout Length" is the maximum length to search breakouts
"Threshold Rate %" is channel width of the breakout area. calculated using highest/lowest of last 300 bars.
"Minimum Number of Tests" is the minimum number of tests that the Price tried to break the S/R level
and some options for coloring and linestyle
Lets see some examples:
in this example "Minimum Number of Tests" is 2 so the Price must have tested to break resistance area 2 times and then it breaks it as seen in the screenshot:
in following example Threshold rate is %10, so the channel width is very big:
as you can see in followinf screenshot you can choose different colors and line styles:
Alerts added ;)
Enjoy!
Wedge MakerThis tool is used to draw wedges. Traders can choose which pivot points to draw lines from in settings. Wedge Maker does not automatically detect current wedge and is required to be tweaked in settings.