Fake breakHi Traders,
I've developed an indicator which can detect fake-breaks on the chart.
In the following you'll find the definition of the fake break candles and also you will find how to recognize it on the chart with practical examples.
What is the fake break pattern?
Sometimes support and resistance lines broke with a full body and strong candles that gives us the idea of sharp movements on the chart but suddenly the next candle returns all the path of the previous candle. in this case we can say fake break is happening on the chart.
This indicator detect fake break patterns based on two criteria:
1. It uses AverageTrueRange indicator to measure the strength of the pattern.
2. The returning candle should engulf minimum 75% of the break candle.
This indicator plot 2 terms in the name of "FB-D" and "FB-U" that are abbreviations of the "Fake Break Down" and "Fake Break Up".
You can also set alerts to get notified when fake breakout happens on the chart.
Notice: This pattern is only acceptable in valid support and resistance zones and you can not rely on it everywhere on the chart (specially in the middle of the waves).
Notice: The source code of this indicator is open and you are allowed to use it on your scripts by mentioning the name of author.
Disclaimer: This is not a financial advice or any signal to buy or sell, the goal of developing such an indicator is to use for educational purposes.
Анализ свечей
PopGun Trading, PG Pattern DetectorPopGun Bar Pattern Strategy
PG Trading
The indicator does the following:
It detects the Outside Bar, the smaller inside Bar and the 3rd Pop Gun that is bigger, than the inside Bar.
When the Pop Gun was detected, the indicator will calculate 3 targets for long and short trades.
In our understanding, a Pop Gun is neutral. The next candles after the Pop Gun will decide if the PG breakout is bullish or bearish.
So if one of the next candles after the PG is breaking the high or low of the PG Candle, this is a breakout confirmation and can traded long or short.
We are using the PG Indicator for Stock, Futures and Index Trading.
The Script uses 3 targets per default, but you can extend the target dots up to 6.
If you want to see the targets in plain text, you can activate the PG Box.
The targets are calculated really easy: Just the height of the candle multiplied with 1, 2 and 3 (4,5 and 6 additionally). In some communities there is an ATR calculation for more extended targets but it seems, that the ATR Calculation will sometimes lead to unreachable targets if the ATR is really high intraday...
We trade PopGuns starting at M15 chart. I think PGs smaler than M15 are not worth a trade...
Maybe i will add the ATR Function in the future just to compare the 2 ways to calculate PG targets. We are really doing well with 1,2,3 targets based on the PG Candle size. (Low to High).
Please leave a comment if you have some feature requests or input to make this the best Pop Gun Indicator in Trading View ;-)
Doji FinderModified version of HPotter's "Doji and Near Doji automatic finding script".
Candles are classified based on not just the size of the body but also the distance from the close to the high/low. This avoids classifying a reversal candle with a long wick but a strong close as a doji.
BTC Price TrendThe crypto market is reacting very quickly based on BTC price, thus monitoring the BTC price is very helpful.
This script will color the candles based on the BTC price trend. Set the timeframe and down/up percentage to monitor the BTC price trend, and the script should not repaint.
The indicator will monitor the BTC price in a high frame, for example, for 4 hours, if the price goes down the set percentage during one candle, will change the candle color. Thereafter, if the price goes up within a small timeframe (as you set) then the candle color will be changed.
So, in case the bar color is red, then it is recommended to avoid trading since the BTC price is down trending.
The indicator is requesting the BTC price as of now, and the previous closed price, then it will calculate the price difference, if it result is minus, then the price is in a downtrend, else it is in an uptrend.
Better Heiken-Ashi Candles w/ Expanded Source Types [Loxx]Better Heiken-Ashi Candles w/ Expanded Source Types is an indicator to compare regular candles to traditional Heiken-Ashi candles to "better" Heiken Ashi candles. This indicator and comparison study appears an oscillator. The purpose of this indicator is to demonstrate a better way to calculate HA candles and also to demonstrate expanded source types. This indicator is meant to be used by advanced Pine Coders who wish to add fine-tuning to their indicators and strategies.
What are Heiken Ashi "better" candles?
The "better formula" was proposed in an article/memo by BNP-Paribas (In Warrants & Zertifikate, No. 8, August 2004 (a monthly German magazine published by BNP Paribas, Frankfurt), there is an article by Sebastian Schmidt about further development (smoothing) of Heikin-Ashi chart.)
They proposed to use the following :
(Open+Close)/2+(((Close-Open)/(High-Low))*ABS((Close-Open)/2))
instead of using :
haClose = (O+H+L+C)/4
According to that document the HA representation using their proposed formula is better than the traditional formula.
What are traditional Heiken-Ashi candles?
The Heikin-Ashi technique averages price data to create a Japanese candlestick chart that filters out market noise.
Heikin-Ashi charts, developed by Munehisa Homma in the 1700s, share some characteristics with standard candlestick charts but differ based on the values used to create each candle. Instead of using the open, high, low, and close like standard candlestick charts, the Heikin-Ashi technique uses a modified formula based on two-period averages. This gives the chart a smoother appearance, making it easier to spots trends and reversals, but also obscures gaps and some price data.
What's going on with this indicator?
- First, we have the options to select the candlestick type: Regular, HA, HA Better
- Next, and to demonstrate the expanded source types, I've added a simple moving average. In the drop down for the SMA source you'll notice something very different from the typical TradingView source selector. Here's how to decode the new names for the sources:
Close = close
Open = open
High = high
Low = low
Median = hl2
Typical = hlc3
Weighted = hlcc4
Average = ohlc4
Average Median Body = (open+close)/2
Trend Biased = (see code, too complex to explain here)
Trend Biased (extreme) = (see code, too complex to explain here)
... for HA and HA better, see the same set up as above but with different open and close values to calcualate the other source types
- For the HA better calculations, we run the close value through either an Adaptive, Kaufman, or T3 smoothing filter. The length for these smoothing filters, either 2 or 3, can be found in the code and is a constant value that shouldn't be changed. This smoothing is in inline with what is described in the article mentioned above
- Lastly, I've placed an SMA over the oscillator so that the user can test out the various sources explained above
Included:
- Toggle on/off bar coloring
Wick Pressure/Close point inside the barCalculates the strength of closing within the bar. Higher the closing within the high/low points of the bar, greater is the buying strength and vice versa. HMA of the score for the input period is then divided by standard deviation for smoothing. Works well for higher timeframes with a larger data set. Compliments other indicators. Input period should be changed for various timeframes. Shorter the timeframe, the longer the input period is preferable.
Pinbar trailing stop strategyThe strategy finds the nearest pinbar pattern and opens a position (long or short). You choose your take profit and stop loss multiplier.
Take Profit - X times the pinbar size from it's highest point.
Stop loss - X times the pinbar size from it's lowest point.
You can find more detailed screenshots and the source-code on my github page: samgozman/pinbar-strategy-tradingview
Swing Indicator (2 bars before, 1 bar after)This swing indicator is created to mark swing high and low followed by the condition of Bravo Trade Academy.
Conditions for being a Swing High
- The high price of swing high bar has to be higher than the high price of 2 bars before and 1 bar after
Conditions for being a Swing Low
- The low price of swing low bar has to be lower than the low price of 2 bars before and 1 bar after
=========================================================================
Swing Indicator นี้สร้างขึ้นเพื่อช่วยในการมาร์ค Swing High และ Swing Low ตามเงื่อนไขการเป็น Swing หน้า 2 หลัง 1 ของ Bravo Trade Academy
เงื่อนไขการเป็น Swing High
- ราคา High ของแท่งที่เป็น Swing High จะต้องสูงกว่าราคา High ของแท่งก่อนหน้า 2 แท่ง และแท่งหลัง 1 แท่ง
เงื่อนไขการเป็น Swing Low
- ราคา Low ของแท่งที่เป็น Swing Low จะต้องต่ำกว่าราคา Low ของแท่งก่อนหน้า 2 แท่ง และแท่งหลัง 1 แท่ง
Liquidity Heatmap LTF [LuxAlgo]This indicator displays column heatmaps highlighting candle bodies with the highest associated volume from a lower user selected timeframe.
Settings
LTF Timeframe: Lower timeframe used to retrieve the closing/opening price and volume data. Must be lower than the current chart timeframe.
Other settings control the style of the displayed graphical elements.
Usage
It can be of interest to show which candles from a lower timeframe had the highest associated volume, this allows for the highlighting of areas where a candle body was the most traded by market participants.
The area with the highest activity is highlighted in the script with a yellow color (or another user selected color) and additionally by two lines forming an interval.
When the candle body with the highest volume is overlapped by a candle body with lower volume this one will be highlighted instead, hence why certain areas of high activity might not be highlighted by the heatmap.
It is recommended to hide regular candles or use a more discrete graphical presentation of prices when using this tool. Lines are also displayed to highlight the full candle range as well as if a candle was bullish (in green) or bearish (in red). These lines can be hidden if the user is only interested in the heatmap.
Volume Impulse & Candlestick Patterns - FontiramisuIndicator showing volume impulse & engulfing candlestick pattern.
You can set up multiple parameter for both events.
Volume Impulse :
Volume Period : Lenght of the average volume calculated.
Volume Multiplier : Factor to compare actual volume with average volume.
Engulfing Pattern :
VS avg body : Let you chose to compare body candle to average body of the last few candles (define with parameter : lenghtSizeAvgBody ), otherwise it will be compared to the last body candle.
Engulfing Multiplier : Factor to compare and validate the pattern.
Big Moves IndicatorThis indicator marks big candles (major moves in percentage) on the chart and, more importantly, you will be able to add an alert to them.
Indicator checks if the height (high - low) of last closed candle is bigger than the specified percent of the close of its previous. No matter if the last candle is red or green, the indicator compares the move amount with the previous close. Accordingly, seeing a mark above or below a candle means that there is a large movement in it compared to its previous candles.
Default percentage is 5 but you can change it as you with in the settings and I want to underline that the indicator ignores the non-closed candle at the moment.
CANDLE FILTER Todays scripts is based on my Pullback And Rally Candles with other meaningful candles such as Hammers and Dojis.
You can choose which Candles to show on the cart and if you want to candles to appear above or below a moving average.
If you follow my work, you may recognise some of these candles which I'm about to show you however these candles are 1) more refined and 2) has moving average filters.
Ive included a D,6H,1H Candle in this script as on different timeframes - each swing low on average has a different amount of bars within the swing low / swing high so the DPB and RD will only work on the Daily
//Pullback candle
This candle is very powerful when used with simple Price Action such as Market Structure//Demand zones and support zones. (((((WORKS BEST IN UPTRENDS AND BOTTOM OF RANGES)))))
Ive included a D,6H,1H Pullback Candle in this script as on different timeframes - each swing low on average has a different amount of bars within the swing low so the DPB will only work on the Daily
//DAILY PULLBACK (Swing Traders)
snapshot
//4H PULLBACK (Swing Traders)
snapshot
- this signal will produce more signals due to the swing low filter on the 4H
//1H PULLBACK
snapshot
- this signal has been refined due to too many candle displaying in weak areas
!!!IF YOU DONT WANT TO USE PULLBACKS DURING DOWNTRENDS THEN USE THE EMA FILTER TO TURN OFF THE PULLBACKS WHEN PRICE IS BELOW THE MOVING AVERAGE!!!
//Rally candle (My personal Favourite) (((((WORKS BEST IN DOWNTRENDS AND TOP OF RANGES)))))
This candle is very powerful when used with simple Price Action such as Market Structure//Supply zones and Resistance zones.
//DAILY RALLY(Swing Traders)
snapshot
//4H RALLY(Swing Traders)
snapshot
- this signal will produce more signals due to the swing high filter on the 4H
!!!IF YOU DONT WANT TO USE RALLIES DURING UPTRENDSTHEN USE THE EMA FILTER TO TURN OFF THE RALLIES WHEN PRICE IS ABOVE THE MOVING AVERAGE!!!
//POWERFUL DOJIS (INDECISION)
snapshot
We look for indecision in key areas to see if momentum is shifting. When combined with Pullbacks or Rallys - this will enhance the odds of a probably area.
//HAMMERS
snapshot
//MOVING AVERAGES
snapshot
Short EMA = 50
Long EMA = 200
This filter can be used when the market is trending - look out for rejections off the moving averages
Also you can chance the Short And Long EMA to choose which MA cross you want to use
snapshot
ALSO ALL THE CANDLES HAVE A ALERT CONDITIONS WHICH YOU CAN ACCESS - THIS WILL ALERT ANY CANDLE YOU CHOOSE
Please leave a like/comment on this post as this is much appreciated....
Inside Bar FinderInside bars occur when the range of a candlestick falls entirely within the previous candlestick's range. This indicates volatility contraction which often leads to volatility expansion, i.e. large price movements.
This indicator includes options such as:
- The number of consecutive inside bars required to trigger the indicator
- Signal lines to indicate the high and low of the outermost or innermost bars
Try out this indicator with different options on different timeframes to see if inside bars increase the probability of identifying the direction of price movements. Breaks or closes outside the inside or outside signal lines can be used to trigger trade signals.
Triangle lineHello all ..
Triangles are similar to wedges and pennants and can be either a continuation pattern, if validated, or a powerful reversal pattern, in the event of failure.
Consecutive positive/negative candlesConsecutive positive/negative candles
Shows the consecutive negative or positive candles
Leg/Base & GAP CandlesThis script, redraws the Minute, Hourly, Daily, Weekly, Monthly candles for gap up and gap down situation. Also this candle marks the LEG candles and BASE Candles with different colors to mark the supply and demand zone.
This script is only for Indian NSE markets (09:15 to 15:30) for GAP up/GAP down redraw.
This script is most beneficial for TradeLegend students.
This script is originally made by me, and no code has been modified or copied from anywhere else except Pinescript documentation.
Inverted Hammer - Extended OptionsThis inverted hammer indicator has several options that help identify instances with a higher probability of success.
For example, inverted hammers may have a higher success rate when they:
- Breaks the previous day's high
- Close higher than the previous close
- Have a large upper wick
- Have a small lower wick
etc.
Play with the options on your chart of choice to see which options are more likely to indicate bottoms.
HTF Candle Close EpidcoThis draws a label to alert user when a higher timeframe candle closes on a intraday chart.
Purpose of it is so that people who mainly use lower timeframe charts do not forget to look at higher timeframe candle closes.
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.
Rally Candle (End Game ) 26/04/2022 Few Months ago I started wanted to code a candle which alerts me when a Rally may be over in Bearish Conditions and today I have created a candle which is 1. subjective but more importantly appears in areas where buying pressure is at either a climax or in the process of a decline and this is where the Rally Candle signals. This shows momentum may be shifting and these can provide some good entries.
They will only working when price is below the 200ema and in overextended markets - VERY IMPORTANT!!!
Works on all timeframe with HTF providing more price percentage than LTF
They aren’t a specific candle size however they will repaint when we see 4 higher close candles followed by a candle which has closed lower than the previous 4th.
//Candle Conditions
This candle has to be in a swing high area to be valid and on 1H and 6H but the 1H will repaint a lot of candles so when we have a point system of +20 we can assume this setup is a good setup.
//Candle Operators
You can change the color of the bar to your liking
There is a ema filter so if you want to candle to not show candles of the 50ema this operator will do the command.
Please post requests and any potential implementations I could port to pine script.
Hope you Enjoy :)
Morningstar Equity Style Box HeatmapStyle boxes are a classification scheme created by Morningstar. They visually provide a graphical representation of investing categories for equity investments. A style box is a valuable tool for investors to use when determining asset allocation.
There are 9 categories:
Large Value, Large Blend, Large Growth
Medium Value, Medium Blend, Medium Growth
Small Value, Small Blend, Small Growth
The strength of the 9 categories are found by using 9 Vanguard ETF's that follow the respective CRSP index of their category.
Heikin Multi Time Frame// How it Works \\
This script calculates the open and close prices of Heikin Ashi candles across multiple timeframes,
If the candle formed on that timeframe is green it will display in the table a green square, If the candle is red, the square will display red.
// Settings \\
You can change the colours of the plots
You can also Change any of the timeframes which the Heikin Ashi candles are being calculated on
// Use Case \\
Heikin Ashi candles are often used to give a smoother trend direction and help cancel out some of the noice/consolidation.
It can also be use as trend detection for multiple timeframes at once
/ / Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the scrip please just tag me as I am interested to see how people are using it. Good Luck!
Bollinger Band with Moving Average & Pin BarsThis indicator was specifically built to be used for trading the Scalpius Trading System promoted by @scottphillipstrading. Additionally I've added Daily and Weekly Highs, Lows and Central Pivot lines
The central indicators used in the Scalpius trading system which are included here are: The Bollinger Band, chart plotting of Pin Bars (Hammers & Shooting Stars) and an Exponential Moving Average.
In the settings the user has the option select EMA, SMA or WMA along with desired length, the default settings are 8EMA as per the Scalpius system rules. Also the Bollinger Band settings can be amended by the user and the Pin Bar chart plots and daily + weekly high and low plots can be removed by the user.