Smart Patterns Lite - Engulf EditionHi Traders! Welcome to Smart Patterns Lite - Engulf Edition
This lite version of Smart Patterns script specifically focuses on different Engulfing Pattern approaches, and tracks their performance and success rate over time.
Key Features
This edition includes TradingView's Engulfing Pattern as well as two custom ones: Engulf (Trend) and Engulfing (Advanced)
When a Pattern reaches the Min. Target % within the Candles Range selected, it is then considered valid. Please remember that doesn't take into account possible draw-downs or stop-losses.
Patterns are constantly evaluated inside the script; when a pattern's overall score (Success Rate %) is below the required minimum, the signal won't be triggered. However, the script will keep monitoring it in the background, and trigger a signal again when its score comes back above the minimum Success Rate.
The Patterns' signals can be filtered by Success Rate, Minimum Patterns detected and candle size (calculated via ATR).
The Data Panel will show individual statistics for Enabled Patterns as well as final statistics for Triggered Patterns.
Tooltips in the settings panel will further explain available options.
Alerts: simple alerts can be added by selecting "any alert() function call" when adding an Alert. Customizable alerts can also be created through dropdown menu ( Bullish \ Bearish Patterns Detected).
Notes and Recommendations
Always be realistic when tweaking settings, making sure the output makes sense in a normal trading environment. Statistics are helpful but shouldn't be the only factor to base your decisions on - even if a pattern reaches 100% Success Rate, it doesn't mean it will keep being profitable.
Since the script crunches quite some data it may give output errors especially if settings are not properly tweaked - or if the filters are too liberal (e.g. Min Target % set to 0.1) - hence triggering lots of signals. Please adjust the settings or enable only the Patterns you are trading.
If the script gives the error "Too many drawings, cannot clean oldest" it means your settings give too many signals and that is usually not a good sign - it's recommended to double-check your settings as mentioned above.
Credits
Trading View for built-in patterns
Special thanks go to PineCoders community for their incredible efforts and learning material to help mastering PineScript!
Candlestick Analysis
Smart PatternsHi Traders, and welcome to Smart Patterns.
Patterns can be very profitable, yet hard to trade, even when combined with other indicators and techniques. This script aims to increase the accuracy of signals by adding a statistical approach to candle patterns, along with tools to filter them.
For example, if the Success Rate is above a certain threshold, it means that the pattern has resulted in a higher ratio of profitable trades and hence it has a higher likelihood of succeeding in the current market conditions. However, should that pattern fall below the desired Success Rate, the script will "hide" it and won't trigger a signal, but still keeping track of its performance to start firing it again when coming back above the Success Rate.
Key Features
The script features custom patterns as well as some of TradingView's built-in patterns. Not all patterns can be added of course, but let me know if I missed other interesting ones and I will do my best to add them in future updates.
When a Pattern reaches the Min. Target % within the Candles Range selected, it is then considered valid. Please remember that doesn't take into account possible draw-downs or stop-losses.
Patterns are constantly evaluated inside the script; when a pattern's overall score (Success Rate %) is below the required minimum, the signal won't be triggered. However, the script will keep monitoring it in the background, and trigger a signal again when its score comes back above the minimum Success Rate.
The Patterns' signals can be filtered by Success Rate, Minimum Patterns detected and candle size (calculated via ATR).
The Data Panel will show individual statistics for Enabled Patterns as well as final statistics for Triggered Patterns.
Tooltips in the settings panel will further explain available options.
Alerts: simple alerts can be added by selecting "any alert() function call" when adding an Alert. Customizable alerts can also be created through dropdown menu ( Bullish \ Bearish Patterns Detected).
Fully customizable to adapt to light and dark themes
Notes and Recommendations
Always be realistic when tweaking settings, making sure the output makes sense in a normal trading environment. Statistics are helpful but shouldn't be the only factor to base your decisions on - even if a pattern reaches 100% Success Rate, it doesn't mean it will keep being profitable.
Since the script crunches quite some data it may give output errors especially if settings are not properly tweaked - or if the filters are too liberal (e.g. Min Target % set to 0.1) - hence triggering lots of signals. Please adjust the settings or enable only the Patterns you are trading.
If the script gives the error "Too many drawings, cannot clean oldest" it means your settings give too many signals and that is usually not a good sign - it's recommended to double-check your settings as mentioned above.
Credits
Trading View for built-in patterns
Special thanks go to PineCoders community for their incredible efforts and learning material to help mastering PineScript!
Protervus RenkoWelcome to Protervus Renko!
After over two years of research and development, I'm thrilled to present you with my take on Renko in overlay mode.
Key features
Four Renko Types: Classic, Median, Geometric, Turbo
Brick size methods: Traditional, Percentage, ATR
Renko Wicks
Higher Time-Frame selection
No repainting, all data is consolidated and obtained from regular candles
Output mode: pass Protervus Renko data to other indicators
Built-in settings validator
Renko Statistics
Bricks reversal
Complete style and color customization
Tooltips in the settings panel explaining available options
Alerts
Renko Types: Classic, Median, Geometric, Turbo
Show Candles, Levels, or Both - along with Wicks
Note: when levels are disabled Wicks are shown on the actual Renko bricks, while when enabled they are shown in the middle of the Renko level.
Understanding Renko Output
In Real Mode, the output only contains data on the Renko brick, while in Normalized mode the values are repeated for the whole Renko level.
Example with Bollinger Bands:
In Real Mode, Bollinger Bands will be calculated exclusively on the Renko Bricks. Had we used Normalized Mode instead, the output wouldn't make sense as the values are carried over on each candle.
Other indicators (like RSI, for example) would work better with Normalized output though:
Automatic settings validation
Note: if settings are Unreliable, the script will not show any Renko candles or levels. The Output can still be used on external indicators, if needed (e.g. for a more granular RSI output).
Renko Data Panel
Data Panel shows two types of statistics: Rolling and Barset. Rolling data is referring to "last X time" and can be defined in the indicator's settings (in this example it's set to one week) while "Total Bricks" are considered over the whole available barset (since the beginning of the chart).
Besides seeing Renko Bricks trends at a glance, it's also possible to spot interesting areas when Rolling bricks are coming close to either the Total Average or Total Maximum Bricks, signaling a possible reversal or continuation.
Bricks Reversal
Show reversals: configure how many opposite bricks are needed to trigger a reversal, as well as limiting their number to avoid strong opposite movements.
Tip: more conservative Traders might want to receive a signal if the minimum is close to the Average Bricks Trend, but not over the Maximum Bricks Trend.
Moving the Indicator to a separate pane and overlay price
Credits
yatrader2 (lengths in time or bars function), allanster (Heikin Ashi function)
Special thanks go to PineCoders community for their incredible efforts and learning material to help mastering PineScript!
Strat Magnitude LinesHave you ever wished you could easily see the daily magnitude line of a Strat Combo while on a smaller timeframe intraday chart? This indicator allows you to do that and much more!
Description
This indicator does two simple things, but it does them very well. The first thing it does is draw a small horizontal line at the magnitude level of a Strat Setup (a potential Strat Combo before the last candle has formed) on the daily chart. This is intended to help the user easy ascertain how much magnitude distance (distance between trigger line and magnitude line) of a potential Strat Combo the night before when the user is searching for trades to play the next trading day. If the last two candles on a daily chart form the first two bars of a Strat Combo, then this indicator display a horizontal line where the ultimate magnitude would be if the next trading day a Strat Combo was formed. This helps the trader gauge whether there is sufficient magnitude that makes it worth it to even consider trading the next day.
The second and most important thing this indicator does is display the daily magnitude line while the user is in a smaller timeframe managing their trade. This helps the user have an easily identifiable line to show where to take full or partial profit at. There is no need to keep track of manually drawn lines or the hassle of letting your charts get cluttered with lines that the user forgot to delete. This indicator finds potential Strat Combos (aka Strat Setups) and dynamically draws horizontal lines for the user and removes them when they are no longer in use. The user can focus on taking profit and making money and leave the hassle to the indicator.
Inputs & Style
All four lines (two daily lines and two intraday lines) can be independently configured. Each lines color, line style, and width can be adjusted. To turn “off” a line change the opacity to 0%.
Automatic daily magnitude line on intraday chart
Smart Bottom SignalThis indicator is used to find temporary bottoms that are validated with a subsequent candle that closes above the high. The indicator is based on elliott wave theory and tries to signal entries on wave lows. It triggers off of code from " TD D-Wave" 0, 2, 4, A, and C bull wave lows by finding a candle with a close higher that the high of the lowest wave candle or the high of a bullish candle that first breaks above the 8EMA. Green arrows will plot on close indicating that the indicator was triggered.
There are 3 options for display of plots provided:
ShowSmartSigs - This is defaulted to true (display) and allows users to toggle the green arrow alert plots on/off that appear below the candle when triggered.
ShowOnOffPlots - This is logic I use to signal a downturn/upturn and is indicated by red/green arrows appearing above the trigger candle.
ShowBounceSigs - This is defaulted to false and would show as an orange arrow under a candle where a bullish candle first climbs above the 8EMA when ShowOnOffPlots is signaling a downturn and SlowtSochastics is below 21. The SlowStochastics settings are adjustable on the settings screen and default to 21,3.
Alerts Available:
"Smart Buy Bounce" - This alert fires when the ShowSmartSigs signal is triggered.
"Buy Bounce" - This alert fires when the ShowBounceSigs signal is triggered.
"Turn Off Bots"/"Turn On Bots" - This alert fires when the ShowOnOffPlots signals are triggered. I use this to turn off shorter timeframe (15m-1H) bots during a prolonged price drop.
This is an early prototype that is filtered to the following tested cryptos against the specified chart timeframes and using the expressed target/trail/stoploss logic.
CRYPTO Target:Trail:StopLoss TImeframe(H)
FTM 3:2.9T:4 6
AXS 3:2.9T:4 6
AVAX 3:2.9T:4 6
MANA 3:2.9T:4 6
ONE 5:2T:2.5 4
MATIC 3:2.9T:2.5 6
XTZ 3:2.9T:4 8
Candle Volume Size PipsThis script is design to count quantity of pips of each candle helping find the most voluminous candle from Wich to Wich (High Low) or Open to Close (Body).
Adjustable Settings:
From open to Close (Body)
From Wick to Wick (High Low)
Candle Colors
Which candle show values bull (up) or bear (down) candles
Qstick IndicatorThis indicator idea comes from Tushar Chande called Qstick.
Technical indicators quantify trend direction and strength in different ways.
One way is to use the difference between close and open for each bar and to sum it up over a period of time.
The formual is:
Qstick (period ) = Average ((close-open ), period )
In this indicator, we can choose how to calculate body by two famous chart types. The first and default indicator settings are based on Heiken Ashi chart, and the second is based on the Candlesticks chart.
If the resulting value is positive, the trend is considered up and shows with the blue color; otherwise,
the trend is considered down it shows with red color.
When Qstick value is greater than zero means that the majority of the last 'n' days(the default value is 8)
have been up, indicating that buying pressure has been increasing. Vice versa, when Qstick value is lower than zero means that the majority of the last 'n' days have been down, indicating that selling pressure has been increasing.
Crossing Qstick above Level Zero is used as bullish bias (long entry signal) because it is indicating
that buying pressure is increasing, while bearish bias (short entry signal) comes from the indicator
crossing down through zero. This indicator can be part of trading systems and we can use it to confirm our signals.
Also, We can active Alert checkpoint to show cross points and activate Alerts.
Supply & Demand / Orderblocks - Multi TimeFrame (@JP7FX)This should easily find the clear BUY to SELL / SELL to BUY candles with imbalance created.
There are options to change the Supply and Demand / OrderBlock CREATION based off the OPEN or WICK imbalance and also the option to DRAW the zones from the OPEN or the WICK.
Will also draw HTF zones with options to change the colour of zones when price has mitigated these areas, zones will be deleted once price has passed through.
Each Zone has the 50% line drawn and will delete when Price has reached - maybe useful for traders who look for 50% mitigation of areas.
When using HTF zones (max of 2) a Timeframe display will show for that zone.
There are many options to change colours and lines etc to suit the layout you prefer.
The zones that are created are not to trade from without additional analysis its simply to help draw strong zones.
Hope this provide some help and Trade Safe :)
TAPLOT Mini CoilMy entire trading style is built on finding stocks in stage 2 uptrends that are building healthy bases and exhibiting volatility contraction patterns (VCP).
I look for price tightening on the right hand side of the base to find low risk entries.
This Mini Coil indicator is nothing but one way of visualizing tight trading ranges. It essentially plots a box around price areas where price traded inside of one larger bar (candle in my case).
The minimum requirement is for 1 bar to engulf 2 bars that are in-front of it, thus the "Mini Coil" name.
From indicator setting, you can force minimum bars to 3 to reduce coil occurrence on the chart.
Not all Mini Coil price action is tradable. I use this strictly on stocks that are in stage 2 uptrends and potentially getting ready to come out of bases.
If a Mini Coil shows up at the right side of a base, it could potentially be an indication that the stock is ready to break out of that base.
Trigger would be to buy as the price is moving above the high of the wide bar coil area.
Indicator Setting
The indicator is highly customizable with 3 options to display the price coil area
A box - you can customize border and background color as well as transparency
Coil bar paint - Paints the widest bar in the coil area. Paint color for up and down bars is customizable. Default is green/red but you probably want to change that if you are already using green and red bars. I use white and black bars to this works for me.
This options allows you to visually get hints that a coil is forming but without cluttering your charts
Arrow up on coil bar - similar to paint but only puts a signal (arrow up) below the coil bar.
Box Mini Coil Example
Pain Bar Mini Coil Example
Arrow Up Signal Mini Coil Example
Liquidity RaidThe market always seeks liquidity. Liquidity rests above previous highs and below previous lows.
The script highlights the breach of a market structure high or low (W/D/4H/1H), and will alert you on the first fractal break in the opposite direction.
The idea is that the raid happens, and you are only alerted once a candle breaks a fractal and closes in the opposite direction.
When a signal is printed, it does not mean to enter immediately. It just means that there is a fractal break in the opposite direction, and that you will need to assess current price action and market structure for a potential trade on pullback.
You still need to take HTF directional bias, market structure, order blocks and imbalances into consideration.
The script is for trading on on smaller time frames (1/2/3/5m).
Fractal periods, lines and colours are all customizable
Williams Alligator Trend Filter HeatmapHello I've decided that the alligator lines can be used to find a trend. This script expands on that and checks 10 different multipliers to see trend over the long term and have 10 values. Those 10 values each give a color to one of the 10 lines in turn giving this Fire like plotting. I personaly use this to see if there is fear (red) in the markets or greed (blue), plotted 9 different crypto coins on the chart and have 4 columns in my setup to see the values on different timeframes. In the chart preview this is 1H,30M,10M,1M to see current environment. The colors use alot of data to generate especialy the bottom part, that colors based on a very long time zone.
Next-Gen Engulfing Retracement█ OVERVIEW
If you follow my work closely, you know my obsession with OrderBlocks and Retracements. We will reuse the same logic,
but using candle engulfments and candle engulfment reversals. It is the latter that we will interpret as OrderBlocks, and candle engulfments as
buy or sell signals.Instead of using the price and the average of the candles, here we prefer to use 4 exponential moving averages over 4 different
periods with a true range for detecting volatility and determining if a candle should be considered engulfed or not.
(note : if you know the principle of candle engulfment you should know that a bullish engulfment does not necessarily mean a buy signal).
█ HOW TO INTERPRET?
1 • We use last detected 'Bearish/Bullish Reversal Engulfing Candle' as an Retracement Level.
(Keep in mind Historical Retracements with extended lines is still useful and can still have an impact on the actual trend).
2 • We use 'Bearish/Bullish Candle' as confirmation of entry point.
3 • You can play with the 'Maximum Volatility' value or the 'True Range' Multiplier value to filter detected engulfing as you want.
4 • HTF and Auto HTF option available.
5 • Everything is customizable in settings (show inputs, colors, lines size etc...)
6 • Alerts is available for Engulfing Candle and Crossing Lines.
█ NOTES
- This script is not beginner's Level and is intended for Traders with advanced knowledge of Candlestick Patterns and the work of Michael j. Huddleston on the OrderBlocks.
Good Trade everyone and remember, risk management remains the most important!
FX Mini-Day/Index Dividers V2This is a combination of the Mini-Day Separator Indicator, timings based off the research by Tom Henstridge/@LiquiditySniper and additional Index KZ delineations, based on ICT's 2022 Youtube Mentorship.
*It borrows some minor code from Enricoamato997 . Credit where it is due!
This is a joint effort by myself, @vbwilkes / Offseason Vince and @Tom_FOREX / TraderTom on the Index/Index Future portion.
Index Future Example
Forex Example
Modified morning and evening starsThis script highlights modified version of evening and morning star candlestick patterns. Volume has also been added in the script to create convergence of volume with price action.
It is recommended to use these patterns for positional trading. It is advised to use
Morning star at the bottom of the downtrend
Evening star at the top of the uptrend
Avoid entries against above recommendations
Failed AuctionAs we know, buyers and sellers take part in the market auction.
A failed auction is where price could not tick above or below a specific price. This means that there were no buyers willing to buy or sellers willing to sell beyond that price. Price then moves away in the other direction.
The failed auction acts as a magnet and becomes a target to revisit sooner or later. The failed auction is a successful/finished auction once it has been satisfied.
On the indicator, two adjacent candles with the exact same high or low are marked. The icon will appear on the high or low of the 2nd candle. This notifies us that there was a failed auction.
If you are in a trade, you can use the failed auction to hold onto the trade longer. If you are not in a trade, you should be cautious if a failed auction rests above or below you limit order.
Icons and colours are customisable. An option to have plotted lines for the failed auction is included.
Works on all timeframes.
Candilator RSI [AstrideUnicorn]OVERVIEW
The name Candilator comes from blending the words "candlestick" and "oscillator". And as the name suggests, this indicator is a good old RSI plotted as a candlestick chart. To produce a candlestick chart, Candilator RSI calculates four RSI's based on the open, high, low, and close time series. It also has a candlestick patterns detection feature.
HOW TO USE
You can use Candilator RSI as a normal RSI to analyze momentum, detect overbought and oversold markets, and find the oscillator's divergences with the price. You can also get creative and apply all sorts of technical analysis to the RSI candlestick chart, including candlestick patterns analysis.
Candilator RSI can automatically scan the price for some candlestick patterns in the overbought and oversold zones. This feature can help detect price reversals early.
SETTINGS
The indicator settings are divided into two groups: Main Settings and Pattern Detection. In the Main Settings, you can find standard RSI settings. In the Pattern Detection part, you can turn on and off the automatic search for a particular candlestick pattern.
[NORTH2022] SWING INDICATOR WITH MOVING AVERAGEThis indicator is suitable for users who want to check trend by using historical candlestick swing with the "before 2 bars with after 1 bar" concept only as follow:-
Swing High (SH) Definition is the high of "N-1" candlestick is higher than the high of "N", "N-2", and "N-3" candlestick, and the high of "N-2" candlestick is higher than the high of "N-3" candlestick.
Swing Low (SL) Definition is the low of "N-1" candlestick is lower than the low of "N", "N-2", and "N-3" candlestick, and the low of "N-2" candlestick is lower than the low of "N-3" candlestick.
However, this indicator also provides a moving average for trend confirmation. Users can choose from a number of Moving Averages, including the EMA , SMA , HMA , RMA, WMA , DEMA , TEMA , VWMA , and VWAP.
Remark:
SH = Swing High
SL = Swing Low
N = Current Candlestick
N-1 = Previous Candlestick 1 bar
N-2 = Previous Candlestick 2 bars
N-3 = Previous Candlestick 3 bars
Chop Zone - SamXThis is my spin on the Chop Zone indicator. It was forked from the built-in TradingView Chop Zone indicator. There were several reasons for this effort...
The built-in indicator version had no real configuration options
It was hard-coded to use the 34-period EMA with fixed span sizes for identifying price range
There was no real context to the meaning of default color scheme
The separation points of the chop zone bars was at a fixed 1.43-degree scale
Note: If left at default settings, this indicator will exactly match the built-in Chop Zone indicator.
WARNING : Please be sure you understand the potential impact and implications before adjusting any of the settings in the "Advanced Configuration" section!!!
Chop Zone with discrete/standard coloring:
Chop Zone with gradient fill:
Moving Average angle plot with gradient fill:
Fair Value Gap by AncheIndicator that plots boxes for fair value gaps (also known as imbalances or inefficiencies)
fair value gaps are a very useful concept in price action trading, as they provide a trader with information about where a lot of orders were injected creating this inefficiency in the market. This inefficiency can become a magnet for price in the future to resolve this inefficiency as there are many resting orders. A trader can use this information to target a fair value gap, or to look for a potential entry for a long/short making it a good POI.
you have the possible to extend boxes to the right of the screen or to edit their width
fair value gaps tend to get mitigated, to restore the balance. This indicator gives you the option to define a mitigation using a full fill or a 0.5 fill. You can also define what to use for mitigation: candle bodies or candle wicks.
there are some other indicators for fair value gaps, although I haven't found one that let's me define a 0.5 mitigation, this indicator suits my trading style
Pattern Recognition Pullback Strategy profit calculatorThis script has been designed for use in botting Crypto spot / futures.
The intended use is send signals to a 3commas bot setup for the exchange. The bot uses candle measuring percentile nearest rank filters and range
breakouts to decide if the market is trending. When the market is trending it will look for pullbacks below a moving average and buy in the trend direction on a pullback discount. This is the profit calculator part of the script
With this script you will not be able to send tradingview signals, that is because it is a payed premium service and for security reasons I am the only one with access to making signals from this script.
I provided a user manual:
drive.google.com
Pattern Recognition Pullback StrategyThis script has been designed for use in botting Crypto spot / futures.
The intended use is send signals to a 3commas bot setup for the exchange. The bot uses candle measuring percentile nearest rank filters and range
breakouts to decide if the market is trending. When the market is trending it will look for pullbacks below a moving average and buy in the trend direction on a pullback discount.
With this script you will not be able to send tradingview signals, that is because it is a payed service and for security reasons I am the only one with access to making signals from this script. I will be uploading a second script which is the profit calculator. This way you can toy around to find your preferred settings for the bot and see the results it could have made.
I provided a user manual:
drive.google.com
[TT$] Trade Tracker - By BlueJayBirdUSE:
- For visually tracking your trades in a floating pane (label).
- Most of the features are described in the image.
MAIN FEATURES:
- Better long-position and short-position tool wannabe.
- Visual data for tracking your trade position.
- Automatic setting of some common values in trades risk management.
- Switching from long-position to short-position can be done by just dragging the target or the entry point around.
EMOJIS:
- ⏰ Entry time: : Confirmed manually when the tool is added to the chart.
- 🎲 Entry: Confirmed manually when the tool is added to the chart.
- 🎯 Target: Confirmed manually when the tool is added to the chart.
- ⛔ Stop-Loss: Set automatically by the code.
- 🪓 Break Even: Set automatically by the code.
- 👻 Else: Set manually from the settings.
- 💲 Current: Automatic.
NOTES:
- Be aware of the "time zone" feature. Change it to the time you're currently using for your trades.
- QUOTE use is really optional. I'd rather not use it.
- The 👻 is just an extra feature. Do whatever you want with it (example: for pointing out a dangerous zone).
- 💱: "Fee" feature is not working, but it will. Sorry for that.
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.