Tradesharpe Session BiasThis script is designed for traders who want help defining their session bias it is for people who trade in sessions which will most likely be 1 4h candle. The way I trade using Price action to get my daily bias, to either look for sells or buys or both I look at the previous daily candle close and previous 4hr candle close before analyzing the structure on the lower time frames to get my session bias of bullish/bearish. so this indicator compares the daily and 4hr candles to develop a bias for example
previous daily bullish + Previous 4hr Bullish = BULLISH BIAS
previous daily Bearish + Previous 4hr Bearish = BEARISH BIAS
if Daily bullish 4hr bearish = MIXED SESSION
if daily bearish 4hr bullish = MIXED SESSION
MIXED SESSION = Can argue both buys and sells
BEARISH SESSION = Best to look for Sells only based on my trading style
BULLISH SESSION = Best to look for Buys only based on my trading style
Candlestick analysis
Confined Range Candle FinderThis indicator finds candlesticks which are confined within the range of a previous candlestick. This indicates volatility contraction which often leads to volatility expansion, i.e. large price movements.
While every confined range will contain at least 1 inside bar, this indicator differs from the Inside Bar Finder which only finds consecutive inside bars.
This indicator includes options such as:
- The minimum number of candlesticks confined within the range of a previous candlestick to trigger the indicator
- Labels to indicate the number of confined candles
- Signal lines to indicate the high and low of the containing candlestick
Try out this indicator with different options on different timeframes to see if confined ranges increase the probability of identifying the direction of price movements. Breaks or closes outside signal lines can be used to trigger trade signals.
[FrizLabz]FVG Bar
For those of you that like to keep your charts nice and tidy for your Technical Analysis!
FVG = Fair Value Gap
Fair Value Gaps are when impulse movements create an imbalance in price leaving unfilled orders.. they are popular because after one is created we often observe price return to fill these unfilled orders
3 candles make a FVG
When the high/low of most recent candle is lower/high than the low/high of the bar before last
Similar to my other FVG indicator but this one allows you to delete Filled FVGs and have them adjust when filled
Uses a line whose x1 and x2 are on the FVG bar and adjust the size of the FVG with line width because line width on line.new()s doesnt have a cap on line width like plot()s do
Not much too it I made this because a few people were asking if they could delete the FVG after it was Mitigated and since my other uses plots it wasnt possible
so I hope this works for those who were asking about it
hope you enjoy please let me know if you have an idea or find a bug,
Thank You! -
((Bearish)) Candle Above EMASGood Morning from the UK.
Todays script is a simple vieweing of when candles close above a certain moving average - when the market is bearish conditions - candle which close above the moving average can be viewed as a bearish signal along with confluences such as price action. This script is best on the Daily and we can expect big price moves away from this area.
The below example, we have a bearish set up with a break of trendline and then a break of a base which would 1) strong area as price is unlikely to go past this area which would make this a supply zone.
This was then followed by the signal of the candle closing above the 100ema and the 50ema.
The script is likened to my one of my previous scripts which portrays the bullish ema candle closes.
I will be making a price action publish soon if that is of interest to the public.
Market Signals ComplexMIC is an indicator made from some standard deviations of Bollinger Bands, an EMA ribbon, some oscillators like the RSI, and some candlestick patterns like Bearish and Bullish Engulfing candles. It uses these parameters to help you trade/find high-interest zones in the short time as well as the long term. It can be used in any market.
Yearly CandlesPlots yearly candles from monthly candles data. This indicator could also be used to view yearly candles of those symbols for which candlesticks are not available in TradingView (for e.g., ECONOMICS:USINTR , ECONOMICS:USIRYY , ECONOMICS:USWG etc)
As these are not out of the box candles they do have these shortcomings -
Last candle's data is not available in status line, a separate label lists OHLC and change details near its close level
The very first candle's width may vary based on how much data is available for that year
Works only with monthly timeframe
Only those indicators that can be added on other indicators can be applied, however, they may still not work as intended as this still technically is a monthly chart!
Minimalist Doji HighlighterThis minimalism focused indicator was designed specifically to highlight doji candles (gravestone, long-legged, and dragonfly) that generally signal indecision/neutrality within price structure to improve trading accessibility for the disabled/visually impaired, visual charting cues or pattern visibility, and educational/learning purposes.
HOW TO USE IT:
Highlight doji candles to improve visual cues on chart.
Default size of 0.15-0.02 works best, yet can be modified thus ensuring flexibility of use and experimentation.
Additionally, there is an option to add crosses above doji candles for additional visual cues; this feature is set to false by default to avoid cluttering charts.
MARKET USAGE:
All time frames and assets.
MARKET CONDITIONS:
All conditions.
Automatic Order Block + Imbalance by D. BrigagliaThis script combines automatic orderblock and imbalance tracking.
Bullish OB - Blue
Bullish Imbalance - Green
Bearish OB - Red
Bearish Imbalance - Orange
Please note that the actual definitions of orderblock and imbalance are not respected in this script for the sake of simplicity. Scripts that are too complex may overfit some particular chart. Since there is no way to translate the actual ob and imb definitions into pinescript language, I decided to keep it simple.
Ideally, you want to see a bullish OB followed by buy side imbalance, or viceversa. OBs that are broken weakly are generally invalidated, ones that are broken strongly generally become breakers, and you can use them as good support/resistance levels.
Also, a good thing you can do when an OB and an imbalance match, is going in the lower timeframes and catching the structure reversal in the OB or imbalance zone. That may provide excellent RR trades. Always trade with OB that confirm the HTF trend.
Nothing in my content on tradingview is considerable investment advice.
Intrabar VWAPIf your chart timeframe is 1 hour, then each candle show you the OHLC over an hour.
The OHLC price information is rather course grained and does not include the volume.
What if you could split each 1h candle into smaller candles and calculate the Volume Weighted Average Price (VWAP) on those ?
That is exactly what this indicator does. It virtually splits your chart's candles into 1 minute candles and calculates the VWAP on those to give you a better aggregated price per candle, which includes the volume information too.
Known Limitation:
The intra-bar timeframe is 1 minute for simplicity and highest accuracy. I can make this configurable you have a good case.
Bull/Bear Candle % Oscillator█ OVERVIEW
This script determines the proportion of bullish and bearish candles in a given sample size. It will produce an oscillator that fluctuates between 100 and -100, where values > 0 indicate more bullish candles in the sample and values < 0 indicate more bearish candles in the sample. Data produced by this oscillator is normalized around the 50% value, meaning that an even 50/50 split between bullish and bearish candles makes this oscillator produce 0; this oscillator indirectly represents the percent proportion of bullish and bearish candles in the sample (see HOW TO USE/INTERPRETATION OF DATA ).
It has two overarching settings: 'classic' and 'range'.
█ CONCEPTS
This script will cover concepts related to candlestick analysis, volumetric analysis, and lower timeframes.
Candlestick Analysis - The idea behind this script is to solely look at the candlesticks themselves and derive information from them in a given sample. It separates candles into two categories, bullish (close > open) and bearish (close < open).
If the indicator's setting is set to 'classic', the size of candles do not matter and all are assigned a value of 1 or 0.
If the indicator's setting is set to 'range', specific candle ranges modify the proportion of bullish/bearish values. Bullish candle values include all bullish candles in the set from their lows to the close, plus the lower wicks of all bearish candles. Bearish candle values include all bearish candles in the set from their highs to the close, plus the upper wicks of all bullish candles.
Volumetric Analysis - One of this script's features allows the user to modify the bullish and bearish candle proportions by its 'weight' determined by its volume compared to the sample set's total volume. Volumetric analysis for the 'range' setting are more complex than 'classic' as described below.
Lower Timeframes - For volumetric analysis to be done on candle wicks, there needed to be a way to determine how much volume had occurred in the wick by itself to find the weight of upper and lower wicks. To accomplish this, I employed PineScrypt's request.security_lower_tf function to grab OHLC values of lower timeframe candles (as well as volume) to determine how much volume had occurred in the wicks of the chart resolution's candle. The default OHLC values used here are the lows for upper wicks and highs for lower wicks. These OHLC values are then compared to the chart resolution candle's close to determine if the volume of that lower timeframe candle should be shifted to the wick weight or stay in the current weight of that candle. The reason 'low' and 'high' are used here is to guarantee that 100% of the volume of a lower timeframe candle had occurred in the wick of the candle at the current resolution (see LIMITATIONS ).
Bullish candles will exclude volume of all lower timeframe candles whose lows were greater than that candle's close. Bearish candles will exclude volume of all lower timeframe candles whose highs were less than that candle's close. These wick volumes are then divided by the volume of the sample set, and wick sizes are then multiplied by this weight before being added to their specific bullish/bearish sums (lower wicks to bullish and upper wicks to bearish).
█ FEATURES
There are 13 inputs for the user to modify the behavior/visual representation of this script.
Sample Length - This determines how many candles are in the sample set to find the proportion of bullish and bearish candles.
Colors and Invert Colors - There are three colors set by the user: a bullish color, neutral color, and bearish color. The oscillator plots two lines, one at 0 and another that represents the proportion of bullish or bearish candles in the sample set (we'll call this the 'signal line'). If the oscillator is above 0, bullish color is used, bearish otherwise. This script generates a gradient to color a filled area between the 0 line and the signal line based on the historical values of the oscillator itself and the signal line. For bullish values, the closer the signal line is to the max (or restricted max described below) that the oscillator has experienced, the more colored toward bullish color the shaded area will be, using the neutral color as a starting point. The same is applied to the bearish values using the bearish color.
There is an additional input to invert the colors so that the bearish color is associated with bullish values and vise-versa.
Calculation Type - This determines the overarching behavior of the oscillator and has two settings:
Classic - The weight of candles are either 1 if they occurred and 0 if not.
Range - The weight of candles is determined by the size of specific sections as described in CONCEPTS - Candlestick Analysis .
Volume Weighted - This enables modifying the weights of candles as described in CONCEPTS - Volumetric Analysis and Lower Timeframes based on which Calculation Type is used.
Wick Slice Resolution - This is the lower timeframe resolution that will be used to slice the chart resolution's candle when determining the volumetric weight of wicks. Lower timeframe resolutions like '1 minute' will yield more precise results as they will give more data points to go off of (see LIMITATIONS ).
Upper/Lower Wick Source - These two inputs allow the user to select which OHLC values to compare against the chart resolution's candle close when determining which lower timeframe candles will have their volumes associated with the wicks of candles being analyzed at the chart's resolution.
Restrict Min/Max Data and Restriction - This will restrict the maximum and minimum values that will be used for the signal line when comparing its value to previous oscillator values and change how the color gradient is generated for the indicator. Restriction is the number of candles back that will determine these maximum and minimum values.
Display Min/Max Guide - This will plot two lines that are colored the corresponding bullish and bearish colors which follow what the maximum and minimum values are currently for the oscillator.
█ HOW TO USE/INTERPRETATION OF DATA
As mentioned in the OVERVIEW section, this oscillator provides an indirect representation of the percent proportion of bullish or bearish candles in a given sample. If the oscillator reads 80, this does not mean that 80% of all candles in the sample were bullish . To find the percentage of candles that were bullish or bearish, the user needs to perform the following:
50% + ((|oscillator value| / 100) * 50)%
If the oscillator value is negative, the value from above will represent the percentage of bearish candles in the sample. If it is positive, this value represents the percentage of bullish candles in the sample.
Example 1 (oscillator value = 80):
50% + ((|80| / 100) * 50)%
50% + ((0.80) * 50)%
50% + 40% = 90%
90% of the candles in the sample were bullish.
Example 2 (oscillator value = -43):
50% + ((|-43| / 100) * 50)%
50% + ((0.43) * 50)%
50% + 21.5% = 71.5%
71.5% of the candles in the sample were bearish.
An example use of this indicator would be to put in a 'buy' order when its value shows a significant proportion of the sampled candles were bearish, and put in a 'sell' order when a significant proportion of candles were bullish. Potential divergences of this oscillator may also be used to plan trades accordingly such as bearish divergence - price continues higher as the oscillator decreases in value and vise-versa.*
* Nothing in this script constitutes any form of financial advice. The user is solely responsible for their trading decisions and I will not be held liable for any losses or gains incurred with the use of this script. Please proceed with caution when using this script to assist with trading decisions.
█ LIMITATIONS
Range Volumetric Weights :
Because of the conditions that must be met in order for volume to be considered part of wicks, it is possible that the default settings and their intended reasoning will not produce reliable results. If all lower timeframe candles have highs or lows that are within the body of the candle at the chart's resolution, the volume for the wicks will effectively be 0, which is not an accurate representation of those wicks. This is one of the reasons why I included the ability to change the source values used for these conditions as certain OHLC values may produce more reliable/intended results under these conditions.
Wick Slice Resolution :
PineScript restricts the number of intrabar references to 100,000 total. This script uses 3 separate request.security_lower_tf calls and has a default resolution of 1 minute. This means that if the user were to set the oscillator to the Range setting, enable volume weighted, and had the Wick Slice Resolution set to 1 minute, this script will exceed this 100,000 reference restriction within 24 days of data and will not produce any results beyond the previous 23.14 days.
Below are example uses of all the different settings of this script, these are done on the 1D chart of COINBASE:BTCUSD :
Default Settings:
Classic - Volume Weighted:
Range - no Volume Weight:
Range - Volume Weighted (1 min slices):
Range - Volume Weighted (1 hour slices):
Display Min/Max Guide - No Restriction:
Display Min/Max Guide - Restriction:
Invert Colors:
Pro Trading Art - Double Top & Bottom with alertThis indicator is based on ta.pivothigh and ta.pivotlow function. And with the help of different ph and pl I am detecting double top and double bottom.
Features
1. All signal are on realtime means no repaint
2. Able to detect precise double top & bottom
Input Field
Pivot Length : Default 10 => Use to detect pivot point
Indicator For TrangThis indicator is based on MACD crosses and EMA and SMA crosses. The idea is to print arrows after breakouts and also when the pullback is finished.