YDH/YDL to Current Day H/L - Zones- Draw boxes on the intersections between yesterday's high/low and the day's after high/low
This will help you to visualize areas at extreme points where algo hasn't yet pushed price to recover them
Candlestick analysis
[TTI] Closing Range Indicator📜 ––––HISTORY & CREDITS––––
This Pine Script Utility indicator, titled " Closing Range Indicator," is designed and developed by TintinTrading but inspired by the teaching of Investor's Business Daily (IBD) and William O'Neil. It aims to help traders identify the closing range of a given timeframe, either daily or weekly.
🦄 –––UNIQUENESS–––
The unique feature of this indicator lies in its ability to simulate a functionality of Closing Range calculation based on hovering of the mouse over the close. It employs a conditional display that allows the user to set the indicator as 'invisible' without removing it from the chart and hence provides a numerical closing range value when hovering over the indicator.
🛠️ ––––WHAT IT DOES––––
The Closing Range Indicator calculates the closing range of a trading bar in terms of percentages. It computes the difference between the closing price and the low price of the bar, and then divides it by the range of the bar.
A stock that closes on the high would display 100%
A stock that closes on the low would display 0%
Generally, the higher the percentage the more bullish the close but there are exceptions to this rule.
The indicator can operate on two timeframes:
Daily : Computes the closing range based on the daily high, low, and closing prices.
Weekly : Computes the closing range based on the weekly high, low, and closing prices. If you enable the weekly it will show the weekly close on all daily timeframes. Meaning that if the week Closing range is 54.15% on Friday, it will show the value 54.15% for all days prior to Friday from the same week.
The indicator places a label at the close of each bar, with the label's tooltip showing the calculated closing range percentage. I generally hide the label and just reference the tooltip calculation with a a hoover on top of the bar.
💡 ––––HOW TO USE IT––––
Installation: Add the indicator to your TradingView chart by searching for " Closing Range Indicator" in the indicator library.
Reorder: Reorder the indicator so that it sits as the first indicator (even above the price) on the Pane. This will make sure that you always trigger the tooltip functionality.
Go to Settings:
Timeframe: Choose between daily ('D') and weekly ('W') timeframes from the settings.
Visibility: Enable the 'Make Invisible' option if you want the indicator to be hidden.
Interpretation:
A higher percentage indicates that the closing price is closer to the high of the range, signaling bullish sentiment.
A lower percentage indicates bearish sentiment.
Tooltip: Hover over the label to view the closing range in percentage terms.
Candle Tick SizeHello everyone!
I dont think it exists, I couldnt find it any way I searched, maybe it is part of a bigger indicator. This is a really basic code, all it does, it shows the tick/pip size of the candles forming. You can adjust on how many candles should it show. Also because the code counts the point size of the candles from high to low, you can adjust that how many ticks are in one point, like for ES and NQ 4 ticks to a point, which is the basic setting. It helps me with entrys when I calculate the contract size so my risk/reward stays pretty much the same depending on the candle size for my entrys.
The Swinging Momentum IndicatorThe Swinging Momentum indicator is a custom trading indicator that looks at price momentum to identify potential buy and sell signals. It uses the rate of change in closing price over the last few bars to determine if momentum is increasing or decreasing. It also looks at the relationship of the close price to recent highs and lows, volume, and short term moving averages to confirm the strength of the momentum signal.
The indicator has two main components - identifying initial buy and sell signals, and then rating the strength of those signals. For buys, it looks for an increase in closing price momentum along with a close above recent highs and highest volume. For sells, it looks for a decrease in momentum and close below recent lows and highest volume. This identifies the initial signal without too many false signals.
It then looks at multiple factors to grade the strength of the signal, on a scale of 0 to 3. For buys it looks at how the close compares to the open, high and low of the last 4 bars, if the current low is above the recent low, and if there are more gaining days than losing days recently. For sells it looks at the close versus the open/high/low, if the current high is below the recent high, and if there are more losing than gaining days.
Each condition met adds 1 point to the strength rating. A rating above 2 is considered a strong momentum signal. This filters out weaker signals and reduces whipsaws.
The end result is plotted on the chart. Buy signals are triangles pointing up below the bars, sells are triangles pointing down above the bars. The colors help visualize the strength - strong signals are green for buys and red for sells, while weaker signals are yellow.
Trading with the Swinging Momentum indicator is straightforward. Strong buy signals identify upside momentum, so traders would look to enter long positions on a retest of the buy signal bar high. Strong sell signals identify downside momentum, so short positions can be entered on a retest of the bar low. Stops are placed beyond recent swing points in the opposite direction of the trade.
Since momentum can quickly change, risk management is key. Traders should look for other confirming indicators to strengthen the probability of a momentum trade working out. Good additional indicators to use with momentum include volume, trends, support/resistance and volatility measures.
The advantage of the Swinging Momentum indicator is that isolating the strongest momentum moves helps traders focus on higher probability trade setups. Monitoring both the initial signal and the strength rating gives an added level of confidence compared to standard momentum indicators. This custom indicator combines multiple momentum strategies into one, allowing traders to quickly identify and evaluate momentum opportunities on the chart.
Used appropriately with sound risk management, the Swinging Momentum indicator can be a valuable addition to a trading system. It visualizes both the direction and strength of momentum, key factors when trading trends and breakouts. While no indicator is perfect, understanding and utilizing momentum is a key concept for traders to master. This indicator provides a graphical representation to improve the way momentum is incorporated into trading decisions.
Plot Closed CandlesOnly shows closed candles
( You must turn off normal candles first by right clicking on the candles , going to setting , and turning borders , bodies , and wicks off
Sideways Market Identifier (FinnoVent)The Sideways Market Identifier (SMI Indicator) aims to identify when the market is trading in a sideways pattern. This is particularly useful for traders who specialize in range-bound strategies or those looking to avoid trading in choppy market conditions. The indicator changes the background and the color of the candles to grey when the conditions for a sideways market are met.
How It Works
The SMI Indicator combines three popular trading metrics: Bollinger Bands, the Average Directional Index (ADX), and the Relative Strength Index (RSI):
Bollinger Bands: Checks if the close price is within a certain range of the middle Bollinger Band. Specifically, it checks if the close price is between the 20% and 80% range of the band's width.
ADX: Helps to identify the strength of a trend. A value under 30 suggests that the market is not strongly trending in either direction.
RSI: Measures the speed and change of price movements. A value between 40 and 60 suggests a lack of strong momentum.
How to Use
Apply the SMI Indicator to your chart.
When the background and the candles turn grey, the market is likely in a sideways pattern.
Disclaimer
This indicator is intended for educational and analytical purposes only. It is not a recommendation to buy or sell any financial instrument. Always conduct your own analysis and consult with a financial advisor before making trading decisions.
ICT Daily BiasThis indicator is based on ICT's teaching - Daily Bias. Indicator tries to predict which direction (bias) the price will move in the near future and it can tell you in which direction should you take trades on the lower timeframe (buy or sell). It works on every timeframe but best to use on 1D timeframe. It can also show historical Daily Biases. Daily Bias can be BUY, SELL or NEUTRAL. If there is NEUTRAL Daily Bias then you should not take any trade because following price direction is not clear until the Daily Bias changes to BUY or SELL.
Current Daily Bias is shown in the right bottom corner.
Daily Bias can be calculated by 2 types: Previous H/L or Previous Swing H/L.
Previous H/L:
This calculation is based on previous H/L. If actual candle reaches previous high (red line by default) or low (green line by default) with wick then price should reverse into opposite direction. If actual candle closes with body above previous high (green line by default) or below previous low (red line by default) then price should continue in current direction. There are also colorful arrows showing the following daily bias based on previous candle.
Previous Swing H/L:
This calculation is based on previous untested swing H/L. If actual candle reaches previous untested swing high (red line by default) or low (green line by default) with wick then price should reverse into opposite direction. If actual candle closes with body above previous untested swing high (green line by default) or below previous untested swing low (red line by default) then price should continue in current direction. Lookleft and lookright period (default: 3) for swing H/L can be set in indicator settings. This period tells you how many candles left and right from the swing H/L need to be higher (swing low) or lower (swing high). Previous tested swing H/L are labeled by colorful (yellow by default) diamonds. There are also colorful arrows showing the following daily bias based on previous tested swing H/L.
All settings of this indicator should be self-explanatory and some of them have tooltips for better understanding.
JK - Q SuiteThis indicator is primarily for identifying pauses in Stage 2 uptrends, modelled on Qullamaggie's style of trading, but fits well with many traders including William O' Neil. or Mark Minervini.
I built this for my own purposes, and have gradually added range of tools into a single suite. My goal has also to be as clean as possible, while providing clear, actionable information.
This suite includes all of the following:
Moving averages (10, 20, 50, 200)
Coloured bars showing tightening price (blue under 75% of ADR, orange under 50% of ADR)
A 'markets' dashboard (top-right), showing the major indexes. Red if 10<20MA, or price <20MA
A 'sectors' dashboard (top-right, below markets). Red if 5<10MA, or price <10MA - see note below
Strength / Weakness information - two cells at the top, bottom-right. See below
Stock information - glanceable stock info as quick filters. The thresholds for ADR, Average volume, and Dollar Volume can be customised.
NOTE - if the 'tightening coloured candles' are not showing, the indicator needs to be at the top of the stack. Click the triple squares at the very bottom-right of the TradingView interface, and drag the indicator to the top, should work then!
=============
Sectors
These are based on the 11 official Sectors, tracked using index funds (XLY, XLK etc). HOWEVER, TradingView does NOT use the official 11 sectors - therefore I've done my best to match TradingViews ones to the official ones, but doesn't always work... e.g. 'Electronic Technology' is typically semiconductors, which are classes as 'Industrials', but Apple is the same sector in TV, but classed as 'Technology' using the official 11 Sectors.
If TradingView move to use the official 11 I'll update this, but for now it's a best guess and will sometimes be wrong, sorry!
Strength / Weakness information
This was an experiment in trying not to give too much back to the market! Typically the strategy would be to sell if price closes below 10MA (Weakness), however there may be large pops that can be advantageous to sell into.
The 'Strength' information (top cell, bottom-right), checks how far the price is extended above 10MA - this is customisable as a multiple of ADR. You may find that in weak markets (like now), it can be best to take profits quickly - in good markets, you could increase this as stocks make bigger or more sustained moves.
=============
While I'm not the best coder - and I've hacked and tried and changed different things - this has been a labour of love and essential for me.
If you have any suggestions, while I may or may not be able to implement them, I'm certainly open to ideas!
Adjustable Bull Bear Candle Indicator (V1.2)Indicator Description: Adjustable Bull Bear Candle Indicator
This indicator, named "Adjustable Bull Bear Candle Indicator ," is designed to assist traders in identifying potential bullish and bearish signals within price charts. It combines candlestick pattern analysis, moving average crossovers, and RSI (Relative Strength Index) conditions to offer insights into potential trading opportunities.
Disclaimer:
Trading involves substantial risk and is not suitable for every investor. This indicator is a tool designed to aid in technical analysis, but it does not guarantee successful trades. Always exercise your own judgment and seek professional advice before making any trading decisions.
Key Features:
Preceding Candles Analysis:
The indicator examines the behavior of the previous 'n' candles to identify specific patterns that indicate bearish or bullish momentum.
Candlestick Pattern and Momentum:
It considers the relationship between the opening and closing prices of the current candle to determine if it's bullish or bearish. The indicator then assesses the absolute price difference and compares it to the cumulative absolute differences of preceding candles.
Moving Averages:
The indicator calculates two Simple Moving Averages (SMAs) – Close SMA and Far SMA – to help identify trends and crossovers in price movement.
Relative Strength Index (RSI):
RSI is used as an additional measure to gauge momentum. It analyzes the current price's magnitude of recent gains and losses and compares it to past data.
Time Constraint:
If enabled, the indicator operates within a specific time window defined by the user. This feature can help traders focus on specific market hours.
Customizable Alerts:
The indicator includes an alert system that can be enabled or disabled. You can also adjust the specific alert conditions to align with your trading strategy.
How to Use:
This indicator generates buy signals when specific conditions are met, including a bullish candlestick pattern, positive price difference, closing price above the SMAs, RSI above a threshold, preceding bearish candles, and optionally within a specified time window. Conversely, short signals are generated under conditions opposite to those of the buy signal.
Disclosure and Risk Warning:
Educational Tool: This indicator is meant for educational purposes and to aid traders in their technical analysis. It's not a trading strategy in itself.
Risk of Loss: Trading carries inherent risks, including the potential for substantial loss. Always manage risk and consider using proper risk management techniques.
Diversification: Do not rely solely on this indicator. A well-rounded trading approach includes fundamental analysis, risk management, and proper diversification.
Consultation: It's strongly advised to consult with a financial professional before making any trading decisions.
Conclusion:
The "Bullish Candle after Bearish Candles with Momentum Indicator" can be a valuable tool in your technical analysis toolkit. However, successful trading requires a deep understanding of market dynamics, risk management, and continual learning. Use this indicator in conjunction with other tools and strategies to enhance your trading decisions.
Remember that past performance is not indicative of future results. Always be cautious and informed when participating in the financial markets.
Are stop orders making money? [yohtza]Who is this indicator for and what does it do?
This is an indicator that helps price action traders in determining the strength of the trend and potential counter trend traps that present themselves during the move. It highlights the background of the bar at which counter trend traders that trade with stop orders (breakout entries) were able to achieve the same amount of reward as was their risk for that trade.
What is it based on?
When there is a strong trend in effect, the counter trend traders are unable to buy above(in bear trend) or sell below (in bull trend) a bar with a stop order and get an equal reward for the risk they are taking.
The first time counter trend traders are able to buy and make money in bear or sell and make money in bull it is a warning sign that market is likely transitioning into trading range phase of the market cycle.
Another application of the indicator is for discovering potential traps. If market comes very close to the take profit level of counter trend traders and reverses, they will usually try to get out with as much profit or as small of a loss as possible and that will often create a fast move (also called giving up) and a good with trend entry.
How does it work?
The indicator is using exponential moving average as a filter for when the market is trending and then scans for signals where counter trend traders enter. Next it looks if the stoploss or profit target was hit for that trade. If the profit target was hit it draws a box around the bar on which the traders entered, the box height is based on stoploss and profit target price levels.
Indicator inputs
- Scan for doji signal bars
When this option is selected, bars that have small bodies (less than 50% of their height) are also included as bars on which counter traders enter. If the option is not selected it only looks for bull trend bars (bodies are greater than 50% of their height) below the moving average and bear trend bars above the moving average.
- Border and background colors and border style
It is possible to select different colors and chose between solid, dashed and dotted borders
- Ema period
Default setting is 20 bar exponential moving average but feel free to use which you prefer
- Tick value
This is the value of the minimal movement of the chart you are trading on. For example for S&P 500 E-mini futures the value is 0.25 and that is the default setting.
Super Cloud Support and Resistance Signal [5ema]This indicator can supply the trending and signal.
-----
How to calculate?
The cloud be create by the min/max of the EMA lines:
+ (avg(EMA(source, 20), EMA(source, 50), EMA(source, 200), EMA(source, 460), EMA(source, 610))
+ with source = high / low / open and close.
The signal bar is a reversal candle pattern such as engulfing, hammer, ....
For avoid to against the trend, use the number left bars are completely above or below the cloud.
-----
How to set up?
Input the number left bars to get the number left bars are completely above or below the cloud. Its purpose is avoid to get signal against the trend. Can set it bigger than 2.
Can filter the signal only buy or only sell to follow the current trend.
-----
How to use?
Refer the trend cloud:
Can refer the signal:
Make an alert when signal appear.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Strategy:Reversal-CatcherWhat
This is a plain and vanilla reversal based strategy for intraday (15m) timeframe on Futures prices of the assets.
Now what all it comprises of?
It finds out the dynamic support & resistance from Bollinger Band (20 period, 1.5 std dev).
It finds out the potential divergence of price deviation from 5 period exponential moving average (EMA).
If the previous candle (N-1) shows a divergence it confirms the reversal by checking the present candle (N) to be closed inside the Bollinger Band.
It confirms the momentum by checking RSI shows a crossover/crossunder to oversold (30) / overbought (70) region.
It also confirms whether the trend is up (then only reversal trade to short) or down (then only reversal trade to long). The trend is checked with EMA-21 and EMA-50.
Re-affirmation Condition : It re-affirms the position of two successive candles called as `hhLLong` and `hhLLShort` in the script.
Why
In Indian context, retail participants are pre-dominantly (yes- 80% of Indian daily volume) Options buyers mainly in weekly indices (Nifty, BankNifty, FinNifty, CNXMidcap, Sensex, Bankx .. well everyday is expiry now in India, except -- Thank God -- Saturday & Sunday).
And in Index Options the momentum plays a big role.
If one can catch a good reversal point the potential of high Risk-to-Reward trade (hence earn handsomely) is very likely (please note: there is no holy grail in trading. Nothing works 100%).
So this is the attempt to catch a reversal.
Re-affirmation of Reversal
hhLLong : It's a reversal point after an uptrend. It checks the relative positioning of current candle compared to that of previous candle. [The details are in the script. Check for variable hhLLong in script.
hhLLShort : It's a reversal point after a downtrend. It checks the relative positioning of current candle compared to that of previous candle. [The details are in the script. Check for variable hhLLShort in script.
Unique-ness
What's unique in it? Why we decided to publicly share this:
Already given the context of The Great Indian Options Buyers community. It should be helpful to them, we believe.
It takes Very Less Number of Trades with High Accuracy . Please check the result in NSE:NIFTY1! in 15m timeframe. 71% accuracy with roughly a trade in a month.
There is no point giving brokers' the brokerages taking 10 trades a day and ending not-so-good EoD. Better lets take less trades with better result possibility. .
Mention
There are many people uses this variation of Bolling Band, 5EMA
Many people use RSI, trends and relative positioning of candles.
--> We are grateful to all of them. It's really difficult to mention everyone's name. But all people somehow influence the thought process. Thanks for all of them.
Statutory Disclaimer
There is no silver bullet / holy grail in trading. Nothing works 100% time. One has to be careful about the loss (s)he can bear in case of the trade goes against.
We, as the author of this script, is not responsible for any trading or position decision one is taken based on the outcome of this.
It is our sole discretion to change, add, delete the portion or withdraw the whole script without any prior notice or intimation.
In Indian Context : We are not SEBI registered, will never be SEBI registered.
Forecast by ScanYourStratOverview :
This indicator scans historical price data and focus on 3 main characteristics:
1. Momentum of the move
2. Volume changes
3. Proprietary candle scoring system (a scoring based on the candles open and close, wicks and color of the candle)
After it analyzes the above 3 characteristics, it will find the pattern most closely to each one and will make an average Forecast which is the result you see on the chart. They can be all 3 in the same area or across historical data. The length of the price range that you want to analyze is user dependent, based on the Bar calculation length (see below on settings), and then will take the price movements that followed each of the 3 characteristics and It will project it into the future to provide potential price actions as an average forecast. As we all know, certain patterns and sequences, do repeat in the market. From these patterns we can try to forecast what will be the response based on previous data. The closer the past values to the historical data, the more likely the price will continue to move according to the same rules.
How it works :
Once you have set the Bar calculation length and the Forecast length, it will find the closest pattern that fulfills all 3 characteristics as above (either together or separate). Meaning, if you want to look at the last 10 candle bars on the current timeframe, the algorithm will find the pattern that resembles closest in momentum, volume, and candles scores to bring the forecast based on the movement that happened after those 10 candles (average of all 3). For the length of the forecast, you can choose how far into the future you want to look for.
Calculations :
The indicator works by scanning historical price data for the 3 characteristics above, and then forecast based on previous patterns. It uses mainly Pearson correlation calculation, but also, we have included Spearmen and cosine similarity equations to calculate different ways depending on the style of the trader. Essentially, the indicator takes the historical price moves that followed the pattern to forecast what might happen next. It will be an average of all 3 characteristics.
Potential Pitfalls :
This comes with certain problems, choose a pattern to small and you will have too many variables, choose a pattern too long and could limit the results that may not be statistically significant. Each person is encouraged to test depending on the timeframe that you trade. As you change the number of candles and calculations, it will change the forecast path.
How to use :
Each new candle will give you a forecast that may be new or consistent with previous candles. You cannot rely solely on this indicator as no indicator is 100%. Best strategy to work, is to already have some type of zone for demand or supply, or expansion zones or liquidity zones and use this indicator in conjunction to it. This indicator has been tested mainly on the 1 hour but will work on any timeframe. Best settings so far are with Pearson calculation and a length of 12 bars. The forecast line should not be used as an exact replica but more as a trend whether going up or down. The targets although sometimes close, the trader is not encouraged to use the line targets as their entry or stops but more using the above zones to help for those. In addition, the trader can use the option to average the last few candles forecast to see if the movement is consistent as well.
Settings :
- Bar calculation length : will be the X number of candles that the script will look in historical data that resembles the most. (Example chose 3 candles or 10, or 20)
- Forecast length : how many X number of candles that the script will look forward (forecast).
- Average forecast color : you can change the color of the forecast line.
- Multi bar forecast : is a way to bring the previous forecast lines from past candles to see if there is a pattern without having to use the bar replay, the more you candles you choose, the more lines will be available but at the same time making it harder to see.
- Average all on end bar : if you want to average all the forecast lines into one. You can choose the amount of candles that you want to average based on the multi bar forecast.
Disclaimer :
This is still an indicator that is being tested and in no way should be used alone. Currently will be in closed beta to find bugs and to work on accuracy.
The information contained in this script does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts are only for educational purposes!
Breakout Sideway Range [5ema]This indicator can find the breakout of sideway range. The range create by the bars inside the highest bar.
Compared to my previous script name Breaking Bar , this one is different in important point:
The Highest bar can be found at higher timeframe.
No have opening candles of each session.
-----
How to calculate?
Find the bar have full body or full bar is highest on number left bars.
The sideway range are bars inside highest bar.
Find the bar breakout highest bar are reversal candle patterns.
The highest bar can set up on higher timeframe.
-----
How to set up?
Change the input value of left bar to find the highest bar.
Change the input value of right bar to find the inside bar of highest.
Select the time frame to find the highest bar. Set "chart" if want to follow chart.
Select the way find highest bar, by price high and low or open and close.
-----
How to use?
Choose the signal buy or sell or all.
Change the color or range if want.
Hidden, display, change color background of signal bar.
Make the alert when signal appear.
Refer the signal appear on chart:
- Signal Sell:
- Signal Buy:
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Baha'i Reversal Points [CC]The Baha'i Reversal Points is a custom creation that combines some of my favorite passions, creating stock indicator scripts and my faith. The Baha'i Faith believes in the oneness of God and all religions, and sees the number 9 as significant because that is the number of major world religions as well as the Baha'i symbol is a nine-pointed star. The number 19 is also seen as significant because in the Baha'i calendar, there are 19 months, and each month is made up of 19 days. Anyway, with all that being explained, I created these reversal points to find the points where the last 19 highs or lows are higher or lower, respectively than the previous high or low nine days ago. As with many indicators, this does have some hits and misses but does a pretty good job of finding reversal points based on these criteria.
There are a few different ways to analyze this data to determine when to buy or sell. I have set the default behavior for when we encounter the first time that the amount of highs or lows is greater than or equal to the length amount using a crossover or crossunder alert. You could also ignore the crossover or crossunder alerts and buy when the count is greater than or equal to the length, which can happen for extended periods depending on the underlying trend. Overall, buy when the buy label appears and sell when the sell label appears.
Let me know if there are any other custom indicators or scripts you would like to see me publish!
MTF Fair Value Gap [BigBeluga]The MTF Fair Value Gap (FVG) indicator provides multi-timeframe options to observe lower or higher gaps in different timeframes within your current one. This can enhance the confluence in your trading decisions.
🔶 USAGE
An FVG is formed when a candle has an 'empty' body, leaving a gap. These areas are often filled before the market continues to trend in its original direction.
In practical terms, FVGs serve to highlight support areas (bullish FVGs) and resistance zones (bearish FVGs). As a gap is filled, signaling the end of the existing imbalance, it tends to foreshadow an impending price reversal.
While this approach is inherently contrarian, individuals seeking a more trend-following strategy can opt to use FVG identification as straightforward signals. This entails taking a long position upon detecting a bullish FVG and adopting a short position in the presence of a bearish FVG.
🔹 Mitigation
The mitigation point is where the user selects when the FVG is considered filled or no longer usable.
Source => Choose the candle's low/high or close as the mitigation point.
Point => Choose the FVG's mitigation point to trigger after the candle's Source has filled it. Users can choose between the middle point or the top/bottom of the FVG.
ccc
🔹 MTF
This script can display MTF FVGs from different timeframes while showing the current one. This is extremely useful as it avoids the need to switch timeframes frequently and can add significant confluence with the current FVG.
🔹 Threshold
The Threshold is an input to remove insignificant FVGs that are too small to be truly useful. Users can choose between:
Auto => Automatically remove unusable FVGs.
Manual => Set an automatic Threshold.
🔶 TIPS
Users can choose how many FVGs to display on the current chart for better visualization.
Users can choose which FVGs to display: only the current one, only MTF ones, or both.
Engulfing Box & LinesThe "Engulfing Box & Lines" indicator aims to spot and highlight Engulfing candlestick patterns within a trend. These patterns can provide valuable indications of a possible trend reversal, and the indicator underlines them through the use of colored rectangles and horizontal lines. To fully understand the functioning and use of this indicator, let's explore its key elements and associated strategies.
Identification of Engulfing Patterns:
The indicator focuses on detecting two types of Engulfing candles:
Bullish Engulfing: Occurs when a bullish candle (open lower than close) completely encloses the body of the previous bearish candle. This could indicate a possible upside reversal.
Bearish Engulfing: Occurs when a bearish candle (opening higher than closing) entirely engulfs the body of the previous bullish candle. This could signal a potential bearish reversal.
Using the EMA 200:
The indicator uses the 200-period Exponential Moving Average (EMA) as a reference to determine the position of the candles with respect to the long-term trend. When the price is above the 200 EMA, the bullish Engulfing candles are highlighted with a green box, while below the 200 EMA, red boxes are shown for the bearish Engulfing candles.
Size of Boxes and Lines:
The colored boxes represent the size of the body of the candle that caused the Engulfing. Additionally, a horizontal line is drawn close to the body of the candle, serving as the fulcrum of the indicator.
Trading Strategies:
This indicator can be used for different trading strategies:
Trend Continuation: During a positive trend, the onset of an engulfing pattern suggests a possible continuation of the trend. The horizontal lines represent potential support areas, where the price could bounce. Traders might consider buying during such bounces.
Retracements and Entries: Lines can act as support or resistance zones, depending on the trend. When the price approaches a line, a retracement could occur. Traders might move to a lower timeframe to spot entry signals, using the line as a reference.
Closing Positions: Lines could also be used to define exit levels. For example, a trader might decide to exit a position when the price approaches a resistance line.
Confirmations with Other Indicators: The indicator could be used in conjunction with other technical tools, such as oscillators or candlestick analysis, to confirm signals and improve the accuracy of trading decisions.
Range of body 30min avggives the average range of the past 30bars and indicates when a candle's body is greater than 150% the average.
All Candlestick Patterns on Backtest [By MUQWISHI]▋ INTRODUCTION :
The “All Candlestick Patterns on Backtest” indicator generates a table that offers a clear visualization of the historical return percentages for each candlestick pattern strategy over a specified time period. This table serves as an organized resource, serving as a launching point for in-depth research into candle formations. It may help to rectify any misconceptions surrounding candlestick patterns, refine trading approaches, and it could be foundation to make informed decisions in trading journey.
_______________________
▋ OVERVIEW:
_______________________
▋ CREDIT:
Credit to public technical “*All Candlestick Patterns*” indicator.
_______________________
▋ TABLE:
_______________________
▋ CHART:
_______________________
▋ INDICATOR SETTINGS:
#Section One: Table Setting
#Section Two: Backtest Setting
(1) Backtest Starting Period.
Note: If the datetime of the first candle on the chart is after the entreated datetime, the calculation will start from the first candle on the chart.
(2) Initial Equity ($).
(3) Leverage: Current Equity x Leverage Value.
(4) Entry Mode:
- “At Close”: Execute entry order as soon as the candle confirmed.
- “Breakout High (Low for Short)”: Stop limit buy order, entry order will be executed as soon as the next candle breakout the high of last pattern’s candle (low for short)
(5) Cancel Entry Within Bars: This option is applicable with {Entry Mode = Breakout High (Low for Short)}, to cancel the Entry Order if it's not executed within certain selected number of bars.
(6) Stoploss Range: the range refers to high of pattern - low of pattern.
(7) Risk:Reward: the calculation of risk:reward range start from entry price level. For example: A pattern triggered with range 10 points, and entry price is 100.
- For 1:1~risk:reward would the stoploss at 90 and takeprofit at 110.
- For 1:3~risk:reward would the stoploss at 90 and takeprofit at 130.
#Section Three: Technical & Candle Patterns
_______________________
▋ Comments:
This table was developed for research and educational purposes.
Candlestick patterns are almost similar as seen in “*All Candlestick Patterns*” indicator.
The table results should not be taken as a major concept to build a trading decision.
Personally, I see candlestick patterns as a means to comprehend the psychology of the market, and help to follow the price action.
Please let me know if you have any questions.
Thank you.
Reversal Candles UG [5ema]The indicator can be find 8 reversal candlestick patterns of bullish or bearish.
-----
How to build?
Based on available reversal patterns that was be share by a group trader.
With name: T1, T1S, T2, T2S, T3, T3S, T3 Pro, T3 Max.
Ex1 - T1 Bull Candles and T3 Bull Candles:
Ex2 - T2 Bull Candles:
Ex2 - T1S Bull Candles:
-----
How to use?
Combine with other indicators like MA, EMA, RSI, Support, Resistance,... to set up a trading strategy.
Make a Alert to get a notification when a reversal candles appear.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Realtime Daily High Low Half Quarter BoxOverview
This indicator offers real-time updates for daily high and low prices, addressing the issue of expanding plots in traditional daily high-low indicators.
It plots daily high, low, 1/2, and 1/4 price levels as horizontal lines.
It adds a vertical line at the center of the daily candle.
You can customize the indicator's background color for bullish and bearish days.
It extends horizontal lines until the daily candle switches.
This indicator is not compatible with second-by-second data.
Due to Pine Script's object drawing limitations, there is a restriction on how many days back the price lines can be drawn.
概要
このインジケーターは、従来の日足の高値・安値プロットの問題を解決し、リアルタイムでの更新を提供します。これにより、プロットが広がっていく現象が回避されます。
インジケーターは、日足の高値、安値、1/2、1/4の価格レベルを水平線で表示します。
一日の中央の時間に垂直線を追加します。
日足が陽線と陰線のいずれかに応じて、背景色をカスタマイズできます。
インジケーターは日足が切り替わるバーまで水平線を延長します。
このインジケーターは秒足データには対応していません。
Pine Scriptのオブジェクト描画数の制限により、価格ラインの描画が遡れる日数に制限があります。
Marubozu PatternsMarubozu Candlestick Patterns Indicator
This TradingView script identifies two types of Marubozu candlestick patterns: the bearish Marubozu and the bullish Marubozu. Marubozu patterns are characterized by a lack of shadows and a long body, indicating strong market sentiment. The indicator displays labels and triggers alerts when these patterns are detected on the price chart.
Features:
Identifies bearish Marubozu and bullish Marubozu candlestick patterns.
Alerts triggered for both patterns.
Labels displayed to highlight pattern occurrences on the chart.
How it works:
The script calculates various properties of candlesticks, such as body length, shadows, and body type. It then identifies both bearish and bullish Marubozu patterns based on specific conditions. When a pattern is detected, a label is shown on the chart with a corresponding tooltip description. Additionally, a background color change emphasizes the presence of detected patterns. Alerts are triggered for both pattern types, helping traders to quickly spot potential trading opportunities.
Note:
This script is designed for use on the TradingView platform using Pine Script. It aids traders in recognizing Marubozu candlestick patterns, providing visual cues and alerts for potential bullish and bearish market sentiments.
OrderBlock [kyleAlgo]The principle of this indicator
ATR (Average True Range) Setting: The code uses ATR to help calculate the Supertrend indicator.
Supertrend Trend Direction: Identify bullish and bearish trends with the Supertrend method.
Order Block Recognition: This part of the code recognizes and creates order blocks, visualizing them as boxes on the chart. If the number of blocks exceeds the maximum limit, old blocks will be deleted.
Function to prevent overlapping: check whether the new order block overlaps with the existing order block through the isOverlapping function.
Order block color setting: The code sets the color according to whether the block is bullish or bearish, and whether it breaks above or below. Afterwards the color of the existing order blocks will be updated.
Sensitivity settings: Through the input settings of factor and atrPeriod, the sensitivity of Supertrend and the detection of order blocks can be affected.
Visualization: Use TradingView's box.new function to draw and visualize order blocks on the chart.
Practicality:
Support and Resistance Levels: Order blocks may represent areas of support and resistance in the market. By visualizing these areas, traders can better understand when price reversals are likely to occur.
Trading Signals: Traders may be able to identify trading signals based on the color changes of blocks and price breakouts. For example, if the price breaks above a bullish block, this could be a signal to buy.
Risk Management: By using ATR to adjust the sensitivity of Supertrend, the symbol helps traders to adjust their strategies according to market volatility. This can be used as a risk management tool to help identify stop loss and take profit points.
Multi-timeframe analysis: Although the code itself does not implement multi-timeframe analysis directly, it can be done by applying this indicator on different timeframes. This helps to analyze the market from different angles.
Flexibility and Customization: Through sensitivity settings, traders can customize the indicator according to their needs and trading style.
Reduced screen clutter: By removing overlapping order blocks and limiting the maximum number of order blocks, this code helps reduce clutter on charts, allowing traders to analyze the market more clearly.
Overall, this "Pine Script" can be a powerful analytical tool for trend traders and those looking to improve their trading decisions by visualizing key market areas. It can be used alone or combined with other indicators and trading systems for enhanced functionality.