VanHe1sing

Price Sextant

VanHe1sing Mis à jour   
The provided Pine Script™ code is for a technical analysis indicator called "Price Sextant." This indicator helps visualize the price position relative to its linear regression and standard deviation levels. Here's a brief description:


Price Sextant Indicator:

  • Purpose:
    The Price Sextant indicator aims to show the current price's deviation from the linear regression line by dividing the price chart into different zones or sextants.

    Components:
  • Linear Regression: The script calculates a linear regression line based on the closing prices over a specified length (default is 50 bars).

  • Standard Deviation Sections: It then computes standard deviation levels from the linear regression, creating upper and lower sections around the regression line.

  • Scoring: Each section is assigned a numerical score, and labels with corresponding scores are displayed on the chart.

  • Arrow and Midline: An arrow is drawn to indicate the current price's position in relation to the regression line and standard deviation bands. It changes color based in what section it is:
    orange section shows a ranging price, below orange section -1 arrow turns red and show down trend and if arrow above +1 section it turns green and show strong up trend of price.
    A midline is plotted to mark the position of the linear regression line.

Sextant Description:
In navigation, a sextant is an instrument used to measure the angle between two visible objects.
In the context of this indicator, the term "Sextant" is likely used metaphorically to describe the division of the price chart into six sections or zones based on the linear regression and standard deviation bands.

This indicator can help traders identify potential overbought or oversold conditions, as well as assess the strength and direction of the trend.


Please note that the effectiveness of the indicator depends on various factors, and it's advisable to use it in conjunction with other analysis tools for a comprehensive trading strategy.
Notes de version:
+ Bar Color
Notes de version:
Update of chart
Notes de version:
Visual Update


Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?