OPEN-SOURCE SCRIPT

Price Level Stats (PLS)

Обновлено
Hello traders! In today's post, we're going to delve into a powerful custom indicator called Price Level Stats (PLS). This indicator combines the functionalities of Arbitrary Price Point Probability (APPP) and Bar Movement Probability (BMP) to create an easy-to-use tool that displays price levels and their corresponding probabilities based on percentage steps away from the current price. Let's explore how PLS works and how you can effectively utilize it in your trading strategy.

Overview of Price Level Stats (PLS)

The PLS indicator combines the APPP and BMP indicators, leveraging both their strengths to create a more comprehensive and versatile tool. The indicator calculates the probabilities of different price levels being reached, based on historical price data, and displays them on your chart. This tool allows you to analyze various price points with different percentage steps away from the current price, providing valuable insights into potential market movements.

Key Components of PLS

EMA Calculation: The PLS indicator uses the Exponential Moving Average (EMA) to calculate the mean of the price data. This calculation is necessary for determining the probabilities associated with various price levels.

Price Movement Probability (T-Dist) Function: This function calculates the price movement probability using the Student's T-distribution. This statistical method is advantageous for small sample sizes and allows for more accurate probability estimations.

Step Size and Steps: The indicator allows you to define the step size (percentage away from the current price) and the number of steps to analyze. This customization enables you to explore various price levels and their associated probabilities.

Drawing Probability Labels: PLS displays the calculated probabilities as labels on your chart, providing you with an easy-to-understand visual representation of the likelihood of specific price levels being reached.

Using PLS in Your Trading Strategy

Setting the Source and Step Size: Start by configuring the source (typically set to open) and the step size. The step size determines the percentage distance between the price levels you want to analyze. For instance, a step size of 0.2 means you will analyze price levels at 0.2%, 0.4%, 0.6%, and so on, away from the current price.

Configuring the Steps: Next, set the number of steps you want the indicator to analyze. This setting determines how many price levels the indicator will evaluate on both the bullish and bearish sides.

Choosing the Style: The PLS indicator offers three different styles: Bar Estimate, Log Bar Estimate, and Student's T. Bar Estimate and Log Bar Estimate utilize the BMP method, while the Student's T style uses the T-distribution function for probability calculations. Choose the style that best suits your trading strategy and preferences.

Interpreting the Probability Labels: Once you have configured the indicator settings, PLS will display the calculated probabilities as labels on your chart. These labels represent the likelihood of the associated price levels being reached. Use these probabilities to make informed trading decisions and manage your trades more effectively.

Benefits of the PLS Indicator

Comprehensive Analysis: By combining the functionalities of APPP and BMP indicators, PLS provides a more comprehensive analysis of potential price movements, helping you to make better-informed trading decisions.

Customization and Flexibility: PLS offers a high level of customization, allowing you to analyze various price levels and choose from different styles to suit your trading strategy and preferences.

Easy-to-Understand Visual Representation: The PLS indicator displays the calculated probabilities as labels on your chart, providing you with an easy-to-understand visual representation of the likelihood of specific price levels being reached. This visual representation allows you to quickly assess the market situation and make more informed decisions.

Versatility: The PLS indicator is versatile and can be used in conjunction with other technical analysis tools or as a standalone tool for assessing the probabilities of price movements. This versatility makes it a valuable addition to any trader's toolbox.

Improved Risk Management: By providing insight into the probabilities of various price levels being reached, the PLS indicator helps traders improve their risk management strategies. You can use these probabilities to set more accurate stop-loss and take-profit levels or to better time your entries and exits.

Customizing the PLS Indicator: Controls and Their Effects

The PLS indicator offers several controls that allow you to customize the output to better suit your trading needs. Understanding how these controls affect the output is essential for making the most out of this powerful tool. Below, we will discuss the two main controls - Step and Step Size - and explain their impact on the PLS indicator's output.

Step: The 'Step' control determines the number of steps taken away from the current price when calculating price levels and their associated probabilities. By increasing or decreasing the number of steps, you can adjust the range of price levels considered by the PLS indicator. For example, if you set the step value to 5, the PLS indicator will calculate probabilities for five price levels above and five price levels below the current price. Adjusting the number of steps allows you to focus on price levels that are more relevant to your trading strategy, helping you make better-informed decisions.

Step Size: The 'Step Size' control dictates the percentage distance between each step, which directly impacts the price levels being analyzed. For instance, if you set the step size to 0.5%, each price level considered by the PLS indicator will be 0.5% away from the previous one. A larger step size will result in a broader range of price levels being assessed, while a smaller step size will provide a more granular view of the price levels surrounding the current price. Adjusting the step size enables you to fine-tune the PLS indicator according to your preferred level of detail, allowing you to better analyze the probabilities associated with specific price movements.

By customizing the 'Step' and 'Step Size' controls, you can tailor the PLS indicator to your specific trading needs and preferences. These controls enable you to analyze a wide range of price levels or focus on a narrow range, depending on your strategy and risk tolerance. Experimenting with different combinations of step and step size values will help you find the optimal settings for your trading style and goals.

Conclusion

The Price Level Stats (PLS) indicator is a powerful tool that combines the strengths of the Arbitrary Price Point Probability (APPP) and Bar Movement Probability (BMP) indicators to provide traders with an easy-to-use system for analyzing potential price movements. By offering comprehensive analysis, customization, and easy-to-understand visual representation, PLS is an invaluable tool for traders looking to improve their trading strategies and risk management. Be sure to incorporate this versatile indicator into your trading arsenal to gain valuable insights into the probabilities of price levels being reached and make more informed trading decisions.
Информация о релизе
fixed the min step
Информация о релизе
lol now its fixed
Информация о релизе
minor fix
apppbmmpBMPbmppstatistics

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


Мои профили:

Отказ от ответственности