Candles
Heiken-Ashi CandlesSimple script to view Heiken-Ashi candles below a normal candles chart.
Could also be useful for using HA calcs in strategy scripts on normal candles chart for proper backtesting.
I adapted this to v4 from original v2 script by @samtsui. If you like please remember to give him a Thumbs Up for his original version! ->
Candle Based RSI w/ EMA 9 CrossoverThis is my first published script. I hope you find it as useful as I have.
This is a modified version of olegnator's RSI script. Enjoy!
Candles - Cheat SheetWhat is up y'all ? (french trying to sound American)
I found that in my script archives, way back in an old cave. I think this might be useful as a few really asked me how to define a green/red candle, how to capture the wick value, the body, etc..
This is not a fancy script as usual and I'm sure they're plenty of candles pattern scripts out there but I saw no one sharing a simple candle cheat sheet for pinescript coding
Being able to define candles using codes is an essential skill to have for any Pinescripter
Still on the train so won't write a roman as usual... Kidding... I actually did it here What-is-an-Hard-Exit-and-a-few-notes-on-trading-management/
It won't bring me as many likes as any magic p**p cannon accounts promising the moon at each trade but if I can help at least 1 trader a day not losing his/her money, I'll be happy and my daily goal will be fulfilled
All the best
Dave
____________________________________________________________
Be sure to hit the thumbs up
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
MACD Profit CandlesThis tool is simple yet very effective. It creates new candles on the chart based on the MACD.
Candles are green when MACD is increasing and red when it is decreasing. All lengths can be adjusted in the input menu and there is an option to plot the signal line.
The rules for using it are pretty simple:
1.Buy on Green
2.Sell on red
~Happy Trading~
Range Candles - JDThis tool takes a "RANGE" chart and transforms it into "NORMAL" or "HEIKEN-ASHI" candles.
Instantly giving you a much better visual interpretation of the "range" information!!!
NOTE: due to the nature of Pinescript and how range charts are constructed it's possible the candles are not formed on every tick!!!
When formed though, they don't repaint and are calculated differently for every bar so you get approximately the most accurate view at the price action that Tradingview can offer you!
For compasrison:
this is a view of the "1 minute" chart:
this is the normal "1 range" chart without the candles
this is the same "1 range" chart with Heiken-Ashi candles
this is the normal "1000 range" chart (+/- equal to the 1 minute) without the candles
this is the same "1000 range" chart with Heiken-Ashi candles
JD.
#NotTradingAdvice #DYOR
Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
VWAP Candles & MVWAPI was getting sick of the useless VWAP indicator on Trading View and wrote something that is more comprehensive and quite interesting, in fact: candles for VWAP.
It uses the original open/high/low/close and combines them as you would the original hlc3 calculation, but separately, to draw the candles as a shadow of the current price.
There are a few parameters to make it more flexible: source, resolution timeframe, volume length, and moving average length.
Volume Length (default: 5) will determine the candle calculations, cumulative sum of the past X bars.
Moving Average Length (default: 9) will determine the simple moving average (sma) length for the true VWAP (hlc3*volume/cumulative volume)
Source will change the Moving Average VWAP from hlc3 to whatever you want.
Resolution will attune the candles and Moving Average VWAP line to a different periodicity.
Just to be a pain, I also included the old VWAP from Trading View, as a comparison. You can disable it from the Style settings.
Enjoy and happy trading!
[RS]Fibonacci Barsshows information from past 1600 +- candles compressed into 16 were the more you look back the more candles are fitted inside.
[RS]Volume BarsVolume Bars inspired by Richard W. Arms Jr. EquiVolume.
the bars change in width by the amount of volume within that bar.
see links in the source code for reference.
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 :)
Directional filter VERSION 2The idea is to make it more visible if the moment is to seek buying or selling, based on moving averages, being SMA 21 and EMA 9.
best BUYBAR has the EMA9 and SMA21 rising and closing above them. "relevance A"
best SELLBAR has the EMA9 and SMA21 dropping and closing below them. "relevance A"
Conditions for all colors of the candlesticks:
BuyBar A = price closes above EMA9 and SMA21 with EMA9 and SMA21 rising.
BuyBar B = price closes above SMA21 with SMA21 rising OR price closes above EMA9 and SMA21.
BuyBar C = price closes above EMA9 with EMA9 rising and SMA21 falling.
BuyBar Neutral = close> open.
SellBar A = price closes below EMA9 and SMA21 with EMA9 and SMA21 falling.
SellBar B = price closes below SMA21 with SMA21 falling OR price closes below EMA9 and SMA21.
SellBar C = price closes below EMA9 with EMA9 falling and SMA21 rising.
SellBar Neutral = close abertura.
SellBar A = preço fecha abaixo de EMA9 e SMA21 com EMA9 e SMA21 caindo.
SellBar B = preço fecha abaixo de SMA21 com SMA21 caindo OU preço fecha abaixo de EMA9 e SMA21.
SellBar C = preço fecha abaixo de EMA9 com EMA9 caindo e SMA21 subindo.
SellBar Neutral = fechamento < abertura.
As medias moveis também alteram de acordo com a direção em que estão:
EMA 9 subindo = azul
EMA 9 caindo = laranja
SMA 21 subindo = verde
SMA21 caindo = vermelho
CAP Kronks Bias Killer 10Candles and background changes colour when 60 SMA is above or below close price
Function To Candles - Another way to see indicatorsIntroduction
There are different and better way's to see price data, a candlestick chart is one of the best way to see the price since you have access to the open/high/low/close information, this is really efficient and can allow for naked non parametric trading strategies (candlesticks patterns) . But what about making candles out of indicators ? There are tons of studies about candlesticks patterns in price data but none (?) about candlestick patterns using indicator data, therefore i made this script in order to show candles from various indicators, i also made an heikin-ashi mode.
Rsi To Candles
All the indicators are use the open/high/low/close price as input in order to return candles. length control the indicator period.
Stochastic To Candles
The stochastic oscillator is restrained in a range of 0/100, therefore when equal to 0 or 100 the candles can be flat.
Rate Of Change To Candles
The rate of change don't distort price as heavily as other indicators since its based on differencing.
Center Of Gravity To Candles
The center of gravity (cog) is defined from tradingview as "an indicator based on statistics and the Fibonacci golden ratio", its not an indicator i'am familiar with and i don't know if its the same proposed by Elhers. The candles are smooth, high length can flatten the candles heavily making them hard to see.
Correlation Oscillator
In a range of -1/1 this indicator is quite smooth and can also flatten candles.
Patterns And Heikin-Ashi
There are tons of patterns that can be generated from candlesticks, they can be applied to this indicator as well.
The indicator can show an heikin-ashi mode, heikin-ashi candlestick use averaging to plot candles, this is why they appear smoother, some signals generated from heikin-ashi candles are :
Bullish body with no lower shadows = Strong Uptrend
Bearish body with no higher shadows = Strong Downtrend
High range and small body = Indecision/Risk of reversal
Conclusion
I made an indicator able to draw candles from other indicators, those candles contain various information that can generate decision from patterns. I hope you find a use to it, if its the case share your findings with me, maybe that you will even be able find a new candlestick pattern :)
Thanks for reading !
Basing CandlesBasing Candles using custom candles.
First, change default chart from candle to line or something other than candle to make this meaningful
BH - Candlestick Pattern DetectionThis is a script to help the beginners locate the candle patterns. It has a nice code that can be used in other scripts too. Easy to use with separated functions, simple patterns and complex patterns detections.
I have done some updates at the Candlestick Patterns Identified script by @repo32. Was a good start of my ideia. Tks for sharing repo.
It will be always under constant development but I want to share this first version to know what can be done to get better, improve, get more desired patterns, know what are you guys using that could be helpful.
I still need to check if all patterns are correct.
Any comments, help and suggestions will be appreciated.
Marcos Issler @ Isslerman
RSI candlesnice RSI candles , so you can use to see where the real trend is
in next update i will make buy and sell points
MTF candles by yatrader2 signalsthis is the signal version of this study
alerts included
for more detail look at original study
SadLittleThings Price Compare With Offset MTF by RRBSadLittleThings Price Compare With Offset MTF by RagingRocketBull 2018
Version 1.0
This indicator lets you compare multiple assets across different timeframes, supports offsets and alpha multipliers.
Standard TradingView Compare doesn't have Offset/Timeframe/Multiplier options, hence this indicator.
Features:
- compare current asset's price with 2 custom ext OHLC sources
- plot sources as lines/bars/candles
- use offset:
- for lines - both positive/negative offsets, unlimited
- for bars/candles - only positive offsets <= 5000
- specify timeframe for each source
- uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- support for timeframes in H: H, 2H, 4H etc
- show/hide sources
- colorize sources
- convert source price to 1000s, mlns, or blns using alpha multiplier
- total bars counter
Notes on using offsets:
- Max offset is defined by study max_bars_back which is limited to 5000 for free accounts. This variable specifies the number of history bars an indicator can access.
- if you see the 'internal server study error' => one of the indexes of ohlc series is out of bounds (i.e. close ) => decrease the offset <= 5000 or switch to line type
- you will be limited only by the total number of bars in history (n) +/- 1 full screen of empty bars
- you can't scroll past the beginning of history - 1 empty screen and past the end of history + 1 empty screen to be able to still see the line with applied offset
- before applying a large offset, scroll back long enough to make sure you have enough history loaded
- if you have a long history the indicator will get slower, its UI less responsive. Reloading the page may fix that.
- you will not see source's history past the beginning of the current asset - open the chart with the longest history first (i.e. BLX, not COINBASE)
- Make sure that the Left Price Scale shows up with Auto Fit Data enabled. You can reattach the indicator to a different scale in Style.
- you may not be able to plot intraday TFs < current TF, because free accounts are limited to TFs >= D1 (i.e. D, 2D, 3D, W), but you can still plot, say, H4+ on a lower TF H1 chart
1. uses plot*, security, change
MTF candles by yatrader2Get higher time frame candles overlaid on a lower timeframe chart.
Add 1H candles on 1M or 1D on 30M
Overlaid candles feature wicks and multiple display options to customize appearance.
Add the indicator multiple times to get MTF (multiple time frames) all on one chart.
Chart Theme - Change Bar and Background Colors using HEX #sAdds aesthetic ability to charts by allowing the trader to change the color of the bars, background, and plots using HEX colors, rather than TradingView's limited color selector box. This makes for easy application of color palettes to charts. The color palettes can be saved as indicators and applied quickly, as desired.
Strength Candles With GapCode written by Krishna Khanna on 20/11/2017 includes the following components for NimblrTA
1) Logic for detection of strength candles, only displayed candles are of strength (BH>50%CH)
2) Wicks are not considered
3) Any Gaps are indicated with a arrow, can detect gapup and gapdown
This indicator is apt for small screen devices
Bull/Bear CandleThis script will display a small triangle under the latest two candles to indicate whether that candle is bullish or bearish based on the following definition.
A bullish candle closes in the top portion of the trading range of the candle while a bearish candle closes in the bottom portion of the trading range of the candle.
The cutoff is currently set at 65% (you can adjust it) so the close must be outside or equal to 65% of the trading range to be considered bullish or bearish. If less than 65% the triangle will indicate a neutral candle.
Colours are;
green triangle = bullish candle
red triangle = bearish candle
yellow triangle = neutral candle
I hope this helps those using TraderCobb's cradle strategy.