Candlestick indicators combinationWith the inclusion of the candlestick identifiers added to trading view today, I have compiled my favourite identifiers and put them together here. This way, you can see the following together instead of separately:
Bearish Engulfing
Bullish Engulfing
The Morning Star
The Three White Soldiers
The Hammer
The Inverted Hammer
See Investopedia for more on these indicators.
In addition, I have made the indicators to show green if indicating a bullish trend, red if indicating a bearish trend, and blue if indicating something else. Please validate these indicators with other factors like EMA before proceeding to make a trade.
Please let me know if there are other indicators you would like me to compile to this list.
Best wishes, and happy trading!
การวิเคราะห์แท่งเทียน
Pinbar识别器This is a Pinbar Monitor which design for Chinese.
这是一个Pinbar识别器。
本脚本的目的在于帮助使用中文的人了解该指标,特别是其用法。同时将该指标代码添加完整的中文注释,方便使用中文的人学习Pine语言。
Pinbar概念来自于Price Action,基本类似于国内K线分析中的十字星,锤子线。该指标的主要功用在于帮助识别盘面出现的Pinbar,分为牛市Pinbar和熊市Pinbar。
对Pinbar的量化定义
熊市Pinbar
1 前一根K线,必须为阳线;
2 K线实体必须小于前一根K线;
3 下影线高度至少大于0.5倍实体高度;
4 上影线高度至少是2倍实体高度。
牛市Pinbar
1 前一根K线,必须为阴线;
2 K线实体必须小于前一根K线;
3 上影线高度至少大于0.5倍实体高度;
4 下影线高度至少是2倍实体高度。
指标局限性
因为Pinbar出现的概率比较高,所以切勿直接按信号交易,应考虑其他的分析方法,综合考虑再决定是否交易。
K线组合识别器(Candlestick Pattern Monitor)This is a Candlestick Pattern Monitor which design for Chinese.
这是一个K线组合的识别器。
本脚本的目的在于帮助使用中文的人了解该指标,特别是其用法。同时将该指标代码添加完整的中文注释,方便使用中文的人学习Pine语言。
K线组合是国内技术分析里最常见的分析方式之一。K线组合种类丰富,各类证券类书籍中均有总结,本识别器选取其中几种传播度最高几个K线组合,将其量化,使用机器辅助识别K线组合。
射击之星
射击之星,在股价运行的高位,一根中阳或者大阳线之后出现长上影K线,往往是较为强烈的看空信号,K线的实体部分很小或者为十字线,上影线一般为实体K线的两倍以上。
量化要点:
1 上一根K线须是一根实体高度必须大于最近10根K线实体平均值1.5倍;
2 上影线至少是实体的2倍;
3 下影线不大于实体的0.5倍。
乌云盖顶
乌云盖顶组合,第一根K线为大阳线或者中阳线,第二天跳空高开,第二根K线的开盘价远高于第一根K线的最高价,但是收盘却跌入第一根K线的实体部分,第二根K线收盘价越底,则拐点的信号越明确。
量化要点:
1 跳开,即当前K线开盘价大于上一根收盘价;
2 上一根K线须是一根实体高度必须大于最近10根K线实体平均值1.5倍;
3 当前K线收于前一根K线实体下半部分。
三只乌鸦
三只乌鸦组合的构成,股价上涨的高位区域,一根大阳线之后连续出现三根小阴线,每一根阴线都是跳空高开,但是收在当日最低附近。
量化要点:
1 连续三根阴线;
2 三根阴线的实体都小于最近十根K线实体的平均值。
下跌三部曲
下跌三部曲的构成,一根大阴线或者中阴线之后,随后的交易日连续三根价量逐日萎缩的小阳线,三根小阳线的最高价未能击破前面阴线的开盘价,随即股价重回下跌趋势,并再报收大阴线或者中阴线。
量化要点:
1 组合第一根K线为阴线;
2 组合的第二至第四根K线都为阳线;
3 第四根K线收盘价不高于第一根K线开盘价;
4 第五根K线为阴线,且收盘价低于第二根K线开盘价。
早晨之星
早晨之星由三根K线组合成,第一根是中阴线或者大阴线,第二根是小阳线或者小阴线,第三根为中阳线或者大阳线,如果第二根是十字线,也成为早晨之星,第三根阳线实体切入第一根阴线的实体之内,切入的幅度越大,信号越明确。
量化要点:
1 第一根K线为阴线,且实体高度大于最近十根K线实体的平均值的1.5倍;
2 第二根K线实体高度小于最近十根K线实体的平均值,且上影线小于实体的0.5倍,下影线大于实体的2倍;
3 第三根K线为阳线,且收盘价大于第一根K线开盘价。
红三兵
红三兵构成,三根上涨的小阳K线,如果出现在大跌之后的底部区域或者盘整区域,再配合成交量,往往成为上涨行情的先兆。
量化要点:
1 三根K线均为阳线;
2 三根K线的实体均小于最近十根K线实体的平均值。
指标局限性
因K线组合出现的频次均较高,所以K线组合需结合其他分析方式一起考虑。
Shark-32 Pattern for Candle sticks AnalysisThis script is the perfect strategy for the all mighty shark-32 pattern.
It shows the power tussle between demand and supply before either of them finally gives up.
Hide Active BarWe are not supposed to make trading decisions based on active bars (bars that have not closed), right? Well sometimes my trigger finger gets a little twitchy when I'm awaiting an entry and an active candle starts to pull away or I'm in a trade and an active candle pushes against me.
Therefore, I made a VERY simple indicator that ghosts the active bar. You can see the outline but the body is transparent to emphasize that you should await its close before deciding what to do...
Very simple script but hopefully it will help me (and others) to remain a little calmer in the moment.
In case the bar recolour does not show in the main image - here it is below.
HTF Candlestick Patterns [TradingView] vX by DGTCandlesticks are graphical representations of price movements for a given period of time. They are commonly formed by the opening, high, low, and closing prices of a financial instrument. They have their origins in the centuries-old Japanese rice trade and have made their way into modern day price charting.
It’s important to note that candlestick patterns aren’t necessarily a buy or sell signal by themselves. They are instead a way to look at market structure and a potential indication of an upcoming opportunity. It is always useful to look at candlestick patterns in context like any other market analysis tool and candlestick patterns are most useful when used in combination with other techniques. There are countless candlestick patterns that traders can use to identify areas of interest on a chart, where some candlestick patterns may provide insights into the balance between buyers and sellers, others may indicate a reversal, continuation, or indecision.
Reversal patterns are quite useful when used in context. Reversal patterns should form at the bottom of a downtrend or at the top of an uptrend. Otherwise, they are not a reversal patterns, but continuation patterns. Most reversal patterns require confirmation such as price move in the direction of reversal accompanied by appropriate trading volume. The reversal patterns can further be confirmed through other means of traditional technical analysis—like trend lines, momentum, oscillators, or volume indicators—to reaffirm buying or selling pressure. The patterns themselves do not guarantee that the trend will reverse. Investors should always confirm reversal by the subsequent price action before initiating a trade.
This study implements some of the most commonly used candlestick patterns in a context with directional movement indicator. On request users can adjust the strong trend threshold from dialog box, eighter can disabled correlation with directional movement indicator. To add additional sight to analysis the simple moving averages of 20, 50, 100 and 200 periods are added (configurable)
You may add additional indicators of your choice. Colored DMI, BB Cloud or Price Distance to its MAs may help
Enjoy it!
Disclaimer: The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd tradingview user liable for any possible claim for damages arising from any decision you make based on use of the script
Hull Candles [BigBitsIO]This script is for custom candles based on an HMA calculation with a default period of 10 as well as an SMA of the close price, defaulted to 1 period to only show the current price. The purpose of the custom candles is to try and reduce noise from candles and help identify trends. These custom candles somewhat resemble Heikin-Ashi candles in their appearance.
Explained:
- Open, High, Low and Close (o, h, l, and c) are all calculated using an HMA calculation based on a user input length/period, defaulted at 10.
- Candle colors are determined by using the same HMA calculation on the ohcl4 and comparing it to the previous candle. Green candles have an ohlc4 greater than the previous candle, all other candles are red.
- The current price is plotted with the default blue line with an SMA calculation with 1 period to allow customization of smoothing if necessary to identify trends.
DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB.
Engulfing Signal Considering Three Bars BeforeIts a simple analysis using Candle Pattern Technique, Engulfing. The script will find the engulf candle by considering three bars before. For Bullish Engulfing it will be colored by yellow, and for Bearish will be white. I reccomend you for using this script in Daily Time Frame.
Enjoyyyy!!!
Trend following 3 EMA & Bullish Engulfing indicator for ForexHello world,
I now took the time and puzzled through my own indicator.
The idea:
Main "strategy" uses 3 EMAs (8, 13 and 21) to attain trend-relevant information.
Then we look for bullish & bearing engulfing candles which indicate and pullback into trend direction and a gain in momentum.
Trading purpose:
One could now enter with next open. SL at low/high of engulfing candle. TP at e.g. 1.25 of that candles size.
Security:
There are two security functions build in.
We check for higher timeframe confirmation.
This is done by checking if current trend is in accordance with the EMA of the next higher timframe.
Standard-deviation is 3 on default. Can be changed in the inputs.
Alerts:
Until now there is just one alertcondition programmed.
It alerts for every engulfing candle (bullish and bearish).
More will follow in further versions.
Inputs:
I build in multiple inputs.
- switch on/off the security EMA's
- define security trend backcheck
- define the higher timeframe (15min/1h, 1h/240, 4h/D, D/W)
Happy to take feedback or contr.
All the best,
c4ss10p314
Heikin-Ashi Source Function HTFHigher TimeFrame using custom source function for toggling traditional Candle sources or Heikin-Ashi sources on a traditional Candles chart.
Thanks to PineCoders for rounding method: www.pinecoders.com
Thanks to @LucF and @RicardoSantos for their advice and enlightenment as always.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Hikkake PatternLifted description from web:
Hikkake means to trap, trick, or ensnare. Primarily, this price pattern seeks to identify inside bar breakouts and profit from their failures.
An inside bar is a price bar that is entirely within the range of the preceding price bar. Inside bars are typical on price charts of most timeframes.
While you’ll often find inside bars in congested markets, they also offer a low-risk entry point for price action traders. The contracted range of an inside bar offers a natural tight stop-loss.
Hence, inside bar breakouts seem attractive. However, if you are patient and focus on identifying false breakouts, you might be able to find more reliable trading setups in the form of Hikkakes.
In a nutshell, the Hikkake pattern offers a systematic approach to trading false inside bar breakouts.
As a filter I incorporated VWAP into the code to only trigger Bullish / Bearish signals when price is Above/Below VWAP respectively. The ATR is used to create a Stop buffer (red cross) for the Entry signal ( green dot ). The R1 and R2 (orange squares) are two possible profit targets that are customizable to different Risk multiples based upon the difference between Entry and Stop.
Trend Reversal / Potential pressureThis strategy looks for potential trend reversals by looking at hammer candles (defined in the is_hammer and is_stick functions). After getting confirmation a trade is open with determined SL/TP. ATR is used to justify the volatility. Fine-tune the parameters for your specific use case.
Elder's Impulse System with weekly EMA Filter - ValenteThis indicator was based on the Elders Impulse System by astraloverflow.
The only difference is that I included the weekly EMA26 as a filter and you can plot it on the graph if you want (unchecking the Weekly EMA26 won't turn the filter off, will only stop plotting it).
The indicator works this way:
When the MACD Histogram is growing UP, the EMA13 is pointing UP AND the Weekly EMA26 is pointing UP, the bar is Green
When the opposite is true, the bar is Red.
When any condition from both green and red is not true, the bar is blue.
In my opinion, this particular indicator works better on the D1 time frame. I recommended using the original one, by astraloverflow for other time frames.
I hope it is useful!
cATRpillerThis indicator is used to identify range breakouts using an ATR multiplier. My first script, Im sure there are indies out there like this, but this my favorite way to identify breakouts and trends.
Hammer & Shooting Star IndicatorA hammer candle is defined here as 1) the lower shadow (wick) is at least twice the length of the main body and 2) the close is in the top half of the range.
A shooting star has the opposite conditions 1) the upper shadow is at least twice the size of the main body and 2) the close is in the lower half of the range.
These candles should not be used by themselves but used in context ie with Bollinger bands, RSI or other oscillators they can form part of a mean reversion system.
Marubozu ScannerCandlestick Marubozu patterns scanner with multiple settings to fine-tune the scanning.
n4ly's Portfolio ToolThank to user bnh for the idea (Hershey's Portfolio Watch)
A script that shows the total or return on current assets in real time.
You can view all your assets in one currency.
Please refer to the comments in the script and modify them. A little script knowledge is required.
Depending on the number of registered items, it may take some time.
- English translated from Papago
bnh님께 아이디어를 얻었습니다. (Hershey's Portfolio Watch)
현재 자산 합계 또는 수익을 실시간으로 보여주는 스크립트입니다.
모든 자산을 하나의 통화로 묶어서 볼 수 있습니다.
스크립트 내부의 주석을 참고해서 수정하여 사용해 주세요. 약간의 스크립트 지식이 필요합니다.
등록된 항목 수에 따라 다소 긴 시간이 소요될 수 있습니다.
engulfing candle detectionthere are better scripts out there similar to this but just testing out my pinescript skills am still new to scripting :)
Compare Forex ExchangesThis indicator allows you to overlay candles of a different exchange over the top of your primary exchange. For example, you might be curious how Oanda's prices compare to FXCM's in realtime.
You can see from the example that generally, the other exchanges swing a little further than FXCM (note this is the 1 minute chart for clarity).
You can use this if you are thinking to change exchanges (or concerned you are being stop hunted etc).
I was just curious to see the difference in real time during new events.
I don't need it anymore - I hope its useful to people
HG Scalpius - Previous Bar HighlightHG Scalpius - Previous Bar Highlight
This indicator highlights the 20th bar from the current bar and has the below applications for trading the HG Scalpius system:
- Determining if trend mode off switch is triggered, failing to set a new higher (lower) close in the trend with 20 bars
- Determining the highest (lowest) bar in the previous range to decide if a trade is high & tight
bars_back = input(defval=20, minval=0, title="Bars Back")
bgcolor(#9C27B0, offset=-bars_back, show_last=1)
If you come across or think of any other useful scripts for the HG Scalpius system please comment below!
Happy trading!
How To Limit n Round Trips Per Day [Alerts]Example how to limit the number of round trips per day. If entry condition is never met logic will force a round trip at end of day. Set chart to a timeframe that is lower than 1 Day period.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Off-chart 21 MA, Bollinger Bands and Heikin Ashi CandlesThis off-chart indicator provides three basic and useful tools for trend trading in Bitcoin and probably other markets. Heikin Ashi candles being utilized with classic candle patterns at the same time could be considered as a conservative and safe confirmation approach for entring your position.