Market Structure Break Targets [UAlgo]The "Market Structure Break Targets " indicator is designed to identify and visualize key market structure points such as Market Structure Breaks (MSBs) and Break of Structures (BoS). These points are crucial for understanding market trends and potential reversal zones. By plotting these structures on the chart, traders can easily spot significant support and resistance levels, as well as potential entry and exit points.
This indicator uses a combination of swing highs and lows to determine market structures and calculates targets based on user-defined percentages or Average True Range (ATR) multipliers. It provides visual cues in the form of lines, labels, and boxes to help traders quickly interpret market conditions.
🔶 Key Features
Customizable Swing Length: Users can set the swing length to identify the pivot highs and lows, which are crucial for determining market structure.
Target Duration Bars: Defines the maximum duration (in bars) for which the targets will be considered valid.
Target Calculation Methods: The target levels are crucial for setting potential price objectives. The calculation can be based on a percentage move from the identified pivot or using the ATR to factor in market volatility. These targets help in setting realistic profit-taking levels or identifying stop-loss placements.
Bullish and Bearish Market Structure Break (MSB): Detects and highlights bullish and bearish market structure breaks with customizable colors and target percentages.
Bullish MSB
When the price closes above a significant pivot high, a bullish MSB is identified. The indicator will draw a line at this level and calculate a target based on the chosen method (percentage or ATR). The target is visualized with a dotted line, and a label "MSB" is displayed. Additionally, an order block is created at the level of the bullish MSB. This order block is highlighted with a semi-transparent box, representing a potential area where price might find support in the future.
Bearish MSB
Conversely, when the price closes below a significant pivot low, a bearish MSB is marked. Similar to bullish MSBs, targets are calculated and displayed on the chart. An order block is also generated at the level of the bearish MSB, visualized with a semi-transparent box. This box highlights a potential resistance area where price might face selling pressure.
Bullish and Bearish Break of Structure (BoS): Identifies break of structures for both bullish and bearish scenarios, providing additional target levels.
Bullish BoS
If the price continues to rise and breaks another significant level, a bullish BoS is detected. This break is also marked with lines and labels, providing additional target levels for traders. An order block is created at the BoS level, serving as a potential support zone.
Bearish BoS
If the price falls further after a bearish MSB, a bearish BoS is identified and visualized similarly. The indicator creates an order block at the BoS level, which acts as a potential resistance zone.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Targetprice
Blockunity Level Presets (BLP)A simple tool for setting performance targets.
Level Presets (BLP) is a simple tool for setting upside and downside levels relative to the current price of any asset. In this way, you can track which price the asset needs to move towards in order to achieve a defined performance.
How to Use
This indicator is very easy to use, you can set up to 5 upward and downward targets in the parameters.
Elements
The main elements of this tool are upward (default green) and downward (default red) levels.
Settings
Several parameters can be defined in the indicator configuration.
In addition to configuring which performance value to set the level at, you can choose not to display it if you don't need it. For example, here we display only two levels:
You can also choose not to display the labels:
Also concerning labels, you can choose not to display them in currency format, but in numerical format only (for example, if you're viewing a non-USD pair, such as ETHBTC):
Finally, you can modify design elements such as colors, level widths and text size:
How it Works
Here's how upside (_u) and downside (_d) levels are calculated:
source = close
level_1_u = source + (source * (level_1 / 100))
level_1_d = math.max(source - (source * (level_1 / 100)), 0)
biased_price_targetLibrary "biased_price_target"
Collection of functions that can be used for the calculation of biased price targets like stop loss and
take profit from a reference price using several methods that are already provided by the "distance_ratio" library plus
the 'HHLL'. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based (TICKS),
risk reward ratio (RR), and highest high/lowest low (HHLL)
ATR BandsIn many strategies, it's quite common to use a scaled ATR to help define a stop-loss, and it's not uncommon to use it for take-profit targets as well. While it's possible to use the built-in ATR indicator and manually calculate the offset value, we felt this wasn't particularly intuitive or efficient, and could lead to the potential for miscalculations. And while there are quite a few indicators that plot ATR bands in some form or another already on TV, we could not find one that actually performed the exact way that we wanted. They all had at least one of the following gaps:
The ATR offset was not configurable (usually hard-coded to be based off the high or low, while we generally prefer to use close)
It would only print a single band (either the upper or lower), which would require the same indicator to be added twice
The ATR scaling factor was either not configurable or only stepped in whole numbers (often time fractional factors like 1.5 yield better results)
To that end, we took to making this enhanced version to meet all of the above requirements. While we were doing so, we decided to take this opportunity to also make some non-functional enhancements as well:
Updated the indicator to the most recent version of Pine
Updated the indicator definition to allow alternate (non-chart) timeframe usage
Made the input types explicitly defined to improve consistency
Updated the inputs with appropriate minimum values and step sizes where appropriate
Separated settings into logical groups
Added helptext to the indicator settings noting usage and common settings values
Explicitly titled the on-chart plots of the ATR bands so that they can more easily be identified and referenced in other indicators/scripts, as well as the Data Window
Food for thought : When looking at some of the behaviors of these ATR bands, you can see that when price first levels out, you can draw a "consolidation zone" from the first peak of the upper ATR band to the first valley of the lower ATR band that price will generally respect. Look for price to break and close outside of that zone. When that happens, price will usually (but not always) make a notable move in that direction, which can be used as either a potential trigger or as an additional confluence with other indicators/price action.
Finally, while we have made what we feel are some noteworthy updates and enhancements to this indicator, and have every intention of continuing to do so as we find worthy opportunities for enhancement, credit is still due to the original author: AlexanderTeaH
Imbalanced zoneImbalance, this is a zone / gap created when the price move with force in a given direction. It identify a zone where the price could
potentially go back. This gives perfect targets for your trades.
Imbalance is created from the high and low of 3 candles. When the wicks the of 1st and 3rd candle does not fully overlap the middle one.
You can define the penetration ratio which will delete a tested zone from the chart. Usually find that 20% (0.2) is pretty accurate.
Pivot Target (5m Futures)I am new to both Futures Trading and Pivots. Looking for shorter-term profitable opportunities, I have investigated the use of pivots from a higher timeframe. All the work of this script is performed using two lines. It calculates the pivot from the previous 2-hour bar and draws this pivot line on the 5-minute timeframe. Many many times, the price will reach back to this pivot point - sometimes fairly quickly within the same horizontal pivot line and sometimes farther out (4-hours to 6-hours, or within the next few days). Price tends to reach the level around ninety percent of the time, making for plenty of short-term trading opportunities.
I get the best results when I see the price rise or fall from the pivot, along with a second indicator indicating a possible reversal (my favorite is Divergence for Many Indicators v4 by LonesomeTheBlue . Who knew divergence (both regular and hidden) was so common and useful for finding probable reversals? If I find the price above or below the pivot line with a second signal, I'll place a buy or sell within that same 2-hour window the price tends to return back to the higher timeframe pivot for a nice profit very quickly. Other times it does take a little longer to return with only a small percentage of time not returning within a reasonable amount of time, or very unusually, not at all. The image above shows a number of profitable trading opportunities using a combination of the Pivot Target and LonesomeTheBlue's Divergence for Many Indicators v4. You can further limit risk by only taking trades that are in the same direction of the overall trend, possibly confirmed on a higher timeframe.
This script will only be visible on the 5-minute timeframe the way it is written right now. I wouldn't suggest shorter or longer timeframes unless some editing is done by you. It doesn't seem to work as well with stocks, but is best on Futures due to the wave-like natures of the futures market. Trade safe, trade with the trend, use stops and limits appropriately and stay safe.
MultiAlert, MultiTargets + TickersThis is my first script, completely made from scratch. Bear with me.
Script that allows one to set an alert for Multiple Price Levels, on Multiple Tickers, complete with Dynamic Messages showing you which ticker, at which price, at which alert (Stop loss, Target 1 etc.), set to Once Per Bar.
Select Ticker, type in price levels that you have for targets & stop loss, move on to the next, or don't and leave 0 and blank.
Disable the targets you do not need in STYLE tab to disable plotting & scaling, leave unused tickers & targets blank & 0.
Create Alert, select this indicator, anyfunction() alert.
MAKE SURE to remake the alert every time you change something, they are not smart enough to change as you change things. Can Confirm by using the numbers in the alert name. You will also have to set the profit level or stop loss to zero every time it triggers to avoid triggered again.
In fact, you do not need the indicator active at all. Add it to a chart and hide it by clicking on the little eyeball icon, to make an alert open the settings for the indicator and type in your targets like normal. Indicator will remain invisable.
I have not found a way to dynamic message the alert name, or else I would.
DISCLAIMER: NONE OF THIS IS FINANCIAL ADVICE. You are completely responsible for whatever happens to you. Do not use the targets in this chart. Do your own research before trading.
Tool: Auto Target Price
The Target Price (TP) is according The Rule of Price Movement. It uses as Target Price for Intraday / Short-term Trader.
With these three categories of price:
1. Price less than RM0.20
2. Price in between RM0.20 - RM1.00
3. Price higher than RM1.00
Each categories with TP1, TP2, TP3.
If your budget is constant, the highest the stock price you purchased, the amount of profit will getting less. The movement of price is more to get same amount of profit compared with lowest stock price. This rule I learned from group of traders, but I found it inconvenience that I have to calculate every times for every trades. I will be trading a lot of error if I do so. Thus I think of to make this rule to an indicator for convenience use.
Pro: Other than Using BB, Support and Resistant, Fib and so on as Target Price, this may be a good reference.
Con: Stock Price which is extremely high may not work well ,because the categories of price is only till price higher than 1.
It may need some adjustment for higher stock price as TP.
Confluence Zone Calculation for Support in Bullish TendsConfluence Zone Calculation for Support in Bullish Tends
(or Restance in bearish ones)
Ever wondered why sometimes the zag of an Elliot Wave zigzag is stopped after just a few points?
(Like in the given Chart where I draw a line for a typical zag action.)
It has often to do with confluence Zones. Most people think that the lower edge of a narrow range, repeated a few times, creates big support - confluence zones are stronger.
You can make them visible by getting fibonaccis from just one specific high to several different significant lows (for example the range lines mentioned above). The areas where significant lows and their fibos appear very close together are confluence zones. They can brake a falling price like a security net.
This script caluculates Confluence zones for you by using a second useful "secret": the secret that signifant lows test or create temporal rsi lows (vice-verse with highs).
The thicker (non-aqua clored)lines show actual lows, are corresponding with those rsi lows, the thinner are fibo lines deriving from them. (The white line stands for the high taken for the calculation.)
Note: Only those lines are valid which reach to the actual last bar.
Best practise is to let the script calculate,then redraw your lines of interest by hand and get rid of the rest of the spider web-like turmoil of lines by deleting the script from the chart.
Note further: I had to omit some calculations, because otherwise calculation time gets too long for TV and it stops with calculation Time out. (For your transparency I calculated all fibo codes but skipped some in "sline"-function; the number-suffix makes a jump when i omit a value ).
Note further further: Resistance confluence lines for bullish trends need a different script, because if you do it totally right vou in this case work from a single LOW of your interes t.
I hope it enriches your knowledge and is a help for your studies and tradings.
Feedback and Questions welcome
yoxxx