TrendzonesHi all!
This indicator plots trendlines. These lines are not plotted as traditional lines, but are instead zones. This is useful if you think that trend lines are more of an area of importance than a line.
It does so by finding pivots and connecting two of them if they have not been broken (more about that later) in-between the pivots.
These trend zones can be used as support/resistance that the price can react to.
• The first trendline is drawn between the high/low of the first and second pivot.
• The second trendline's first point is at the open/close of the pivot (either the first pivot or the second one) that has the smallest difference between the high/low and the nearest open/close. The same difference (between the high/low and the open/close) is then subtracted from the other pivot's high/low. This creates a point at the other pivot bar. A trendline is then drawn between the points.
This creates two trendlines and a zone between the two trendlines. This zone is the one kept and is shown by the script.
You can define the pivot lengths used to find trend zones (defaults to 3/3). You can also define the number of pivots to look back for, to find trend zones and the number of active zones, both of these defaults to 3. You can also choose to let the script create new zones based on time ("Oldest") or the zone that is furthest away in price, this defaults to be based on time but it can be useful for letting the script remove the one which is furthest away in price. Another useful setting is the one called "Cross source". This defines the price that has to cross the trend zone to make it invalid (broken). This defaults to "Close", i.e. the bar has to close on the "wrong side" of the trend zone.
The current zones are shown with an extension to the right, but you can also choose to keep the previous lines (without extension). Please note that kept zones are only the ones that are broken, not the replaced ones. I.e. the zones that are kept are the ones that are crossed by the user defined "cross source" (defaults to the closing/current price of the bar).
Hope this makes sense, let me know if you have any questions.
Best of trading luck!
Trendlinesuport
TrendLine CrossThis indicator "TrendLine Cross", is designed to plot trend lines so you can spot potential trend reversal points on the charts. The main function is to draw several lines on the chart and identify the crossings between these lines, which can be significant indicators for trading. The lines are based on different periods which can be changed in the settings tabs.
Let's see the characteristics of the trend lines:
_Low Line Color(Green Line): This line connects the lowest point of low prices in the "low_time" period with the lowest point of low prices in the "high_time" period. Indicates a possible short-term support level on the chart.
_Liquidity Up Line Color (Golden Line): This line connects the lowest point of low prices in the "low_time" period with the highest point of low prices in the same period. It represents a liquidity zone and an important resistance in the chart.
_Lower Line Color (Blue Line): This horizontal line connects the lowest point of low prices in the "LowerLine_period" with the lowest point of low prices in the "high_time" period. Indicates a possible long-term support level.
_Upper Line Colorr: This line represents a connection between the highest points of the "high_time" period and the lowest point of the "LowerLine_period". Indicates a possible long-term resistance level.
_Up Line Color (Red Line): This line connects the highest point of high prices in the "high_time" period with the highest point of high prices in the "LowerLine_period". It represents a possible long-term resistance level.
_Liquidity Down Line Color(Golden Line): This line connects the highest point of high prices in the "high_time" period with the highest point of low prices in the "low_time" period. It represents a liquidity point and an important support zone.
The indicator becomes particularly interesting when the lines make crossings. These crossovers could suggest a potential trend change in the market. For example:
Change from Bearish to Bullish: If the "long-term" line (black) crosses the "short- or long-term" line (green or blue) from top to bottom, it could indicate a shift from a bearish to a bullish market , suggesting the opportunity for long positions.
_Changing from Bullish to Bearish: If the "long-term" line (blue) crosses the "short-term" line (red or black) from bottom to top, it could indicate a shift from a bullish to a bearish market, suggesting the opportunity for short positions.
Generally speaking, crossings between these lines can be key points of interest for traders, as they can signal significant changes in price direction.
BE-TrendLines & Price SentimentsOverview
The trendline is one of the most potent and flexible tools in trading. A rising trendline indicates an upward trend, a falling trendline indicates a downward trend, and a flat trendline indicates a range-bound bond market.
Breakouts, price bounces, and reversal / Retest tactics are all types of trades that may be made using a trendline. Additionally, stop-loss and profit-trailing orders can be based on trendlines as support and resistance levels, appropriately.
Technical Calculations for Trendlines & Price Sentiments:
Pivot points for a specified time frame and the Prevailing High/Low for the most recent bars are used to derive trendlines. While Pivot Points alert us to price movements, High/Low tells us where Bulls and Bears find a middle ground. This provides a remarkable set of conditions from which to extrapolate the efficacy of the Trendlines.
The term "price sensitivity" refers to how much a change in the price of a product causes consumers to alter their purchase habits. It's the relationship between price shifts and shifts in consumer demand. So, for example, if a 30% jump in the cost of a product leads to a 10% drop in purchases, we can conclude that the item has a price sensitivity of 0.33%.
Basis the above theoretical statement, If the underlying asset's price drops, the indicator shall compute data on the amount of volume being pumped (Inflow vs Outflow) into the market (if available), or the percentage by which the price has changed. This will be compared to the recent drop rate to see if the behavior has changed at the similar value zone and non similar value zone. similar calculation shall be done if the price of the underlying rises.
Traders may benefit from hearing about Trendlines in their "Story Telling" form, which we now present. To help you comprehend it better, candles are divided into three Sentiment groups based on their color. Colors: Green (with its shades), Silver, and Red (including its shades). Green signifies a Bullish Trend, Silver a neutral trend, and Red a Brearish Trend.
Bullish Trend
Bearish Trend
Neutral Trend
Sentiment Price Cycle in Trending Market: Green (Directional Bullish), Dark Green (Bullish Trend Loosing its Strength), Silver (Neutral Trend), Red (Directional Bearish), Dark Red (Bearish Trend Loosing its Strength)
Sentiment Price Cycle in RangeBound Market: Green (Over Brought), Silver (Neutral) & Red (Over Sold)
How to Initiate Trade when price is within TL:
Fake Break Out Trade:
BreakDown Trade:
BreakOut Trade:
Couple of Other Features in the Indicator:
Single Alerts = These are the alerts where in, as and when the Event happens Alerts shall the trigerred. like On BreakOut, BreakDown, TouchOf Up TrendLine, TouchOf DownTrendLine, Retest Of Up TrendLine, Retest of DownTrendLine.
Conditional Alerts = These are those type of Alerts where in you can combine 2 or 3 conditions to trigger an Alert. Like
Sample 1 - After Down TL is tested for 3 times, If BreakOut happens and the setiment turns Bullish within 5 Candles.
Sample 2 - After Up TL is tested for 2 times, If Price Bounces backUp from TL and the setiment turns Bullish within 5 Candles.
Similarly you can customize the combination of events for getting the alert.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Trend linesThis script aims to identify and plot trend lines and pivot points on a price chart, with the aim of facilitating technical analysis for trading.
The script allows users to configure a number of parameters including the period for Pivot Points, the maximum number of pivots, and the maximum number of trend lines.
Pivot points (local highs and lows in the price data) are identified using TradingView's built-in pivot high and pivot low functions. The identified pivot points are then stored in arrays. The script also optionally plots these points on the chart.
The main goal of the script is to find and plot trend lines based on the pivot points. For each pair of pivot points, it computes the slope of the line connecting them. If all the other pivot points are below this line (for downward trends) or above this line (for upward trends), the line is considered a valid trend line.
The script also includes a feature that suggests potential "buy" or "sell" points along the trend lines. When the price touches the trend line, a label indicating a potential trading action (buy or sell) is created on the chart.
Trend LinesHello Everyone.
This is my first script on TV, hope you find it useful.
How it works?
- On each bar it finds last x (depending on your settings) higher and lower Pivot Points ( PP ).
- It searches for possible trend line from oldest PP to newest, once found it stops and draws the line.
- The higher the time frame the lower the number of PP needed. Play around with the number of PP and left/right bars needed to confirm a PP and you get different results.
For suggestions don't hesitate to contact me
Trend Lines Pro for IndicatorsHello Traders!
We need to make things better & better to solve the puzzle and I try to do my best on this way. now I am here with my new Trend Lines Pro for Indicators script.
As you know, Trend Lines is very subjective and many people (even professionals) draw different Trend Lines on the same chart. This is confusing and there must be an automation to make the life easer. with this tool I tried to automate it.
The idea in this script is different from my previous trend lines scripts. In this, I use channel idea so it can check number of pivot points it contains. it also checks the angle while choosing trend lines. then we get stronger and useful Trend Lines automatically.
There are some option in the script, let see one by one:
Indicator: the indicator on which you want to see Trend lines, Predefined Indicators are: RSI, CCI(Commodity Channel Index), OBV(On-Balance Volume), Momentum, MACD, CMF(Chaikin Money Flow), External Indicator
External Indicator: with this option you can use other indicators as input and get trend lines for them.
- First add an indicator (such as MFI)
- in "Indicator" option select "External Indicator"
- click "External Indicator" option
- and choose the indicator from the list
Pivot Period: The Length to calculate Pivot Highs/Lows
Threshold Rate: This rate is used for channel width. it you give bigger numbers then you get bigger channels. it's 4 by default
Minimum Angle Rate for new Trendline: if there are different trend lines , there must be an angle between them to choose best trend lines . you can set the angle with this option.
Minimum Strength: there can be many trend lines but we need to choose/use stronger ones. with this option you can set the number of pivot points a trend channel have to contains. default value is 2
Maximum Loopback Length : by default the script can check 40 pivot highs and 40 pivot lows but to make the script faster and useful I needed to add a limitation for the number of bars that the script can go back.
Show Trendlines as: you can see trend lines as "Trendline", "Channel", "Trend Channel". you can see examples below.
Enable Weak Trend Lines : if there is no trend lines strong enough (as defined in "Minimum Strength" option) you have option to see a weak trend line . that is useful sometimes. if you enable this option weak lines are shown as dotted lines.
Show Price Labels on Trendlines: the script can show the price levels to break trend lines . the example
Line Style: trend lines can be Solid or Dashed as you wish
Color theme: colors of the Up/Down Trend lines can be set. Red, Lime, Blue, White, Black, Olive, Gray
Indicator color: colors of the Up/Down Trend lines can be set. Red, Lime, Blue, White, Black, Olive, Gray and Yellow
and last options are for length options for RSI, CCI, Momentum, MACD, CMF
There are many alerts such: Support/Resistance Broken, Price in Support/Resistance channel, Support/Resistance line broken but still in a channel that means it broke S/R but there is another trend lines to break.
Below an example how the script uses external indicator as input and draws trend lines on it. in this example chaikin ossilator was added to the chart and get trend lines for it. (I am going to make a short video about it)
An example of Trend Channel is below. when you use trend channel option you can get "big picture" of whats going on
An example for trend lines in channels, that is the idea behind this trend lines script
An axample for trend lines for CCI:
Trend lines on OBV:
Trend lines on Momentum:
Trend lines on MACD:
Trend lines on CMF:
Different colors and line styles:
Please send me message for access and do not hesitate to ask your questions about this tool.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.