Simple LinesIntroduction
Making lines is great in technical analysis since it can highlights principal movements and make the analysis of the price easier when using certain methodologies (Elliott Waves, patterns).
However most of the indicators making lines (Zig-Zag, simple linear regression) are non causal (repaint), this is the challenge i tried to overcome, making an indicator capable of making lines in a smart way (able to follow price without loosing a linear approach) and with the least lag possible, i inspired myself from the behaviour of the renko when using a small brick size. This indicator does not repaint .
The code is short and i hope, understandable for all of you, making lines is not a difficult task and its important to know that when a problem appear complex it does not mean that the code used to solve this problem must be complex. Lets see the indicator in details.
The indicator
The indicator have 4 parameters, the length parameter who control the length of lines, the emphasis parameter who control the stability and also the ability to make lines closer to the price (thus minimizing the sum of squares) , the mult parameter which is similar to emphasis and a point option that we will discuss later.
When emphasis and mult are both equal to 1 the indicator will sometimes draw a perfect line, however this line will try to follow the price and thus can create a noisy result.
This is where emphasis and mult will correct this behaviour. The emphasis parameter give a more periodic look as well as some control to the lines but can also destroy them.
This should not happen with mult , this parameter also give more predictability to the lines. Overall it correct the drawbacks of the parameters combinations mentioned earlier.
Its also possible to mix both the emphasis and mult parameter, but take into account that when both are equals the result consist of less reactive lengthy lines with low accuracy. Its better to only use one of them and let the other stay to 1.
Point Option
The indicator can sometimes have a weird look, appearing almost flat or just dont appearing at all. When such thing happen use the point option.
XPDUSD without point option.
with point option :
Time Frame Problem and Its Fix
When using higher time-frames the result of the indicator can appear different, in general the higher the time frame the lengthier are the lines. In order to fix this you can use decimals in the length parameter
length and mult both equal to 5.5, emphasis cant use decimals.
Conclusion
I have highlighted a simple way to make use of the small renko box size method in order to return reactive lines without making the indicator repaint. However Its ability to be close to the price as well as being always super reactive is not a guarantee.
For any suggestion/help feel free to pm me, i would be happy to help you :)
Zig Zag Indicator
Darvas Box/Turtle Way Breakouts v.2 by ZekisFor those who never heard about these two huge strategies:
* * * Darvas Box Strategy - www.netpicks.com
* * * Turtle Way Strategy - www.investopedia.com
In very short terms, both strategies are based on breakouts, probably the easiest way to trade (with proper education, obviously)
I created this indicator based on highs and lows, which will create support and resistance line, which will create a channel/box.
There is the possibility to :
- change channel/box size
- ride it till it will enter again into the channel/box
- set TPs and SL targets
- set alerts for Long, Short, Close when price enter into the channel, SL
- enable or disable 2 TP targets
- enable or disable 1 SL
- enable or disable middle line
Rules are simple:
1. Go Long when price breaks the upper line
2. Go Short when price breaks the lower line
3. Exit Long/Short when price enter into the channel/box
4. Stop Loss are added for safety
5. Added 2 layers for Take Profits
6. Added middle line that can act as Stop Loss
Legend:
1. White line - channel/box
2. Upper white line followed by green line - price cracked the channel/box - Go Long
3. Lower white line followed by red line - price cracked the channel/box - Go Short
4. Red zone - Stop Loss zone
5. Dotted red line - Stop Loss line
6. Dark green zone - first Take Profit zone
7. First dotted dark green line - first Take Profit target
8. First dotted dark green line followed by dotted lime line - price touched first Take Profit
9. Bright green zone - second Take Profit zone
10. Second dotted dark green line - second Take Profit target
11. Second dotted dark green line followed by dotted lime line - price touched second Take Profit
12. Dotted gray line - channel/box middle line
*** Don't use any indicator without knowing whatyou are doing, there is no such a magic lottery winning ticket
Trade safe!
Enjoy!
@Zekis
zigzag%This is zigzag % , no repaint and no lag as it based on % changes
the main issue is the addition of take profit and stop loss together with trailing (thanks to Yatrader to his code)
set the zigzag% according to best fit of your graph for best results
Kawabunga Swing Failure Points Candles (SFP) by RRBKawabunga Swing Failure Points Candles (SFP) by RagingRocketBull 2019
Version 1.0
This indicator shows Swing Failure Points (SFP) and Swing Confirmation Points (SCP) as candles on a chart.
SFP/SCP candles are used by traders as signals for trend confirmation/possible reversal.
The signal is stronger on a higher volume/larger candle size.
A Swing Failure Point (SFP) candle is used to spot a reversal:
- up trend SFP is a failure to close above prev high after making a new higher high => implies reversal down
- down trend SFP is a failure to close below prev low after making a new lower low => implies reversal up
A Swing Confirmation Point (SCP) candle is just the opposite and is used to confirm the current trend:
- up trend SCP is a successful close above prev high after making a new higher high => confirms the trend and implies continuation up
- down trend SCP is a successful close below prev low after making a new lower low => confirms the trend and implies continuation down
Features:
- uses fractal pivots with optional filter
- show/hide SFP/SCP candles, pivots, zigzag, last min/max pivot bands
- dim lag zones/hide false signals introduced by lagging fractals or
- use unconfirmed pivots to eliminate fractal lag/false signals. 2 modes: fractals 1,1 and highest/lowest
- filter only SFP/SCP candles confirmed with volume/candle size
- SFP/SCP candles color highlighting, dim non-important bars
Usage:
- adjust fractal settings to get pivots that best match your data (lower values => more frequent pivots. 0,0 - each candle is a pivot)
- use one of the unconfirmed pivot modes to eliminate false signals or just ignore all signals in the gray lag zones
- optionally filter only SFP/SCP candles with large volume/candle size (volume % change relative to prev bar, abs candle body size value)
- up/down trend SCP (lime/fuchsia) => continuation up/down; up/down trend SFP (orange/aqua) => possible reversal down/up. lime/aqua => up; fuchsia/orange => down.
- when in doubt use show/hide pivots/unconfirmed pivots, min/max pivot bands to see which prev pivot and min/max value were used in comparisons to generate a signal on the following candle.
- disable offset to check on which bar the signal was generated
Notes:
Fractal Pivots:
- SFP/SCP candles depend on fractal pivots, you will get different signals with different pivot settings. Usually 4,4 or 2,2 settings are used to produce fractal pivots, but you can try custom values that fit your data best.
- fractal pivots are a mixed series of highs and lows in no particular order. Pivots must be filtered to produce a proper zigzag where ideally a high is followed by a low and another high in orderly fashion.
Fractal Lag/False Signals:
- only past fractal pivots can be processed on the current bar introducing a lag, therefore, pivots and min/max pivot bands are shown with offset=-rightBars to match their target bars. For unconfirmed pivots an offset=-1 is used with a lag of just 1 bar.
- new pivot is not a confirmed fractal and "does not exist yet" while the distance between it and the current bar is < rightBars => prev old fractal pivot in the same dir is used for comparisons => gives a false signal for that dir
- to show false signals enable lag zones. SFP/SCP candles in lag zones are false. New pivots will be eventually confirmed, but meanwhile you get a false signal because prev pivot in the same dir was used instead.
- to solve this problem you can either temporary hide false signals or completely eliminate them by using unconfirmed pivots of a smaller degree/lag.
- hiding false signals only works for history and should be used only temporary (left disabled). In realtime/replay mode it disables all signals altogether due to TradingView's bug (barcolor doesn't support negative offsets)
Unconfirmed Pivots:
- you have 2 methods to check for unconfirmed pivots: highest/lowest(rightBars) or fractals(1,1) with a min possible step. The first is essentially fractals(0,0) where each candle is a pivot. Both produce more frequent pivots (weaker signals).
- an unconfirmed pivot is used in comparisons to generate a valid signal only when it is a higher high (> max high) or a lower low (< min low) in the dir of a trend. Confirmed pivots of a higher degree are not affected. Zigzag is not affected.
- you can also manually disable the offset to check on which bar the pivot was confirmed. If the pivot just before an SCP/SFP suddenly jumps ahead of it - prev pivot was used, generating a false signal.
- last max high/min low bands can be used to check which value was used in candle comparison to generate a signal: min(pivot min_low, upivot min_low) and max(pivot max_high, upivot max_high) are used
- in the unconfirmed pivots mode the max high/min low pivot bands partially break because you can't have a variable offset to match the random pos of an unconfirmed pivot (anywhere in 0..rightBars from the current bar) to its target bar.
- in the unconfirmed pivots mode h (green) and l (red) pivots become H and L, and h (lime) and l (fuchsia) are used to show unconfirmed pivots of a smaller degree. Some of them will be confirmed later as H and L pivots of a higher degree.
Pivot Filter:
- pivot filter is used to produce a better looking zigzag. Essentially it keeps only higher highs/lower lows in the trend direction until it changes, skipping:
- after a new high: all subsequent lower highs until a new low
- after a new low: all subsequent higher lows until a new high
- you can't filter out all prev highs/lows to keep just the last min/max pivots of the current swing because they were already confirmed as pivots and you can't delete/change history
- alternatively you could just pick the first high following a low and the first low following a high in a sequence and ignore the rest of the pivots in the same dir, producing a crude looking zigzag where obvious max high/min lows are ignored.
- pivot filter affects SCP/SFP signals because it skips some pivots
- pivot filter is not applied to/not affected by the unconfirmed pivots
- zigzag is affected by pivot filter, but not by the unconfirmed pivots. You can't have both high/low on the same bar in a zigzag. High has priority over Low.
- keep same bar pivots option lets you choose which pivots to keep when there are both high/low pivots on the same bar (both kept by default)
SCP/SFP Filters:
- you can confirm/filter only SCP/SFP signals with volume % change/candle size larger than delta. Higher volume/larger candle means stronger signal.
- technically SCP/SFP is always the first matching candle, but it can be invalidated by the following signal in the opposite dir which in turn can be negated by the next signal.
- show first matching SCP/SFP = true - shows only the first signal candle (and any invalidations that follow) and hides further duplicate signals in the same dir, does not highlight the trend.
- show first matching SCP/SFP = false - produces a sequence of candles with duplicate signals, highlights the whole trend until its dir changes (new pivot).
Good Luck! Feel free to learn from/reuse the code to build your own indicators!
SMP314 Salvador Dali Repaintings v.1SMP314 Salvador Dali Repaintings v.1 ☮
H/L Pivot Points + EMA 21,55,89,200,377
zigzag Pivots v1So I took the zigzag pivot of my last script , i remove the original zigzag and replace it by % zigzag , then i add the TP % 1 and 2 and by the cross of the uptrend of the zigzag % of the pivot points of support and resistance we can make buy and sell signal (H and L) and take the profit out by the trend using the Take profit 1 and 2.
for each time frame you need to set up the % correctly for the best fit to get optimal results
set also the bar length or resistance to best fit (now its on 20) try maybe 10 or 15
Bat Patterns(lirshah)Bat pattern indicator is an indicators which can help traders who trades based on harmonic patterns to recognize Bats simply,
this indicator can be applied to all time frames and all pairs.
zigzag PivotsThis is based on two model : the first is the zigzag model of Ricardo Santos
the second is a pivot system for high and low to find resistance made by jaggedsoft
I try to show the connection between them and to form a cross of when the zigzag model crossing the pivot model
this is seen in show sig
best approach is to find the low based on the pivot system and try to make your buy around that spot . when there is high resistance either exit or buy when the asset cross it above . in case of short do the opposite
Trader Set - Wave CountThis is a wave counting tool for my methodology with little addition of drawing high low sections of wave reversal as local support / resistance.
Please don't contact me for getting access, these tools are only available for my students. The English version of website and learning materials are under development and soon they will be ready. I will announce it under every script related to my methodology so that you get informed and participate in the course if you want to.
MTF MTF Fibonacci H LinesA Multi-Time-Frame and Core Trading Indicator for my next Fibonacci bitBull Bitcoin Bot. It Automatically draws Support and Resistance from the Golden Ratios found in the Fibonacci sequence. Also plots a Zig-Zag from the Highs and Lows of the selected Time-frames. xbtusd bitmex futures
Primary, Secondary and Tertiary TREND CHANNEL IndicatorDear Traders,
here I introduce my favorite indicator for find the trend channels with their primary, secondary and tertiary trend channel.
Every channel develops themself without any drawing tools. The best way to trade with this indicator is to trade breakouts from consolidations.
Consolidations (correction waves) you see, if the smaller trend is opposite the bigger trend.
Have fun and powerful trades!
LazyTrader 1DDon't want to trade every day? This one is for you!
Trade the big swings on the BTCUSD market with ease.
zigzagATRsimple zigzag ATR to play around :)
the + blue is uptred
+red=downtrend
you can set the zigzag by % or the ATR by length
SmartWave Algorithm v2We've updated a fan favorite with some more kick ass features!
Version 2 of SmartWave Algorithm brings additional options such as :
- Take Profit - Set your profit target percent - Can be used along with AutoView alerts or any other similar bot
- Stop Loss - Set a stop loss target percent - Same as above, plays nice with AutoView
- Trend Filters - Disable Buy and/or Sells in either up trends or down trends
See the original SmartWave Algorithm here :
Want Access? Visit CryptoProTools.com For More Info
Have Questions? Message here or join our Discord via the link on our websites contact page
[RENKO] [MAGIC] SLOW & FAST /w ALEART !!!!!!!!!! TEST previously created by vacalo69 !!!!!!!
NO LAG and NO REPAINT
On Renko chart with alert which works on Autoview
In backtest result $ value is equivalent to BTC
i have set the value as it shows in BTC with commission of 0.075%
This chart is BITMEX:LTCU18
Weis Wave ChartThis indicator is based on the Weis Wave described by David H. Weis in his book Trades About to Happen: A Modern Adaptation of the Wyckoff Method, more info how to use this indicator can be found in this video . The Weis Wave is an adaptation of Richard D. Wyckoff’s method Wave Charts. It works in all time periods and can be applied to all asset types.
Unlike other implementations I found here on TradingView, this implementation make use of a Renko-like zig zag pattern, very similar to how it is described in David H. Weis' book. The settings for the zig zag pattern are very similar to the standard Renko settings here on TradingView, in the "Renko Assignment Method" you either chose "ATR" or "Traditional" (read more about it here ). The ATR length or the brick size is then entered in the textbox "Value". You can also chose another setting in the "Renko Assignment Method" drop down named "Part of Price" which calculate the brick size from the current close and divide it by the value in the text box "Value". It is also possible to chose if the zig zag pattern shall use the high/low, the open/close or just the close as the most extreme values in its calculation, you select this in the drop down "Price Source".
TradingView's pine script does currently not support to print non-static text on the chart, so it is not possible at this point to write out the volume on the zig zag chart. It is also not possible to have both an overlay and separate chart pane in the same indicator, therefor this indicator is split up in two.
You can find the volume indicator here:
SmartWave AlgorithmRide The Waves & Snag Some Gains
I'm currently getting great results with this setup so I thought I'd get it live as soon as possible.
All options unlocked so you can tweak it if you need to, but the default settings should be great for most.
This indicator detects the waves in the market so you can ride the trends.
BONUS FEATURES
I've also added in the ability to filter signals using RSI and/or MFI should you wish to trade only the higher probability signals.
Trial Access
Send me a PM if you would like to try this out for 24 hours
Full Time Access
Access to this and all of our other indicators can be gained by becoming a CryptoProTools member
As always, just hit me up if you have any questions!






















