Trend Lines [LuxAlgo]Our new "Trend Lines" indicator detects and highlights relevant trendlines on the user chart while keeping it free of as much clutter as possible.
The indicator is thought for real-time usage and includes several filters as well as the ability to estimate trendline angles.
🔶 USAGE
Trendlines can act as support/resistance, with a higher number of tests indicating a more significant support/resistance role.
A broken TrendLine can be indicative of a potential trend reversal. The script highlights breaks with a label.
Users can additionally filter trendlines, only showing trendlines whose angles fall within a user set range:
This allows for the removal of potential clutter from the chart but also helps keep steeper or more horizontal trendlines.
🔶 DETAILS
When a swing (pivot point) is found, a Trendline is drawn when certain conditions are fulfilled.
An essential condition is that a Bearish Trendline (red) always occurs on a lower high, while a Bullish Trendline (blue) occurs on a higher low.
Our implementation will first show an initial dotted-styled TrendLine on confirmation, after which a solid-styled secondary TrendLine will develop. The latter will be used for the real-time detection of breaks at that line:
Furthermore, the script allows you to add more conditions:
🔹 Length (Swings)
A swing develops when a high/low is the highest/lowest against x highs/lows on the left AND right of that bar. x can be set by "Length" in settings.
The following images clarify this. The script confirms a swing where the yellow flag is shown; the high (here visualized with a purple label) is the highest point against x bars left and right of that point.
At that moment, this swing is checked against the previous swing. If all conditions are fulfilled, an initial TrendLine is drawn on confirmation.
After that point, a secondary thicker solid line is seen which keeps progressing bar after bar, until:
• a new TrendLine is formed
• the TrendLine is broken
🔹 Breaks between Swings
Once there is confirmation that a TrendLine can be drawn, the script allows you to filter for breakthroughs on that line. This can be set with "Check breaks between"
Disabled : the initial TrendLine is allowed to be pierced:
Check breaks between point A - point B : no breaks are allowed between both Swing points:
Point A - Current bar : no breaks are allowed between the first Swing point and the point of confirmation ('current' bar):
🔹 TrendLine breaks
As mentioned, the secondary TrendLine (solid line) progresses bar after bar until a new TrendLine is formed or the TrendLine is broken. When a TrendLine is broken, the TrendLine stops progressing, but if there isn't a new TrendLine and price return back, the TrendLine will re-appear, potentially giving several signals when the TrendLine is broken again.
Minimal bars allow you to regulate the amount of signals when the TrendLine is broken.
-> The secondary TrendLine must be uninterrupted for at least x bars before a potential break can be considered.
The following example shows 1 signal against 3 by adjusting this setting from 2 to 5:
🔹 Angles
Angles should normally be calculated when the units of the X and Y axis are the same. However, on our charts, the unit of the X-axis is bar_index (bars), and on the Y-axis the unit is price (¥, €, £, $,...).
It is not easy to normalize and create reasonably valid angles. Often certain angle calculations can differ through price changes or volatility.
Our calculate_slope() function tries to make corresponding angles through all bars.
We do this by calculating the difference between the highest/lowest price values in a certain bar range. The bar range is our X-axis, and the price difference is our Y-axis.
Zooming in/out will not change the amount of bars or the price. Since it does change our view on the chart, and thereby how we see the angles, we have included a setting where you can personalize the ratio between X and Y-axis (Angles -> Ratio X-Y axis).
Settings: Angles - Ratio X-Y axis:
🔶 SETTINGS
🔹 Swings
Length: Lookback period for the detection of swing points.
🔹 Trendline validation
Check breaks between :
Disabled : the initial TrendLine is allowed to be pierced
Check breaks between point A - point B : no breaks are allowed between both Swing points
Point A - Current bar : no breaks are allowed between the first Swing point and the point of confirmation ('current' bar)
Source (breaks) : Source which invalidates TrendLine, default: close
🔹 TrendLine breaks
Minimal bars : The secondary TrendLine must be uninterrupted for at least x bars before a potential break can be considered.
🔹 Angles
Show : Toggle labels.
Ratio X-Y axis : Every user has his preferences regarding zoom, chart layout,...
If the shown angles are not according to your expectations, you can adjust this number.
Only TrendLine between : Only allow TrendLines between the minimum and maximum degrees. Set only the minimal and maximum values above 0.
Angles
Gann Angles EnterpriseThe Gann Angles indicator is a tool based on the methods developed by William Delbert Gann. It is designed to analyze and forecast price movements in financial markets. The indicator automatically calculates the angle scale using Gann, Herzhik, Heliker, and Borovski methods. Additionally, users have the option to manually input their own angle scale.
The Gann methods and those of his followers are based on representing price movements as geometric shapes such as triangles, squares, and circles. Gann believed that price movements adhere to certain patterns and that future changes can be predicted based on these geometric forms.
The Gann Angle indicator allows users to identify the angles of trend and their strength. It plots template lines with different angles of inclination on the price chart, representing support and resistance levels. These levels can be used to determine entry and exit points in the market, as well as to set stop-loss and profit levels.
When automatically calculating the angle scale, the indicator takes into account various factors such as the current trend, market volatility, and the period of analyzed data. It applies relevant formulas and algorithms to determine optimal angles of inclination and create a fan-like pattern of angles.
However, the indicator also provides the option for users to manually input their own angle scale. This allows analysts or traders to customize the indicator according to their own preferences and strategies.
Overall, the Gann Angle indicator is a powerful tool for technical analysis in financial markets. It helps identify key support and resistance levels and provides information about the trend and its strength. Combining the automatic calculation of the angle scale with the option to input a manual scale gives users flexibility and adaptability in using the indicator. They can consider their own preferences, experience, and unique market conditions when determining angles of inclination and support/resistance levels.
It is important to note that the effectiveness of the Gann Angle indicator, whether using an automatic or manual scale, depends on proper analysis and interpretation of the results. Users should have knowledge and understanding of Gann's methods to make informed decisions based on the data provided by the indicator.
In conclusion, the Gann Angle indicator with automatic and manual angle scale calculation provides users with a powerful tool for analyzing and forecasting price movements in financial markets. It combines the fundamental principles of William Delbert Gann's methods with flexibility and customization to meet the needs of various traders and analysts.
The different methods of calculating the scale give traders the flexibility to choose the follower's school they prefer.
The features of the indicator include:
Mandatory knowledge of Gann's methods.
Use as a template for drawing angles and fan patterns.
Selection of scale calculation options:
Heliker
Herzhik
Gann
Borovski
Manual input of the scale
Working principle:
The indicator is used as a template.
After installing the indicator and configuring it, the trader needs to draw a trend line (or a pre-drawn fan) along the desired angle(s).
Without changing the inclination, the trader simply moves this line to the desired extreme for further analysis.
Gann Price LevelsGann Price Level is a powerful indicator based on the methods of the legendary trader William D. Gann. It provides traders with the ability to forecast future targets, both trending and retracement, based on just three anchor points and generates clear entry signals in the form of arrows. This indicator offers broad capabilities that assist traders in making informed decisions and optimizing their trading strategies. Here are a few key features of this indicator:
Calculation of future targets: Gann Price Level allows traders to determine potential price levels that may be reached in the future. It is based on the concept of geometric levels and numerical relationships, making it an effective tool for forecasting future price movements. Its algorithm incorporates geometry, mathematics, and Gann's angular relationships.
Three-point approach: One of the main advantages of Gann Price Level is its ability to work with only three anchor points. Traders need to specify three (ABC) points forming a triangle, and the indicator automatically calculates the target price levels. This simplifies the analysis process and makes it more intuitive.
Entry signals: In addition to forecasting target levels, Gann Price Level provides clear entry signals in the form of arrows. This helps traders identify optimal moments to enter positions, improving the accuracy of their trades.
Timeframes: Gann Price Level can be applied to various time intervals, including both short-term and long-term charts. This allows traders to adapt the indicator to their trading strategies and trade across different markets.
Versatility: Gann Price Level can be used to analyze various financial instruments, including stocks, forex, commodities, cryptocurrencies, and more. This makes it a versatile tool for traders operating in different market segments.
Another key feature of this indicator is the additional level calculation algorithm, which, when working with a trend, forms an optimal gray zone for forming point C, while when calculating retracement levels, it adds an additional magnetic target in the form of a gray zone.
Additionally, traders can combine this indicator with other indicators or chart patterns to obtain more accurate signals and confirmations. Moreover, Gann Price Level works effectively in both upward and downward trends, making it a flexible tool for traders of different trading styles. It can be used to determine potential support and resistance levels, as well as entry and exit points for positions.
Working with this indicator is straightforward. The user needs to select three (ABC) points forming a triangle, and the indicator will automatically calculate the future price targets. An entry arrow will also appear, enabling the user to enter the trade in a timely manner. The stop loss is placed slightly below point C (at the spread distance) for buy trades and above point C (at the spread distance) for sell trades. The first target is represented by a dashed line. Once this target is reached, a portion of the position (usually 50%) is closed, and the stop loss is moved to breakeven. The remaining part of the position is held until subsequent price levels based on personal preferences.
Construction rules:
When calculating targets in an upward trend, point A is below points BC, and point C is always between points AB.
When calculating targets in a downward trend, point A is above points BC, and point C is always between points AB.
When calculating retracement targets in an upward trend, point B is above points AC, point A is always between points BC, and point C is below AB.
When calculating retracement targets in a downward trend, point B is below points AC, point A is always between points BC, and point C is above AB.
This indicator relies entirely on the manual construction of the ABC points by the user.
Display Trade Volume with MA Angle and Price VelocityThis Pine Script indicator is designed to provide traders with a visual representation of trade volume, moving average (MA) angle, and price velocity on a chart. The primary components of this indicator are:
Trade Volume: The indicator compares the current bar's trade volume with the average volume over a user-defined lookback period. The volume is displayed as either "Low" or "Trade" in a table, with red or green background color, respectively, to indicate whether it's below or above the average volume.
MA Angle: The indicator calculates the angle of the moving average (either Simple, Exponential, or Hull) over a user-defined length. A positive angle is shown in green, while a negative angle is shown in red. The angle is displayed in degrees in the table.
Price Velocity: This component calculates the velocity of price movement by comparing the difference between high and low prices over a user-defined lookback period. It then displays the velocity as either "Slow" or "Fast" in the table, with red or green background color, respectively, depending on whether it's below or above the average difference.
The indicator also includes alert conditions for high and low volume situations, notifying the trader when the current bar's volume is significantly higher or lower than the average volume.
Planetary Angles█ OVERVIEW
This script is designed to display dates where a selected planet passes through a degree of your choice! You can select between planets from Mercury to Pluto on both Geocentric settings and Heliocentric settings.
The script also lets you play with styling of how these should be labeled or viewed on your chart!
█ Future Plans and upgrades to this script may include :
1. Integrate statistics and repeat functionality
2. More future dates plotting.
And more! Feel free to contact me with any feature that you would like to see in this script
█ How to use :
1. Open the settings.
2. Enable the Planetary Angles script
3. Select your desired planet
4. Pick your angle.
5. Select between Heliocentric / Geocentric
Then Press OK & give the script a few seconds and you should be set. You can add this script to your chart more than once!
This script is coded as an addon to the Gann ToolBox package/scripts.
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:
Gann FanHello All,
For long time I have been getting many requests about Gann Fan indicator. now we have linefill() function in Pine Language and I think it's right time to make Gann Fan Indicator. Many Thanks to Pine Team for adding many new features to the Pine Language!
How this indicator works:
- It calculates midline (1/1)
- By using midline it calculates other lines (1/2, 1/3, 1/4...etc)
- It calculates highest/lowest Pivot Points in last 280 bars.( by default it's 280 bars, you can change it and pivot period )
- It checks the location of highest/lowest Pivot Points
- After the calculation of the Gann Fan lines, it draws lines, puts Labels and paints the zones between the lines according to the colors set by the user
Long time ago I created a special algorithm for calculating the line with 45 degree and I used it for "1/1" line. Anybody who needs it can use this algorithm freely ;)
Options:
You can change following items;
- The colors
- Transparency. Possible values for transparency are from 0 (not transparent) to 100 (invisible)
- Line styles
- Loopback Period (by default it's 280)
- Pivot Period (by default it's 5)
- Enable/disable Labels
- Label location (by default it's 50
Tradingview Gann Fan page : The Gann Fan is a technical analysis tool created by WD Gann. The tool is comprised of 9 diagonal lines (extending indefinitely) designed to show different support and resistance levels on a chart. These angles -drawn from main tops and bottoms- divide time and price into proportionate parts and are often used to predict areas of support and resistance, key tops and bottoms and future price moves. Please note that the chart needs to be scaled properly to ensure the market has a square relationship....
Enjoy!
Triple-Angle Trend SignalAn enhancement and iteration of lmatl's "angle bar colors " to enable multiple angle bars (up to 3) each with customisable price sources, angle periods, thresholds of degrees, line thicknesses and colours. Full history is displayed of when the selected angle bars have all been within higher degrees (green background) and lower degrees (red background).
This indicator is useful when it is customised to suit individual charts where it can specify conditions to find entries on uptrends and exits on downtrends.
Financial Astrology Moon-Neptune Longitude AngleMoon-Neptune indicator show the angular distance in longitude between Moon and Neptune and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Neptune rules confusion, imagination, waste, crime, intuition, occult, scandal, illusion and dreams. The Moon is the strengthen/weakening emotion that trigger the illusion of unlimited growth and unrealistic expectations, in other words, pyramidal scams and market bubbles.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Neptune longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Uranus Longitude AngleMoon-Uranus indicator show the angular distance in longitude between Moon and Uranus and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Uranus rules change, innovation, disruption, inventions, revolutions and technology. The Moon is the strengthen/weakening emotion that trigger the desire to change and invest in revolutionary industries / ideas.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Uranus longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Saturn Longitude AngleMoon-Saturn indicator show the angular distance in longitude between Moon and Saturn and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Saturn rules temperance, rectitude, constancy, greed, fear and pessimism. The Moon is the strengthen/weakening emotion that trigger the desire to be safe and take precautions.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Saturn longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Jupiter Longitude AngleMoon-Jupiter indicator show the angular distance in longitude between Moon and Jupiter and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Jupiter rules expansion, optimism, enthusiasm, joviality and devotion. The Moon is the strengthen/weakening emotion that trigger the desire to expand investments and returns, explore new makets and enjoy happiness.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Jupiter longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Pluto Longitude AngleMoon-Pluto indicator show the angular distance in longitude between Moon and Pluto and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Pluto rules the transformations, intense actions (no limits), issues with control and power, excess, destruction. The Moon is the strengthen/weakening emotion that trigger uncontroled risk, and excesive fear or euphoria.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Pluto longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Mars Longitude AngleMoon-Mars indicator show the angular distance in longitude between Moon and Mars and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology, Mars rules impulsive/risky actions and Moon is the strengthen/weakening emotion that trigger the desire to enter a trade without thinking too much in the risks or inclusive looking the risk adrenaline.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Mars longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Venus Longitude AngleMoon-Venus indicator show the angular distance in longitude between Moon and Venus and labels the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points. In financial astrology Venus rules speculation, bets and entertainment (gamblers traders) and Moon is the strengthen/weakening emotion that trigger the desire to bet and gamble.
For any Moon aspects indicator we recommend to use 1H or 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
Due to the limited UTF (Unicode Transformation Format) support of classical astrology aspects symbols, we needed to use a custom subset to represent the aspects:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
Note: The Moon-Venus longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
Financial Astrology Moon-Sun Longitude AngleMoon-Sun longitude indicator show the angular distance in longitude between Sun and Moon and mark the angles that represent the astrological aspects used by financial astrologers to determine the energy trigger points.
Consider that due to UTF (Unicode Transformation Format) charset limited support of the classical astrology aspects symbols, we needed to use a custom selection of UTF characters to represent the astrological aspects angles. This are different than the ones used by astrology, however, this was the only solution we found to symbolize the aspects. Hopefully, once you are familiarized with this symbols, will be quite simple to identify the aspect type. Additionally, if you hover your mouse over the aspect symbol you are able to see a tooltip of with the aspect name.
Please note that for any Moon aspects indicator we recommend to use 1H, 2H resolution to locate the exact aspect angle, this is because Moon moves very fast at average of 13 degrees per day.
The symbols we used to represent the astrological aspects are:
⊚ = 0 degrees angle (conjuction)
⧌ = 30 degrees angle (semi-sextile)
⧆ = 45 degrees angle (semi-square)
⨺ = 60 degrees angle (sextile)
⧄ = 90 degrees angle (square)
⨹ = 120 degrees angle (trine)
⧇ = 135 degrees angle (sesqui-square)
◭ = 150 degrees angle (quincunx or inconjunct)
⚇ = 180 degrees angle (opposition)
We are happy to demonstrate to all the traders that believe that Moon phase is enough to determine the pivot points that this assumption is incorrect. Astrology works but not with Moon alone as you can verify combining all the indicators that the Financial Astrology Research group have contributed in TradingView platform.
Note: The Moon-Sun longitude angle indicator is based on an ephemeris array that covers years 2010 to 2030, prior or after this years the data is not available, this daily ephemeris are based on UTC time so in order to align properly with the price bars times you should set UTC as your chart timezone.
binary angelMeasure angles of many indicators and create score base on this information, it can be use as helper for direction decision in binary option or classic trading
Reference Angle Function - for developers█ OVERVIEW
This function should give you a correct output in a circle of 360°. It is meant to be used by developers/pine-script-coders to figure out reference angles.
Conditions :
1. If the angle given to this function is in between 0-360 then it would give you the same angle without any modifications
2. If the angle given is greater than 360° - for example : 540°, - then it would output 180° which is the angle after a complete revolution.
3. If the angle given is negative, then it would go counter clockwise and give you the angle.
4. If the angle is negative and less than -360°, then it would also give you the actual correct degree after counting the revolution and flipping it to positive.
Feel free to play with it or use it if you need to. I already included some test inputs to show you how it would work.
Cosmic AngleThis is a histogram that can display a moving average's angle and also show how volatile the change in angle is.
To use:
Add any moving average indicator to the chart
Click that indicator's More > Add Indicator on (MA)
Select the Cosmic Angle indicator
Adjust the Cosmic Angle 's Price To Bar Ratio value to reflect that of your chart's
Adjust the Cosmic Angle 's Threshold as per your liking (*1)
(*1) This setting affects the bar colors. It represents the minimum difference in degrees between the n and n-1 bars' angle to force a change of color.
angle bar colors [LM]Hello guys,
I would like to introduce you angle bar colors indicator. It colors bars depending the angle of the bar x length back and current one
lime angle > 70 degrees
green 20 < angle < 70 degrees
orange 0 > angle <= 20 degrees
purple 0 > angle >= -20 degrees
red -20 > angle > -70 degrees
maroon angle < -70 degrees
Any suggestions are welcome
Price AnglesA script to draw Price Angles and Time Levels given Cycle start point, Cycle space (size), Cycle type ( Bullish / Bearish ), Cycle shape, Time levels space, Time levels count
Makes it easier for you to find where a cycle could end
All shapes are included (Circular, Straight Line, Triangular, Square, Pentagon, Hexagon, Heptagon, Octagon, Nonagon, Decagon)
Everything is customize-able, you can customize Angles text color and position, Main angles lines color and style, Secondary angles lines color and style and Time levels color and style
You can disable drawing Time levels as well
My Telegram :- @Kirolos_T
Price angles indicatorAn indicator to draw price angles, given the cycle start point, cycle type (bullish / bearish) , space and shape. It can help you to determine where a cycle gonna end