Renko + CandlesThis indicator has been designed to show you both candle chart and Renko chart in one place.
I think most of you are familiar with candle chart which is working with the time and price movements but Renko chart is based on price differences and is not related to the "time" parameter.
so if you see a Renko brick is appear up(or down) to the previous brick it means that a certain and fixed price movement has been occurred (which mostly calculate by ATR). and also this indicator works in any time frame.
Remember because we want both charts we have time parameter in this indicator, and if the price doesn't move up or down a certain percentage from previous bars, it will plot a renko bar beside the previous one.
you can use this indicator to see if the price moves up or down.
Or you can determine the important support and resistances with much less noises.
it can be used as a confirmation for you to keep your positions or exit.
go ahead and discover it...
If you have any questions, don't hesitate! ask in the comments section below.
Chart
Heikin Ashi Candles - Actual CloseHeikin Ashi Candles - Actual Close is a simple script that instead of displaying Heikin Ashi Close it displays the actual close.
This script is a handy tool for anyone that wants to use Heikin Ashi candles that displays the real close. The coloring of the candles is still based on the Heikin Ashi calculations.
Enjoy.
Multi-time-Frame number of days in the chartHelps to see the number of days in any default timeframe chart. (Not yet tested with custom time frames!)
Please like and favorite this script if you like it!
Any donations of tradingview coins to help me buy a tradingview pro membership would also be highly appreciated! Thank you!
[SCL] Better Heikin AshiTo display the Heikin Ashi candle direction on your normal chart, using this script is better than switching between layouts. It includes different display modes so that you can use it alongside other indicators without clashing visually (bar colour/plotted shapes/shapes on flip only), and alerts on changes in direction. Many scripts include some or other of these features; here I've included them all in one for flexibility. One feature that AFAIK is unique is the "predictive close", which shows you where the current candle needs to close in order to change the Heikin Ashi direction.
Heikin Ashi is a different method of calculating candlesticks. It has several advantages:
+ It can help to show the dominant trend in a smoother way than normal candles.
+ Flips in direction can show either trend reversal, or a pause and continuation, which can be a place to join a trend.
Disadvantages of using Heikin Ashi include:
+ Having to change to a different chart layout
+ Difficulties working directly with Heikin Ashi values, because the values of the Open, Low, High, and Close displayed are different to the "real" prices.
This indicator solves this problem by bringing trend information from Heikin Ashi candles (whether they're bullish or bearish) onto your normal candle chart. It displays in the main chart pane.
STRATEGY TESTER ENGINE - ON CHART DISPLAY - PLUG & PLAYSo i had this idea while ago when @alexgrover published a script and dropped a nugget in between which replicates the result of strategy tester on chart as an indicator.
So it seemed fair to use one of his strategy to display the results.
This strategy tester can now be used in replay mode like an indicator and you can see what happen at a particular section of the chart which was is not possible in default strategy tester results of TV.
Please read how each result is calculated so you will know what you are using.
This engine shows most common results of strategy tester in a single screen, which are as follows:
1. Starting Capital
2. Current Profit Percentage
3. Max Profit Percentage
4. Gross Profit
5. Gross Loss
6. Total Closed Trades
7. Total Trades Won
8. Total Trades Lost
9. Percentage Profitable
10. Profit Factor
11. Current Drawdown
12. Max Drawdown
13. Liquidation
So elaborating on what is what:
1. Starting Capital - This stays 0, which signifies your starting balance as 0%. It is set to 0 so we can compare all other results without any change in variables. If set to 100, then all the results will be increased by 100. Some users might find it useful to set it to 100, then they can change code on line 41 from to and it should show starting balance as 100%.
2. Current Profit Percentage - This shows your current profit adjusted to current price of the candle, not like TV which shows after candle is close. There is a comment on the line 38 which can be removed and your can see unrealized profit as well in this section. Please note that this will affect Draw-down calculations later in this section.
3. Max Profit Percentage - This will show you your max profit achieved during your strategy run, which was not possible yet to see via strategy tester. So, now you can see how much profit was achieved by your strategy during the run and you can compare it with chart to see what happens during bull-run or bear-run, so you can further optimize your strategy to best suit your desired results.
4. Gross Profit - This is total percentage of profit your strategy achieved during entire run as if you never had any losses.
5. Gross Loss - This is total percentage of loss your strategy achieved during entire run as if you never had any profits.
6. Total Closed Trades - This is total number of trades that your strategy has executed so far.
7. Total Trades Won - This is the total number of trades that your strategy has executed that resulted in positive increase in equity.
8. Totals Trades Lost - This is the total number of trades that your strategy has executed that resulted in decrease in equity.
9. Percentage Profitable - This is the ratio between your current total winning trades divided by total closed trades, and finally multiplied by 100 to get percentage results.
10. Profit Factor - This is the ratio between Gross Profit and Gross Loss, so if profit factor is 2, then it indicates that you are set to gain 2 times per your risk per trade on average when total trades are executed.
11. Current Drawdown - This is important section and i want you to read this carefully. Here draw-down is calculated very differently than what TV shows. TV has access to candle data and calculates draw-down accordingly as per number of trades closed, but here DD is calculated as difference between max profit achieved and current profit. This way you can see how much percentage you are down from max peak of equity at current point in time. You can do back-test of the data and see when peak was achieved and how much your strategy did a draw-down candle by candle.
12. Max Drawdown - This is also calculated differently same as above, current draw-down. Here you can see how much max DD your strategy did from a peak profit of equity. This is not set as max profit percentage is set because you will see single number on display, while idea is to keep it custom. I will explain.
So lets say, your max DD on TV is 30%. Here this is of no use to see Max DD , as some people might want to see what was there max DD 1000 candles back or 10 candle back. So this will show you your max DD from the data you select. TV shows 25000 candle data in a chart if you go back, you can set the counter to 24999 and it will show you max DD as shown on TV, but if you want custom section to show max DD , it is now possible which was not possible before.
Also, now let's say you put DD as 24999 and open a chart of an asset that was listed 1 week ago, now on 1H chart max DD will never show up until you reach 24999 candle in data history, but with this you can now enter a manual number and see the data.
13. Liquidation - This is an interesting feature, so now when your equity balance is less than 0 and your draw-down goes to -100, it will show you where and at what point in time you got liquidated by adding a red background color in the entire section. This is the most fun part of this script, while you can only see max DD on TV.
------------------------------------------------------------------------------
How to Use -
1 word, plug and play. Yes. Actual codes start from line 33.
select overlay=false or remove it from the title in your strategy on first line,
Just copy the codes from line 33 to 103,
then go to end section of your strategy and paste the entire code from line 33 to line 103,
see if you have any duplicate variable, edit it,
Add to chart.
What you see above is very contracted view. Here is how it looks when zoomed in.
imgur.com
----------------------------------------------------------------------------------
Feel free to edit and share and use. If you use it in your scripts, drop me tag. Cheers.
Next Chart SignalGives you the signal when 3 MA's are crossing from the higher time frame above the current chart.
123 Trend Continuation PatternThis simple indicator will help identify the 123 Patterns on the charts. It's build based on the zigzag indicator, which will work as a guideline to identify the 3 points. As soon as the price crosses the third point, the indicator will draw 3 lines: entry, take profit, and stop loss. Those lines will work as a reference and may help with other indicators. This kind of analysis will work on any time frame and symbol, but those markets that have high volatility may have better result
NSDT Chart Background ColorThe chart background settings from Tradingview only allow you to select a color from the built-in color grid, which is limited. This feature adds the ability to change the chart background color "shading" which allows you many more color options to fit your needs.
Chart Timeframe Detection - FunctionChart Timeframe Detection - Function
A small and effective function to detect the current chart timeframe in minutes.
It can be used to further detect a specific chart timeframe (a daily timeframe or even a 16h39m timeframe).
The result is returned as integer.
[RESEARCH] Heikin-Ashi Chart IdentifierA deterministic approach to identify Heikin-Ashi chart type.
The script checks the next statements about HA:
HA chart does not have any gaps in a classic sense
Every new HA open price is calculated using a specific recurrence formula. This fact also means that initial HA open price is used to calculate all the next and so on (a construction of Infinite Impulse Response filters)
The script works correctly being applied to other chart types:
Classic Candlestick
Range Bars
Line Break
Traditional Renko
ATR Renko
Traditional Point-and-Figure
ATR Point-and-Figure
Kagi
For special ones: this code allows you to check whether your script is being executed with Heikin-Ashi candles or not inside your script.
Ev sistr 'ta Laou!
BTC DominanceThis Script plots the BTC Dominance chart in an indicator window, so you don't have to bother with tabs as much when doing your analysis.
tips are always welcome at: (38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4)
I hope you enjoy the script :)
Tower Line IndicatorHere is the code of twr indicator
I'v already posted a idea about this indicator. You guys can make this chart more complete if you want.
Complete indicator is just fixed the color align in some price pattern.
The rule is hard to write for me but we have simple version here. :)
Read more about tower line:
Tower line here
Need help about tower line(To add the color align when price expand or other situation)
Detail about tower line
Have you heard about tower line
IO_Heikin-Ashi OverlayThis is Traditional Heikin-Ashi bars overlayed with regular candlestick/any chart type
Although HA is available in TradingView by default, this script is to recalculate HA by traditional calculations.
This version REPAINTS!! This is because Traditional HA uses Close Price (which is calculated on the fly).
-- Invsto
Intraday volatility on EOD chartThis indicator will allow you to compare Daily bars with Intraday insight.
Indicator draws the sum of high-low intraday bars on EOD timeframe.
The purpose is to compare TR or ATR with intraday data, because high-low on 1 daily bar says little about intraday bars inside.
You can replace the function (cum(high - low)) with whatever you need to calculate on intraday bars.
RSI BackgoundPlots a Green/Red strip on the price chart to highlight when RSI goes overbought or oversold.
You can optimize it by yourself on the source code, just change "70" or "30" for your desired value.
Cheers!
Kozlod - Heikin-Ashi Bar Color Change StrategyYou can use this script to backtest Heikin-Ashi bar color change strategy.
You have to apply this script to usual candles and not Heikin-Ashi!!!
Background color indicates HA bar color. On change you'll see green/red arrows and alert will be fired.
Also you can find in the code calculations of all HA OHLC values.
Retrospective Candlestick ChartWhen i was in Japan with some traders colleagues we talked about traditional charting tools from this country and how they changed the way we look at our charts today. Then suddenly one of the japanese traders i have met earlier said "Why not making another charting tool ? Smoother than Heikin-Ashi and including all the information a trader may need but easier to interpret".
So i had the idea of averaging the input and the output of the respective close / open / high and low price using a recursive exponential window functions, each values will be closer to their true value if they are volatile, if they are not then those values will look smoother, the length input represents the reactivity of the candles, high values represents smoother results but less reactive.The goal of those candles is to make all the information easier to interpret by a trader.
500 input length , the price look smoother, supports and resistances are easier to make.
The interpretation of highs and lows are important, the Retrospective Candlestick Chart save you time by showing only huge movements.
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:
Weis Wave VolumeThis 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 also 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. For assets that do not support volume Weis propose in his book to use the true range instead, so if you want to use this indicator for assets that do not support volume, make sure to enable the checkbox "Use True Range instead of Volume".
Unlike other implementations I found here on Trading, 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". If you want the price to oscillate around a zero value, enable the "Oscillating" checkbox.
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 zig zag indicator here:
4hr chart Moving Average Ribbon in daysUse this for the 4hr chart view.
Adapted from the MMAR standard so that I can see daily MA/SMA's directly from the 4hr chart. regular counts included and day counts shown in titles.
I use this with the 50ma, 14 daily, 30 daily, 50 daily, 100 & 200 daily active, the rest disabled.
Enjoy.
cooltoyz: shadow candlesAnother tool for the cooltoyz series :)
tired of having to look at multiple time frames for a ticker, and having to mentally mix them to try to guess/visualize trends, or support/resistance levels? so was i, and with this tool i let the chart do the heavy lifting :)
with this, upper time frames are visualized as shadows imposed on the chart itself. there are two levels:
level 1 - represented with strong green/red for candle body, and a thin line for the candle wicks
level 2 - light green/red for the candle body, lighter still for the wicks
it was the best visually appealing representation i could come with, if you find a better one share it in comments, please :)
basically works the same as the previous tool, the ghost candle, but with two levels of time frames superimposed. the same notes and warnings from the ghost candle apply, so go read them, too lazy for a copypasta :)
you can find the ghost candle here:
cooltoyz: ghost candleThis is a tool. Do with it what you like :)
The ghost candle works by drawing a bigger time frame candles in ghost mode over a chart. The time frame is default of 4h, can be changed in the "format" pop-up.
What we see in a time frame as the "wick", is really a set of candles when looked at lower resolutions/timeframes, that info is crunched into the OHLC format. But, when we look at a represntation of the "internals" of a candle, the wicks are not just a single candle that "walked out of the reservation".
So, in this ghost mode, a wick makes no sense visually. In this case, the OHLC is represented as a darker area for the main candle body, and lighter zones for the wicks. Just another way to sing the same song...
Note 1: the ghost candles are skewed, due to the way that TV plots a line. It's most visible when a chart is very zoomed.
Note 2:As result of the TV real time engine, the last candle presents sometimes mixed colors. There's no easy way to fix it, so until the candle closes, if you see weird colors, well, that's life :)