Candlestick Patterns indicator V1 This indicator detects 4 candlestick patterns on the chart with confluences of EMA and market trend.
The indicator first considers the body percentages for candles and then checks the conditions for the formation of candlestick patterns.
This indicator detects the following patterns.
Pinbar
Morning & Evening Doji star
Engulfing Pattern
Tweezer Pattern
Let's talk about how the indicator detects these patterns.
Pinbar:
For Pinbar, the indicator takes the following inputs for body analysis.
Body above or below %: Using this parameter, the indicator looks for pin bar formation in which the candle's body is at specifying distance form the high or low of the candles.
Body Upper Limit: This specifies the maximum size for the body of pinbar relative to its total range.
Body Lower Limit: This specifies the minimum size for the body of pinbar relative to its total range.
Engulfing Candle:
For Engulfing Candle, the indicator takes the following inputs for body analysis.
Body Percentage of Big Candle: This specifies the size of the body of a bigger candle or the latest candle
Body Percentage of Small Candle: This specifies the size of the body for small candle that is being engulfed.
Tweezer Candle:
For Tweezer Candle, the indicator takes the following inputs for body analysis.
At what percentage should the second candle close: This specifies the close of the latest candle relative to the first candle
Body Percentage of First Candle: This specifies the size of the body of first or former candle
Body Percentage of Second Candle: This specifies the size of the body for the second or latest candle
Doji Star Candle:
For Doji Star Candle, the indicator takes the following inputs for body analysis.
Body Percentage of First Candle: This specifies the size of the body of the first candle
Body Percentage of Second Candle: This specifies the size of the body of the Second or middle candle
Body Percentage of Third Candle: This specifies the size of the body for the Third or latest candle
At what percentage should the last candle close: This specifies the close of the latest candle relative to the first candle
Also, for each candlestick, there is an option to show or hide the label and change the colour of the labels
Patterns
Elliott Wave Theory [Alerts]This indicator may be one of the first to provide signals & alerts for the Elliott Wave Theory Pattern. Unfortunately, there are few, if any, indicators that are public which allow the Elliott Wave Theory to be plotted+with alerts.
Because this is experimental, I'm going to offer access to it free of charge. Send me a direct message requesting access.
Elliott Wave Theory is a complex chart pattern to learn, and even harder to master. It requires being able to identify the wave lengths of price history and using various tools to plot and assess the price structure in order to find the wave counts. Whilst there are many ways to compute the waves apart of the pattern, there is no universal method that everyone would agree upon. For this indicator, I am using the traditional method.
The different colors represent different cycle types. Using it on a higher timeframe is strongly encouraged for best results.
This version currently provides alerts for the final wave, wave 5. I WILL BE ADDING MORE TO THIS INDICATOR SHORTLY, SEE BELOW:
-Will be adding the other counts to display all the waves
-Will be adding 'correction wave' alerts
-Will be adding 'inverse' pattern alerts
-Will be improving the the labels to include their cycle type
This is not a buy & sell indicator.. This is a TOOL to help analyze the market using Elliott Wave Theory.
The indicator should be used for the following:
-Aiding with EWT analysis
-Helping find potential exit points
-Assist with learning EWT by using this as a template
-Timing trades and improving risk management
-Plotting the overall market
High Accuracy Tops/BottomsThis script may be TradingView's most accurate tops & bottoms indicator ever published.
Since it's experimental, I'm going to offer access to it free of charge. Send me a direct message requesting access.
5 years ago I joined TradingView and began studying price and the factors behind what causes bottoms and tops to form as well as how to find them. Fascinated by it, I spent years researching and discovered lot of different concepts that play an instrumental role with tops and bottoms: Market structure, price reactions, S/R , and much more. Through tons of experimenting, I ended up discovering a variety of NEW methods of identifying tops & bottoms. Through the years I've built up a script that has enabled the process for identifying tops and bottoms within the market to be much more convenient.
This is currently experimental and still has a lot of potential for improvement. The objective of the indicator is to help identify absolute tops and bottoms, and so far it does a great job whenever it provides a signal. It works for practically all types of securities, and surprisingly, even if they are in illiquid markets.
This indicator does NOT repaint whatsoever.
Below are a few examples of it across different security types as well as different timeframes:
Bitcoin
Gamestop (GME)
Luna / TetherUS
Crude Oil (Commodities)
Even spanning back centuries:
The indicator should be used for the following:
-Helping find potential entry points
-Timing trades and improving risk management
-Assisting with plotting top/bottom support and resistance levels
-For higher timeframes, use in conjunction with market news or global headlines
-For lower timeframes, use in conjunction with other indicators/trading tools
This is not a buy & sell indicator.. This is a TOOL to help identify accurate entry points and craft decisions based upon it.
Soon, I will be providing an updated version of it. It will include explicit details surrounding how it works and it's functions. My aim is to provide some level of value to the TradingView community in return for the great insight Tradingview and other platforms have insighted me with over price action.
Fractal Basic Chart Patterns [MyTradingCoder]This script is something that I made a long time ago in my early days of learning Pine. It is not in development anymore but has some unique and impressive utility that will help the community. This script will fractally identify chart patterns(iH&S,H&S,W,M) on any chart and timeframe. Most scripts have limitations that make the user have to adjust various parameters to get the desired result to show up on the chart. Lower input values may show smaller patterns, whereas vise versa, higher input values may show larger patterns, but you never seem to get the best of both worlds with these types of scripts. Some users may appreciate the vast majority of input parameters that most scripts provide, but others like myself may find it restrictive and annoying, as you wont get large patterns AND small patterns simultaneously.
All details needed to understand how to use the script are listed below. I will be creating new and well written scripts in the near future moving forward to help the community as best as I can, and just wanted to make it clear that this particular script is just something that I had on the backburner from a very long time ago, before I was a "Pinescript Maven" :) Enjoy!
Available Patterns:
- W Pattern
- M Pattern
- Head and Shoulders Pattern
- Inverse Head and Shoulder Pattern
Customizable inputs:
- Option to specify minimum bars required to consider a pattern.(Can be helpful if you don't want to see lower timeframe patterns, as some may not look like patterns, but if you drop the timeframe and go to the same time, there will be a pattern there on a lower scale)
- Boolean Inputs to Enable/Disable Certain Patterns
Available Alert Options:
- W Pattern Alert
- M Pattern Alert
- H&S Pattern Alert
- iH&S Pattern Alert
User Manual:
- Patterns will be drawn/detected/finalized on the bar close when the neckline is broken
- Green/Red lines represent the historical structure used to identify each pattern
- Blue dashed lines represent the projected price action based on the pattern completing
- Alerts/Indicator will not repaint(Can use 'once per bar' or 'once per bar close' and behavior will be identical. Code is optimized.)
- May have trouble on assets with daily/weekend time gaps with the projected price action dashed line due to time being used as the xloc. If this becomes a problem, leave a comment below and I will consider bringing this back into development and convert to bar_index as xloc to fix the issue.
- Patterns can be all shapes and sizes, hence the beauty of this indicator
- Leave a comment below for any questions or requests and give the indicator a like if you find it useful
Fibonacci Timing PatternThe Fibonacci Timing Pattern is a price-based counter that seeks to determine short-term and medium-term reversals in price action. It is based on the following set of conditions:
* For a bullish Fibonacci timing signal: The market must shape 8 consecutive close prices where each close price is lower than the close prices from 3 and 5 periods ago.
* For a bearish Fibonacci timing signal: The market must shape 8 consecutive close prices where each close price is higher than the close prices from 3 and 5 periods ago.
The signals of the pattern are ideally used in a sideways market or used in tandem with the trend (bullish signals are taken in a bullish market and bearish signals are taken in a bearish market).
Head and Shoulders - Quasimodo etc Pattern Recognition RENKODisclaimer: Only use this pattern recognition on a RENKO chart. Renko charts plot different than traditional candles and therefore do not represent all price moves. There is a possibility of repainting while using ATR based renko charts so past results are not a 100% accurate representation of future results. Use this indicator as a part of your strategy and not as your only means of obtaining gains in the market.
Hello traders, it has been said time and time again that algorithmic software is unable to identify complex market structure like head and shoulders, quasimodo, triangle patterns and other methods humans use to base their trading decisions on. With this indicator I intend to completely crush that assumption and prove that it actualy is possible. Ofcourse an indicator is less likely to find all variation on a chart pattern and a human is probably still your best bet in finding these patterns early.
That is wy this indicator does not only use textbook patterns and has 7 variation on head and shoulders build into it. I will keep updating this indicator if I see it missed some crucial patterns. Right now it has a total of 38 patterns build into it with them being grouped under specific names. Feel free to turn off any pattern you do not like to see.
Renko patterns solve the problem of time and chaos in the markets which have been the biggest hurdle in pattern recognition software as the amount of variations to account for is just too great a number. With this script using renko it will soon be able to identify any pattern in the market and I plan to add Wyckoff to it in the future, right now I have a beta version of Wyckoff build into it but planning to add better version of it in the future. The amount of variations on Wyckoff is quite extreme so it will take a very long time to get an optimised Wyckoff identification system.
If you do not want to miss patterns I recommend to use a multi chart aproach so that you can find patterns in multiple renko brick sizes at the same time to find more entrys.
Feel free to comment any pattern you want me to add and let's make the most dedicated pattern recognition software on this platform.
Regards
HonestCowboy
Naked Bar Upward ReversalAMEX:SPY
The Naked Bar Upward Reversal is a three bar candlestick pattern with an inside candle as a entry point. This pattern is bullish since it has a candle closing red from the previous candle; the most bearish pattern possible. The following inside candle is a reversal of its previous candle with an open above the previous candle's close. Look to buy the next open above the inside candle's close.
This is a bullish reversal pattern and should be used in this context. Successful entries are found in corrections along an upward trend, or buying into a dip. Performance drops when the pattern appears at tops. To improve profitability, use a cluster of evidence to enhance the performance of this pattern. The intended time frame is within the daily and weekly.
Harmonic Pattern Detection [LuxAlgo]Harmonic patterns make up a major part of the many patterns traders use to make investment decisions. The following tool aims to automatically categorize which XABCD harmonic pattern is highlighted by the user and to alert when the price reaches the PRZ or D point.
The tool can categorize Bat, Gartley, Butterfly, and Crab patterns.
Settings
XA Precision: The Gartley and Butterfly patterns require precise ratios for the XA segment, this setting allows giving some headroom for the detection of these patterns. For example, the Gartley pattern requires a ratio for the XA segment of 0.618, using an XA precision of 0.01 will allow the segment to be considered correct if above 0.608 and under 0.628.
Bullish: Color of a bullish pattern
Bearish: Color of a bearish pattern
The X, A, B, C, D settings determine the location of the harmonic pattern vertices. The user does not need to change them from the settings, instead only requiring adjusting their location on the chart like with a regular drawing tool. Setting these vertices is required when adding the indicator to your chart.
Usage
Upon setting the harmonic pattern vertices, the segments, as well as each ratio and PRZ, will be displayed. A dashboard in the top right displays which harmonic pattern has been detected.
Detected bearish crab pattern on BTCUSD15.
Bullish butterfly pattern on MATICUSD15. It is important not to use an XA precision value that would return overlapping ranges between the Gartley/Harmonic and other patterns. Using the default value is recommended.
The upper limit of the PRZ is determined as vertex D plus 38.2% of segment DX, while the lower limit is the vertex D minus 38.2% of segment DX. Various methods exist for the determination of the PRZ, this one is general but the user can use one proper to the detected harmonic pattern.
Finally hovering on the label highlighting the segment ratios return the proper ratio used by each harmonic pattern for that precise segment.
Harmonic Scanner ProHarmonic Scanner Pro is a more advanced version of the standard Harmonic Scanner . It lets you customize almost every parameter, check for harmonic patterns much further in the past, and detect multiple patterns at once. It's a great tool to see how specific security reacts to harmonic patterns (some stocks are a textbook example of harmonic patterns , others - not really).
Some of it's features:
You can check an unlimited number of the high/low points (the free version only checks the last 5 points). Use the "Number of points to check" option to configure how many points to check.
Configurable error tolerance - you can set how many % the detected formation can differ from the "ideal" formation. (the free version uses the hardcoded 5% value)
Formations displayed on top of each other can be moved using the "Move chart" option. When two or more formations share the same points on the chart, only the topmost is visible. With the "move chart" option enabled (it's enabled by default), we move all those points up/down a bit to make all the lines nicely visible and easy to follow
Each formation uses different color on the chart, so it's easier to follow them
You can change the width of the ZigZag and formation lines
Detects the Gartley , Butterfly , Bat, Alternate Bat , Crab , Deep Crab , and Cypher .
Important: Checking for more than 200 points and displaying the ZigZag pattern + "No formation" labels at the same time might make the script too slow to render and result in a "Script error". When that happens, disable the ZigZag /"No formation" labels or decrease the number of points to check.
To get 7 days of free access to the script, just leave a comment.
Works for different types of commodities:
Works for different intervals:
Some securities work better than others with harmonic patterns:
All Candlestick Patterns - ExportThis is a copy of the built-in All Candlestick Patterns indicator, but with an additional plot for each indicator to support exporting. When exporting, each candlestick pattern will have its own column, with a 1 indicating the candlestick pattern was detected, and 0 indicating it wasn't. The plots are all overlaid, so are they are not useful for viewing, they are only used to generate values to export. This indicator also does not include alerts, so the built-in indicator should be used for everything except exporting.
[TS] S/R TweezersThe Tweezers pattern is a minor trend reversal pattern that consists of two candlesticks with more or less the same high or the same low or some variation thereof. The user can adjust this variation by changing the 'Tweezer Wick Percentage' input.
The Tweezers Bottom pattern generally appears in a downtrend with the first candlestick being a bearish candlestick, followed by a bullish candlestick.
The Tweezers Top pattern generally appears in an uptrend. The first candlestick in this pattern is a bullish candlestick followed by a bearish candlestick.
To further confirm the trend reversal, we've added an Engulfing filter. If this option is enabled, the indicator will only show Tweezer signals that also engulf the previous 1 or 2 candles.
We've also included a S/R Lookback Filter that will search for previous Support/Resistance Zones and only display those Tweezers that are within those zones. The candle lookback period is fully adjustable.
The Support/Resistance zones are based on Swing Points, which length can be adjusted by the user.
The user can also change the width of the S/R zones, by adjusting the input 'S/R Zone ATR Multiplier'
GreenCrypto Swing Trade Indicator - GC02Overview: This is a swing trading Indictor works using support & resistance and market trend, it is designed for all type of markets (crypto, forex, stock etc.) and works on all commonly used timeframes (preferably on 1H, 4H Candles).
How it works:
Core logic behind this indicator is to finding the Support and Resistance, we find the Lower High (LH) and Higher Low (HL) to find the from where the price reversed(bounced back) and also we use a custom logic for figuring out the peak price in the last few candles (based on the input "Strength" ). Based on the multiple previous Support and Resistance (HH, HL, LL LH) we calculate a price level, this price level is used a major a factor for entering the trade. Once we have the price level we check if the current price crosses that price level, if it crossed then we consider that as a long/short entry (based on whether it crosses resistance or support line that we calculated). Once we have pre long/short signals we further filter it based on the market trend to prevent too early/late signals, this trend is calculated based on the value from the input field "Factor". Along with this if we don't see a clear trend we do the filtering by checking how many support or resistance level the price has bounced off.
Stop Loss and Take Profit : We have also added printing SL and TP levels on the chart to make the it easier for everyone to find the SL/TP values. Script calculates the SL value by checking the previous support level for LONG trade and previous resistance level for SHORT trades. Take profit are calculated in 1:1 ratio as of now.
Available Inputs:
Strength : Define the strength of the support resistance that we calculate. The lower value means less number of candles used for calculating the support & resistance and vice versa
Factor : Specify what level of trend to use. Using higher value will result script looking using the larger trend (zoomed out trend) and using lesser value will result in using the short trends
Note: For most of the charts you don’t need to change the default values. However, feel free to try it out.
How to use:
Add the script to the chart and once the indicator is load it will display the "long" and "short" entry points along with the stopLoss and takeProfit points.
How to get access:
Send a DM to us for getting access to the script.
Harmonic ScannerThis script detects harmonic formations: Gartley, Bat, Butterfly, and Crab.
Unlike the other harmonic scanners, it analyzes more than the last five consecutive points. It checks up to 50 last high/low points and tries to find a pattern there. It also labels point D with information on what type of formation it is and if it's a signal to sell or buy.
The default error margin for each formation is 5% (so each point can be up to 5% different than the ideal value defined in the books).
I don't have enough reputation for linking other charts, but check it out with BATS:V (Visa) and BATS:JPM (JPMorgan Chase) to see more formations.
Harmonic PatternsHello Traders,
This is Harmonic Pattern script . I made this script long time ago and now pubished it for the community. it can find & show following patterns:
- Gartley
- Butterfly
- Bat
- Alternate Bat
- Crab
- Deep Crab
- Shark
- Cypher
- Double Top
- Double Bottom
- ABCD
only ABCD patterns is not enabled by default, you can enable if you want.
The script has many features in it, so you have many options. lets see them
ZigZag Period : is the period for zig zag that is used to find harmonic patterns.
Error Rate % : the patterns may not be perfect and we need to use a threshold. with this option you can set error rate
Deep Search: if you enable this option then the script check combination with old zigzag points. an example is under the explanation part
Pattern Prediction : if you set this option then while price is moving the script checks the possible next patterns that can be possible (shows first possible one). an example is under the explanation part
Show ZigZag: you have option to see zigzag
Show Pattern Names: you have option to see Pattern names
Remove Old Pattern Names : old found patterns can stay on the chart or you have option to delete from the chart by this option
Show Harmonics: you have option to show patterns
Show Targets: you have option to see the target and stop-loss level by each harmonic
Show Statistics: you can see the statictics about harmonic patterns on current chart
Show Full Statistics: you can see the statictics about harmonic patterns on current chart in details
"Stop-loss ATR Len" and "Stop-loss ATR Mult" is used to calculate stop-loss levels
and many options for visualization and alerts...
The scripts works dynamically in real time, it means it may find different patterns on each candles. if it finds a new one in same direction then old one becomes invalid, you should check the last one.
Lets see some examples:
it changes the colors if price reached the target or stop-loss. blue => reached target, black => stop-loss, and if color was not changed it means it found another harmonic pattern.
if it finds a harmonic pattern then it show entrty level, cancelation level of the pattern, target 1 and target 2
and if price reaches entrty level then it shows targets and stop-loss levels
as written above, t has ability to predict patterns if you enable this option:
Deep search is used to find patterns by some old zigzag levels as seen in following screenshot:
it can show full statistics if you enable it in the options:
The source code is hidden but it's free script. so like it/favorite this script, apply it to your chart and start using it ;)
Special thanks to my friend @gornidah who helped while developing the script!
Enjoy!
[TrustedSignals] Doji ScalperTrustedSignals Dojji Scalper is our most basic trading algorithm. It is based on Candle Patterns that show potential market reversal points.
The script has 3 different types of signals, which can be individually turned on and off:
- Doji signals, based entirely on the Doji candle pattern and 2 Strong and Weak candle reversal patters
As a bonus, we have included RSI based Support and Resistance bands that, if used correctly can further confirm all the entry signals
All chart signals can be set up as live alerts!
Fractal Trend Trading System [DW]This is an advanced utility that uses fractal dimension and trend information to generate useful insights about price activity and potential trade signals.
In this script, my Advanced FDI algorithm is used to estimate the fractal dimension of the dataset over a user defined period.
Fractal dimension, unlike spatial or topological dimension, measures how complexity or detail in an "object" changes as its unit of measurement changes, rather than the number of axes it occupies.
Many forms of time series data (seismic data, ECG data, financial data, etc.) have been theoretically shown to have limited fractal properties.
Consequently, we can estimate the fractal dimension from this data to get an approximate measure of how rough or convoluted the data stream is.
Financial data's fractal dimension is limited to between 1 and 2, so it can also be used to roughly approximate the Hurst Exponent by the relationship H = 2 - D.
When D=1.5, data statistically behaves like a random walk. D above 1.5 can be considered more rough or "mean reverting" due to the increase in complexity of the series.
D below 1.5 can be considered more prone to trending due to the decrease in complexity of the series.
In this script, you are given the option to apply my Band Shelf EQ algorithm to the dataset before estimating dimension.
This enables you to transform your data and observe how its newly measured complexity changes the outputs.
Whether you want to give emphasis to some frequencies, isolate specific bands, or completely alter the shape of your waveform, EQ filtration makes for an interesting experience.
The default EQ preset in this script removes the low shelf, then attenuates low end and high end oscillations.
The dominant cyclical components (bands 3 - 5 on default settings) are passed at 100%, keeping emphasis on 8 to 64 sample per cycle oscillations.
The estimated dimension is then used to calculate the High Dimension Zone and the Error Bands.
Both of these components are great for analyzing trends and for estimating support and resistance values.
The High Dimension Zone is composed of a high line, low line, and midline that update their values when D is at or above the user defined zone activation threshold.
The zone is then averaged over a user defined amount of updates and zone width is multiplied by a user defined value.
The Error Bands are composed of a high, low, and middle band that are calculated using an error adjusted adaptive filter algorithm that utilizes dimension as the smoothing constant modulator.
The basis filter for the error bands has two calculation types built in:
-> MA - Calculates the filters as adaptive moving averages modulated by D.
-> WAP - Calculates the filters as adaptive weighted average prices modulated by D.
The WAP starting point can be based on the High Dimension Zone being moved or a user defined interval.
You can also define the WAP's minimum and maximum periods for additional control of the initial and decayed sensitivity states.
The alpha (smoothing constant) modulator can be fine tuned using the designated dimension thresholds.
When D is at or below the low dimension threshold, the filter is most responsive, and vice-versa for the high dimension threshold.
Alpha is then multiplied by a user defined amount for additional control of sensitivity.
Band width is then multiplied by a user defined value.
A Hull transformation can be optionally performed on the zone averaging and band filter algorithms as well, which will alter the frequency and phase responses at the cost of some overshoot.
This transformation is the same as a typical Hull equation, but with custom filters being used instead of WMA.
The calculated outputs are then used to gauge the trend for signal and color scheme calculations.
First, a dominant trend indication is selected from its designated dropdown tab.
The available built in indications to choose from are:
-> Band Trend (Outer) - Detects band breakouts and saves their direction to gauge trend.
-> Band Trend (Median) - Uses disparity between source and the band median to gauge trend.
-> Zone Trend (Expansion) - Detects when the high fractal zone expands and saves its direction to gauge trend.
-> Zone Trend (Outer Levels) - Detects zone breakouts and saves their direction to gauge trend.
-> Zone Trend (Median) - Uses disparity between source and the zone median to gauge trend.
Then the trend output is optionally filtered before triggering signals.
There are multiple trend filtration options built into this script that can be used individually or in unison:
-> Filter Trend With High Fractal Zone - Filters the trend using the specified zone level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Error Bands - Filters the trend using the specified band level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Band - Zone Disparity Condition - Filters the trend using the specified band level, zone level, and disparity direction.
There is a set of options for bullish and bearish trends.
-> Filter By Zone That Moves With The Trend - Filters the specified trend by detecting when the high fractal zone’s direction correlates.
-> Filter By Bands That Move With The Trend - Filters the specified trend by detecting when the error bands’ direction correlates.
-> Filter Using Wave Confirmation - Filters the specified trend by detecting when source is in a correlating wave with user defined length.
You can also choose separate lengths for bullish and bearish trends.
-> Filter By Bars With Decreasing Dimension - Filters the specified trend by detecting when fractal dimension is decreasing, suggesting source is approaching more linear movement.
The filtered trend output is then used to generate entry and exit signals.
There are multiple options included to fine tune how these signals behave.
For entries, you have the following options built in:
-> Limit Entry Dimension - Limits the range of dimensional values that are acceptable for entry with user defined thresholds.
This can be incredibly useful for filtering out entries taken when price is moving in a more complex pattern,
or when price is approaching a peak and you’re a little late to the party.
-> Enable Position Increase Signals - Enables more entry signals to fire up to a user defined number of times when a position is active.
This is helpful for those who incrementally increase their positions, or for those who want to see additional signals as reference.
-> Limit Number Of Consecutive Trades - Limits the number of consecutive trades that can be opened in a single direction to a user defined maximum.
This is especially useful for markets that only trend for brief durations.
By limiting the amount of trades you take in one direction, you have more control over your market exposure.
There is a set of these options for both bullish and bearish entries.
For exits, you have the following options built in:
-> Include Exit Signals From High Fractal Zone - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Exit Signals From Error Bands - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Inactive Trend Output For Exits - Triggers exit signals when the filtered trend output is an inactive value.
-> Dimension Target Exit Method - Triggers exit signals based on fractal dimension hitting a user defined threshold.
You can either choose for the exit to trigger instantly, or after dimension reverts from the target by a user specified amount.
-> Exit At Maximum Entry Dimension - Triggers exit signals when dimension exceeds the maximum entry limit.
-> Number Of Signals Required For 100% Exit - Controls the number of exit signals required to close the position.
You can also choose whether or not to include partial exits.
Enabling them will fire a partial signal when an exit occurs, but the position is not 100% closed.
Of course, there is a set of these options for bullish and bearish exits.
In my opinion, no system is complete without some sort of risk management protocol in place.
So in this script, bullish and bearish trades come equipped with optional protective SL and TP levels with signals.
The levels can be fixed or trailing, and are calculated with a user defined scale.
The available scales for SL and TP distances are ticks, pips, points, % of price, ATR, band range, zone range, or absolute numerical value.
Now what if you have some awesome signals of your own that you’d like to use in conjunction with this script?
Well good news. You can!
In addition to all of the customizable features built into the script, you can integrate your own signals into the system using the external data inputs and linking your script.
This adds a whole new layer of customization to the system.
With external signals, you can use your own custom dominant trend indication, filter the dominant trend, and trigger exits and protective stops using custom signals.
The signal input is an integer format. 1=Bull Signal, -1=Bear Signal, 2=Bull Exit, -2=Bear Exit, 3=Bull SL Hit, -3=Bear SL Hit, 4=Bull TP Hit, -4=Bear TP Hit.
You can also use the external input as a custom source value for either dimension or global sources to further tailor the system to your liking.
The color scheme in this script utilizes two custom gradients that can be chosen for bar and background colors:
-> Trend (Dominant or Filtered) - A polarized gradient that shows green scaled values for bullish trend and red scaled values for bearish trend.
The colors are brighter and more vibrant as perceived trend strength increases.
-> Dimension - A thermal gradient that shows cooler colors when dimension is higher, and hotter colors when dimension is lower.
Both color schemes are dependent on the designated dimension thresholds.
The script comes equipped with alerts for entries, additional entries, exits, partial exits, and protective stops so you can automate more and stare at your charts less.
And lastly, the script comes equipped with additional external outputs to further your analysis:
-> Entry And Exit Signals - Outputs in the same format as the external signal input with these additions: 5=Bull Increase, -5=Bear Increase, 6=Bull Reduce, -6=Bear Reduce.
You can use these to send to other scripts, including strategy types so you can backtest your performance on TV’s engine.
-> Dominant Trend - Outputs 1 for bullish and -1 for bearish. Can be used to send trend signals to another script.
I designed this tool with individuality in mind.
Every trader has a different situation. We trade on different schedules, markets, perspectives, etc.
Analytical systems of basically any type are very seldom (if ever) “one size fits all” and usually require a fair amount of modification to achieve desirable results.
That’s why this system is so freely customizable.
Your system should be flexible enough to be tailored to your analytical style, not the other way around.
When a system is limited in what you can control, it limits your experience, analytical potential, and possibly even profitability.
This is not your typical pre-set system. If you're looking for just another "buy, sell" script that requires minimal thought, look elsewhere.
If you’re ready to dive into a powerful technical system that allows you to tailor the experience to your style, welcome!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a premium script, and access is granted on an invite-only basis.
To gain access, get a copy of the system overview, or for additional inquiries, send me a direct message.
I look forward to hearing from you!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
General Disclaimer:
Trading stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument has large potential rewards, but also large potential risk.
You must be aware of the risks and be willing to accept them in order to invest in stocks, futures, Forex, options, ETFs or cryptocurrencies.
Don’t trade with money you can’t afford to lose.
This is neither a solicitation nor an offer to Buy/Sell stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument.
No representation is being made that any account will or is likely to achieve profits or losses of any kind.
The past performance of any trading system or methodology is not necessarily indicative of future results.
Candlestick Pattern FinderThis script identifies common candlestick patterns and marks them with a tool-tip on the chart. It is a compilation of Tradingview's built-in candlestick finding scripts so it uses the same rules defined by Tradingview to identify the patterns. Instead of using a separate indicator for each candlestick pattern, you can use this script to find all the candlestick patterns with a single indicator.
By default, the script does not mark any of the detected patterns on the chart. You will have to open the indicator settings and enable the patterns you would like to see on the chart. There are also three tick-boxes that let you to enable/disable all the selected bearish/bullish/neutral patterns at once, i.e. if you would like to only see bearish patterns, you can disable all the bullish and neutral patterns at once with the corresponding tick boxes. When you enable bullish patterns again, the script will show your selection of bullish patterns again on the chart.
When you hover on the tool-tips with your cursor, a short description about the pattern will be displayed.
Candlestick Pattern Detector - Aitch-TThis script detects the following candlestick patterns:
Bullish Patterns:
- Normal 3 Bar Fractal
- Enhanced 3 Bar Fractal
- Engulfing
- Harami ( Inside bar )
- Bullrami (Altenate Bull Harami)
Bearish Patterns:
- Normal 3 Bar Fractal
- Enhanced 3 Bar Fractal
- Engulfing
- Harami ( Inside bar )
- Bearami (Alternate Bear Harami)
- Shooting Star
How it works:
- When you add the script to your chart, green and red dots will appear at the top and the bottom of the chart.
- Red dots at the top of the chart point out the candles that have completed a bearish pattern .
- Green dots at the bottom of the chart point out the candles that have completed a bullish pattern .
How to use:
Use it in conjunction with other analysis tools ( Fibonacci Retracements, Histogram, Willy, RSI , volume , etc) to determine high probability levels.
Candlestick PatternsCandlestick Patterns
- Candlesticks are graphical representations of price movements for a given period of time.
- There are candlestick patterns that try to predict the final direction, caused by pressure between buyers and sellers.
As a general recommendation, use the candlestick patterns in the same direction of the current trend (continuations),
for reverse patterns we must expect the price to be over extended, for example,
that it is the highest or lowest value of (20-50) periods,
or that the RSI is overbought or oversold (14-50),
or that the price is far from its standard deviation.
- This indicator allows you to view more than 20 different patterns, some of them:
Doji
Engulfing
Hammer
Shooting Star
Inverted Hammer
Hanging Man
Morning Star
Evening Star
etc...
- The indicator allows displaying the full name of the pattern
- It allows you to view the labels at the top of the chart, to avoid this affecting the technical analysis
S&R Zone SignalsThis indicator allows you to specify price zones in which to detect basic candlestick patterns.
In the example above, I have specified the most immediate support and resistance zones on GBP/USD and set the script to detect engulfing candles. If a bearish engulfing candle occurs within the resistance zone a signal will be generated; likewise for bullish engulfing candles within the support zone .
The purpose of this indicator is to generate trading alerts when these patterns occur in order to reduce the screen-time required to monitor setups. This indicator is intended for structure traders primarily, although it could be used by anyone who uses zones and candlestick patterns to enter trades.
If you leave either zone set to 0 then that zone will not be used, meaning that you can use this to detect both support and resistance signals, or only signals at support, or only signals at resistance.
Settings:
R1: First Resistance Price
R2: Second Resistance Price
S1: First Support Price
S2: Second Support Price
Draw Signals: Enable/Disable Visual Signals
How Far To Look Back: Used For Detecting Fractal Highs/Lows
Doji Size (in pips): This Changes the Size of Detected Doji Candles
Hammer Wick Size: This Changes the Size of Detected Hammers/Shooting Stars
Engulf Wick: If Enabled, Only Engulfing Candles That Engulf the Wick Will Be Valid
Show Engulfing Candles: Enable/Disable Visual Signals For Engulfing Candles
Show Doji Candles: Enable/Disable Visual Signals For Doji Candles
Show Hammer Candles: Enable/Disable Visual Signals For Hammer/Shooting Star Candles
Source Code:
Go to zenandtheartoftrading.com for the source code – it’s free!
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 !