OPEN-SOURCE SCRIPT

Price Sextant

Actualizado
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.
    imagen
  • Scoring: Each section is assigned a numerical score, and labels with corresponding scores are displayed on the chart.
    imagen
  • 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.
    imagen


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.
imagen

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


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.
Notas de prensa
+ Bar Color
Notas de prensa
Update of chart
Notas de prensa
Visual Update

imagen
Bands and ChannelseducationaleducationalideasextantTrend Analysistrendfollowingtrendlineanalysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


También en:

Exención de responsabilidad