Candle Strength IndicatorThe candle strength indicator depicts the average strength of the price action by evaluating bullish vs bearish candles.
The scale is relative to price fluctuation and the size of the candles for the particular ticker / market, so there are no significant levels.
A cross on the zero line would generally indicate a change in trend / sentiment.
This indicator may be useful as a filter for entries and use in confluence with other indicators.
Candle
Candle Stick UpdateHeikin ashi chart so powerful that you can understand trend direction easily. But sometimes, this type of chart doesn't update properly and make no sense on real time. So I made this script. You can now change candle stick style default to heikin ashi (default / modified version) on the real time default chart without switching heikin ashi chart. Enjoy traders!!! And don't forget to press the like button :)
candlestick screenerhello traders..
I think it would be awesome if traders using a candlestick price action have a candlestick pattern screener.
so you just have to screen the securities, crypto, forex, commodities, spot the candlestick pattern easily and then you can set up trades..
This is a multi time frame candlestick screener, consist of:
1. Bullish & Bearish Kicker
2. Morning & Evening Star
3. Three White Soldiers & Three Black Crows
4. Tweezer Top & Bottom
5. Doji
6. Spinning Top & Bottom
7. Bullish & Bearish Harami
8. Bullish & Bearish Engulfing
9. Hanging Man & Shooting Star
10. Hammer & Inverted Hammer
the time frame of the screener, follows the Main Chart Time Frame;
- if your main chart in M5, then the result is in M5
- if your main chart in M15, then the result is in M15
- if your main chart in H1, then the result is in H1
- if your main chart in Daily, then the result is in Daily
- if your main chart in Weekly, then the result is in Weekly
- if your main chart in Monthly, then the result is in Monthly
Here are some the examples in multi time frame:
M5
M15
M30
H1
H4
Daily
Weekly
Monthly
Market ProfileSimple "Market Profile" script to help visualize where high volume nodes are occurring on higher-time frame candles.
Historical lookback is visually limited based on the number of candles TradingView provides on the chosen timeframe.
The script calculates the buy/sell pressure on the timeframe chosen, and aggregates volume up to the higher timeframe of choice (default: 4hr).
The volume for each candle is then normalized to assess how many standard deviations away from the mean it is. The color gradient on the chart is stronger for readings with more extreme z-scores.
Readings which are less than 2-standard deviations from the mean are not colored (white) - making it easier to visualize where the extremities of volume occur only.
Recommend using on default settings, on the 5-min of 15-min chart. Then hide the normal price data by clicking the "eye" symbol.
If you want to visualize historic periods, you can change the lookback settings.
Candle Overlay and Change From Open PercentCandle Overlay and Change from Open Percentage
This script is free for all to use was designed to be non-cluttering for those who like their charts clean. This script features two things:
1) An option to allow a candle overlay over the existing stock/security in a charting window.
- By default, the additional candle overlay uses the same ticker you're currently looking at
- By default, the chart resolution for the additional candle overlay uses the same chart resolution as the current charting window you're using
- Please note that if you enable an additional candle overlay for a stock/security that has a wider gap in the stock price between the two different stock/securities, the additional candle overlay may not be visible, due to the big variances in stock price (unless you zoom out to get both charts to fit).
- The benefit to having this feature, is the ability to use a line chart as the primary and the candle chart as the secondary (each overlaying another)
2) An information window showing the percentage change from the market open
- If the market is not currently open, you will see a message, which reads "MARKET CLOSED" and underneath it, the stock/security price from the prior trading day
- If the market is open, you will see a couple of things:
a) The information window will either be green or red and geared towards mostly day traders. This color is based on whether the current price is above or below the market open price. The default color if the current price is at or above market open price is green and the default color if the current price is below the market open price is red. Although, not always the case, you can generally assume if the stock price is above the market open price that the overall trend is generally bullish (but again, not always the case, as there's other varying factors that come into play).
b) There's two lines displayed on the information window and these information automatically changes depending on the color of the information window.
c) The first line that starts with a star symbol begins with the current percentage change/move from the market open price and the secondary number on the same line is either the absolute highest (or lowest) percentage change uncovered during the current trading day. If the information window is green, this percentage number is the highest percentage uncovered. If the information window is red, this percentage number is the lowest percentage uncovered. Please note that nobody knows the absolute highest and lowest price of any particular stock on any particular day; therefore, sometimes the only way to have a better sense of what the absolute highest (or lowest) percentage possible on a stock/security is when the day progresses into power hour and into the market close.
d) The second line that starts with either an UP and DOWN arrow indicates the estimated projected max percentage (again depending on whether the information window is green or red). Please note that this feature is completely experimental and subject to future code changes. If the information window is green, this percentage number guesses what the max percentage change the stock price will go up to. If the information window is red, this percentage number guesses what the max percentage change the stock price will go down to.
e) Please note that the second line which provides the estimated max percentage (either up to down) should not be used as an indicator for your trading, but rather just for entertainment. The estimated percentage max change can auto-adjust itself throughout the day. Stock news, unexpected high trading volume, etc... can cause a stock/security price to exceed (or shortfall) this estimated max percentage.
* Please note that this script is in its early beta stage and there could be bugs. This is being provided as is and the information provided by this script is meant for informational/entertainment purposes only.
Equivolume - volume as candle widthDo price action and volume really need to be on separate graphs? Why not display them both on a single graph and reduce the clutter? Presenting Equivolume candles here on TradingView - inspired by the NinjaTrader implementation
This indicator allows you to view traditional OHLC candles but with the additional ability to see relative volume through variations of width and/or transparency
Explanation
- Wide and/or full colour candles have the highest volume
- Thin and/or highly transparent candles have the lowest volume
- The following diagram shows the Equivolume indicator as well as a traditional volume graph along the bottom. You can see that when the volume is highest, the candle is widest and also the most intense color.
- The `Lookback candle count` user parameter specifies the number of candles to use in order to locate the highest volume within that range. All other candle widths in the range will be adjusted relative to this highest volume
Tips
- Toggle off the visibility of the original graph for the instrument to get the best view of the candles when using variable transparency
Gotchas
- Due to a Pine Script limitation a maximum of 500 variable width candles can be drawn on the chart
- If `Lookback candle count` is higher than the total number of available candles for the instrument, then the indicator will fail and not display anything. I’m still investigating how to handle this case better
- Be aware if you are using the `High` setting for the `Transparency range` parameter, candles with the lowest volume will be virtually invisible
Master CandleMaster Candle
Definition
A master candle can only exist when 4 consecutive candles after it consolidate within the candle’s range (high and low). Basically, a master candle should engulf the 4 following candles
Common Belief
Literature suggests it be used as a breakout strategy. When a master candle is formed, they assume the 5th,6th or 7th candle are the candidates for a potential breakout.
If the there is no breakout after the 7th candle, the master candle should be disregarded. There are many scenarios where it does work, but just as many when they don’t.
Interpretation
The idea of the master candle does hold some significance, but I see the break of the master candle as a sign of a potential continuation, retracement, or reversal.
The indicator
I have kept the original theory as default (minimum criteria which is MC=C1234+B123) but have allowed the option to edit the parameters.
Another option I’ve added is to allow wicks to breach the Master Candle as long as they open and close within its range. The only time the range is broken (5th candle onwards) is when a candle body closes above or below the master candle range.
Since I did not want to define the break as a breakout, I’ve named it a ‘Swish’. So, it’s either a Swish High or a Swish Low. Traders should make their own judgement on the intended direction based on their own analysis. A retracement entry into the intended direction is all I can advise.
Examples:
Heikin Ashi CandlesLibrary "heikin_ashi_candles"
This library is programmed to calculate the Heikin Ashi candles using the standard formula of Heikin Ashi Candles.
Notice the Heikin Ashi chart type isn't 100% like the results from this calculation.
You can import this library in your code to use it as a smoothing method for your strategy which operates on the standard chart type.
_close()
_open()
_high()
_low()
_ohlc4()
_hlcc4()
_hlc3()
_hl2()
Smoothed Heikin Ashi Trend on Chart - TraderHalaiThis indicator is a predictive tool using Heikinashi to calculate shifts in trade direction.
It works by reverse-engineering the regular candle stick closing price required, to flip the Heiken Ashi candle from Red to Green and vice-versa.
Below, is an earlier indicator that I released and created. This plots this price as an oscillator, which allows traders to get a predictive indicator of a trend change.
This indicator extends upon this functionality by adding a smoothing function to the reverse-engineered regular candle stick closing price, to reduce the choppiness of signals. It also plots the indicator on the chart to allow for easier visual confirmation.
How to use
1) As a directional bias - Bullish or bearish
2) Volatility expansion/contraction - further distance from line means volatility expansion - am planning to release an oscillator version also
3) Trailing stop loss - once you are in a trade
Other Features
Select a moving average period and smoothing calculation method (e.g. SMA / EMA)
Non-repaint mode for backtesting and use/integration with higher timeframes
Final note - Open Source
I am releasing this as open-source for the benefit of the community and to allow further development, scrutiny and criticism. Please feel free to use this indicator as you see fit. If you do use this indicator to create another script, feel free to drop me a note, as I would be highly interested in your idea.
Thanks, and Enjoy!
Intrabar Polarity DivergencesTradingview Pinescript just introduced a new exciting ability to get intrabars candle information from a higher time frame chart!
This indicator is based on Tradingview example but with enhanced capabilities to show the percentage of intrabars opposite bars with the ability to display the mid-day candle close price drawn by a blue line.
This indicator can show you that in some cases a GREEN candle on the daily chart, for example, can have more red candles in a lower time frame. which may or may not indicate on a change of direction :)
This is an ongoing experiment and I plan to release more indicators based on these new pinescript capabilities.
Like if you like and Follow to stay updated!
Base Candle NewBase / Imbalance Candle
It automatically highlights the candle color to yellow (default) where there is imbalance between buyers and sellers or in other words, a base or fight between buyers and sellers. When you identify this base candle, you can mark the demand and supply zones easily.
[_ParkF]HeikinAshi
In the Input menu, the default value of Location is 1, and HeikinAshi can be seen overlapping the candle.
If you modify the Location value, you can overlay it separately with candle to compare.
(In this case, the HeikinAshi value is different from the actual value, so it is recommended to use it to identify the trend.)
Also, if you move HeikinAshi to a new pane, you can use it as an auxiliary indicator at the bottom.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Input 메뉴에서 Location의 기본값은 1이며, 헤이킨아시를 캔들과 겹쳐서 볼 수 있게 되어 있습니다.
Location 값을 수정하면 캔들과 따로 overlay 시켜 비교할 수 있습니다.
(이 경우 헤이킨아시의 값은 실제값과 다르니 추세 파악을 위해 사용하시길 권장합니다.)
또, 헤이킨아시를 새 페인으로 옮기면 하단의 보조지표처럼 사용할 수 있습니다.
Determine Consecutive Candles█ OVERVIEW
This is a simple script that will plot labels over or under candles to show where there had been consecutive candles that closed in a similar fashion. This script was inspired by a Tweet about Bitcoin experiencing its first 7th-consecutive weekly black candle and I sought out to test that.
█ INPUTS
There are three inputs for this script.
"offset" ( integer ) - (Can be 0 or 1) Allows the user to apply this script at the currently closing candle or the most recently closed candle.
"Number of Candles" ( integer ) - (From 3 to 100*) Allows the user to select how many candles to back test for consecutive-ness.
"Black or White" ( boolean ) - Allows the user to select what kinds of candles to look for in this script. (true - Black , false - White ).
*Publishing open-sourced, this selection was arbitrary and can be modified at will.
█ USAGE
Because I had created this in a little over an hour, this is just a simple experiment that I wanted to share with others. Its applications are unknown to me, but I am interested in hearing how others may find what this script does useful.
Candle Number AnalysisAuthor: Marek Zatwarnicki
Inspired by: -
Category: Technical Analysis
Type: Indicator
Timeframe: 4H - 1MONTH
Index: ALL
About:
The indicator allows to examine the number of historical occurrences of candles in a given color, evaluate the risk and analyze returns of the next candle.
How to use:
Check with plotline how many candles of a given color have occurred so far and use the table to evaluate the risk.
Formula:
- Returns - ((close / open) - 1) * 100
- Returns Culminative - close / open
Overfitting: Overfitting free. Research only.
Disclaimer: Past good results do not guarantee future trading success. Please use the algorithm with caution and support it with your knowledge. Published algorithm decisions are not financial advice.
Supply and Demand - Order Block - Energy CandlesSupply and Demand - Order Block - Energy Candles
Description
An experimental script, designed as a visual aid, to highlight the last up or down candle before a fractal break. We can assume these candles where the point of origin that generated enough strength to break recent structure. By using them as reference points, traders are expected to follow their own set of rules and mark higher probability supply and demand zones in the area.
How to use:
Expect a potential retest in these areas, and if they fail, a potential retest in the opposite direction. The greater the number of times a zone is tested, the more likely it is to break. A fresh zone that has not yet been tested will have a higher probability of a bounce.
Fractal period and candle break type can be personalised in settings. Can be used on all timeframes (higher the better).
Indicator in use:
Extras:
An option to flip candle colours if current price is above or below them has been added.
Extended candle alertThis indicator lets you set an alert that triggers when a candle body has got a specific % extension.
Customizable settings
Extension % threshold: the % of the candle extension that has to trigger the alert
Instructions to make it work
Add the indicator to your layout
Set the desidered extension % threshold
Create an alarm (Alt + A)
In the first condition toolbox select "Ext candle alert"
In the second condition toolbox select either long or short condition
Press create (unless you want to change secondary stuff like notification settings)
4C Inside/Outside BarThis indicator colors the candle body based on whether it closed as an Inside Bar (IB) or an Outside Bar (OB).
Inside and outside bars can be powerful triggers to enter or exit trades from, when price breaks above or below the candle.
The coloring of only the body and not the border of the candle makes it possible to still know whether the candle was bullish/bearish.
This indicator has the unique ability to add/hide labels for each IB and OB.
Small labels are printed on the chart directly below the candle. (See below)
It also has the unique ability to paint the chart background when an IB forms directly after an OB.
This is a special combination of the two, and can also be a powerful signal.
This feature can be turned on/off. (See below)
Thanks to Craig Stine, as some parts of this indicator were adapted from Custom Candle color Inside/Outside candles, Highwave, Star Patt. by Craig_Stine
Candle relative powerThis indicator tries to measure the power of candle.
You can also integrate some candles to measure the power. The “Length” is for integrating candles. If the Length is equal 5, it means indicator calculate power of recent 5 candles.
The second editable factor in “Shadow index” which represent the power of shadows.
The last factor in Average Criteria which is the module of comparing the integrated candles to the past market moves.
This indicator do not supposed to create trading signals! But, you can see every time it breaks the static line it is a sign of bulls or bears power.
I personally use it as a candle power meter so I will evaluate the power of breakouts or trend continuations.
3 Candle Strike SPY Option StrategyImportant notes:
1. This strategy is designed for same day SPY option scalping. All profit shown in back testing report is based on Profit/Loss (P/L) estimates from trading options with approximately 7.5 weeks of data. By default, it is set to 10 option contracts. By default the initial capital is set to $5000.
2. This strategy also takes into account of extended market data, so turn it on for it to work as intended.
3. This strategy is mainly developed for SPY trading on 1 min chart, it probably will not work with other tickers without tweaking all the parameters first.
4. At the time of publish, the market is experiencing high volatility. Keep that in mind as market conditions changes constantly.
How it works:
Basic idea of this strategy is to look for 3 candle reversal pattern within trending market structure. The 3 candle reversal pattern consist of 3 consecutive bullish or bearish candles, followed by an engulfing candle in the opposite direction. This pattern usually signals a reversal of short term trend (a.k.a pullbacks). This strategy uses multiple moving averages to filter long or short entries. For example, if the 21 smoothed moving average is above the 50, only look for long (bullish) entries, and vise versa. There are settings to change these moving average periods to suit your needs. Linear Regression to determine whether the market is trending. The 3 candle pattern is more successful under trending market.
This strategy aims for approximately 1:3 risk to reward ratio. Stop losses are calculated using the closest low or high values for long or short entries, respectively, with an offset using a percentage of the daily ATR value. This allows some price fluctuation without being stopped out prematurely. Price target is calculated by multiplying the difference between the entry price and the stop loss by a factor of 3. When price target is reach, this strategy will set stop loss at the price target and wait for exit conditions to maximize potential profit.
By default, the strategy signals a trade in the opposite direction if the previous one had resulted in a loss. Often times, this opposite trade results in profit.
This strategy automatically signal to close all trades at 3:50 pm EST at the end of the day.
Enjoy~!!! Let's all make $$$
[_ParkF]RSI+RSI ----- UPGRADE ----> RSI+
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The RSI index has been upgraded.
The display function of RSI Candle, RSI Line, Divergence, and Divergence Line, which were previous functions, has been maintained.
As an upgrade, two linear regression and two trend lines are drawn.
Since the two linear regression values are different, support and resistance of long-term and short-term linear regression can be confirmed.
The two trend lines also have different period values, so it is possible to check support and resistance that could not be confirmed in linear regression.
Each linear regression and trend line can be turned on and off.
In addition, each linear regression and trend line can arbitrarily modify period values and deviation values.
Log charts and linear chart switches have been added to the trend line.
I hope it will help you with your trading.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RSI 인덱스가 업그레이드되었습니다.
기존 기능이었던 캔들, 라인, 다이버전스, 다이버전스 라인의 디스플레이 기능은 그대로 유지됐다.
업그레이드로 두 개의 선형 회귀 분석과 두 개의 추세선이 그려집니다.
두 선형 회귀 값은 서로 다르기 때문에 장기 및 단기 선형 회귀의 지지 및 저항을 확인할 수 있습니다.
두 추세선의 주기 값도 다르므로 선형 회귀 분석에서 확인할 수 없었던 지지 및 저항을 확인할 수 있습니다.
각 선형 회귀선 및 추세선은 켜거나 끌 수 있습니다.
또한 각 선형 회귀선 및 추세선은 주기 값과 편차 값을 임의로 수정할 수 있습니다.
로그 차트 및 선형 차트 스위치가 추세선에 추가되었습니다.
당신의 트레이딩에 도움이 되었으면 합니다.
* I would like to express my gratitude to zdmre for revealing the linear regression source.
* I would like to express my gratitude to aaahopper for revealing the trendlines source.
[_ParkF]RSI (+ichimoku cloud)RSI
Typical RSI indicators were plotted with candles and expressed wick to resemble a candle chart,
and linear regression was added to predict changes in force intensity,
which allowed us to confirm support and resistance within linear regression .
In addition, divergence signal was marked as an additional basis for the price fluctuation point due to support and resistance .
In other words,
if the diversity signal appears together when the rsi candle is supported and resisted within linear regression ,
this is the basis for predicting that it is a point of change in the existing trend.
Finally, the period value and standard deviation of linear regression can be arbitrarily modified and used.
I hope it will help you with your trading.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
(+ichimoku cloud)
Clouds made of the preceding span 1 and the preceding span 2 of the balance table can predict the trend by displaying the current price balance ahead of the future.
In addition to the role of clouds in the above-described balance sheet, this indicator also shows the cloud band support and resistance of the current RSI value.
일반적인 RSI 지표를 캔들화 하였고 꼬리까지 포함하여 캔들 차트와 유사하게 표현 하고,
캔들화한 RSI 지표에 선형회귀(채널)를 추가 하여 RSI 지표 특유의 힘의 강도의 변화를 지지와 저항으로 확인할 수 있게 해봤습니다.
또한 다이버전스 신호를 추가하여 선형회귀(채널)로 인한 지지와 저항에 따른 가격 변동의 근거로 삼을 수 있습니다.
즉, 선형회귀(채널) 안에서 RSI 캔들이 지지와 저항을 받을 때 다이버전스 신호가 함께 나타난다면 이는 기존 추세의 변화 지점임을
예측해 볼 수 있는 근거가 됩니다.
마지막으로 선형회귀(채널)의 기간값과 표준편차는 임의로 수정하여 사용할 수 있습니다.
당신의 트레이딩에 도움이 되었으면 합니다.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
(+일목균형표의 구름)
일목균형표의 선행스팬1과 선행스팬2로 만들어진 구름은 현재 가격의 균형을 미래에 선행하여 표시하여 추세를 예측해볼 수 있습니다.
본 지표에서는 위에서 설명한 일목균형표의 구름의 역할과 더불어 현 RSI 값의 구름대 지지, 저항 또한 확인해볼 수 있습니다.
* I would like to express my gratitude to zdmre for revealing the linear regression source.
[_ParkF]RSIRSI
Typical RSI indicators were plotted with candles and expressed wick to resemble a candle chart,
and linear regression was added to predict changes in force intensity,
which allowed us to confirm support and resistance within linear regression.
In addition, divergence signal was marked as an additional basis for the price fluctuation point due to support and resistance.
In other words,
if the diversity signal appears together when the rsi candle is supported and resisted within linear regression,
this is the basis for predicting that it is a point of change in the existing trend.
Finally, the period value and standard deviation of linear regression can be arbitrarily modified and used.
I hope it will help you with your trading.
일반적인 RSI 지표를 캔들화 하였고 꼬리까지 포함하여 캔들 차트와 유사하게 표현 하고,
캔들화한 RSI 지표에 선형회귀(채널)를 추가 하여 RSI 지표 특유의 힘의 강도의 변화를 지지와 저항으로 확인할 수 있게 해봤습니다.
또한 다이버전스 신호를 추가하여 선형회귀(채널)로 인한 지지와 저항에 따른 가격 변동의 근거로 삼을 수 있습니다.
즉, 선형회귀(채널) 안에서 RSI 캔들이 지지와 저항을 받을 때 다이버전스 신호가 함께 나타난다면 이는 기존 추세의 변화 지점임을
예측해 볼 수 있는 근거가 됩니다.
마지막으로 선형회귀(채널)의 기간값과 표준편차는 임의로 수정하여 사용할 수 있습니다.
당신의 트레이딩에 도움이 되었으면 합니다.
* I would like to express my gratitude to zdmre for revealing the linear regression source.
Candle Color by VolumeA simple but effective indicator that paints candles with different shades of colors based on the volume transacted.
-> Supports 6 levels of sensitivity at present. Might enhance the granularity later.
-> Darkest indicates the most volume transacted. Lightest, the least. Change it around however you see fit and based on your theme.
-> Use it for your Volume Spread Analysis and/or in conjunction with any other strategies that you employ.
-> Note that the volume ratio is calculated relative to the average volume of the last n candles ( EMA 20 by default).