OPEN-SOURCE SCRIPT

Price Sextant

已更新
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.
發布通知
+ Bar Color
發布通知
Update of chart
發布通知
Visual Update

快照
Bands and ChannelseducationaleducationalideasextantTrend Analysistrendfollowingtrendlineanalysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明