OPEN-SOURCE SCRIPT

Position Sizer by Volatility

โดย Alex_Dyuk
Description:
The **Position Sizer by Volatility (PSV)** is an indicator that helps traders determine what percentage of their deposit a position will occupy, taking into account the current market volatility. PSV calculates the range of price movements over recent periods and shows how large this movement is compared to historical data. The lower the value, the lower the volatility, and the smaller the stop-loss required relative to the current price.

Explanation of PSV Parameters:
- `len` (Period Length):** This parameter sets the number of candles (bars) on the chart that will be used to calculate volatility. For example, if `len` is set to 250, the indicator will analyze price movements over the last 250 bars. The larger the value, the longer the period used for volatility assessment.

- `percent` (Percentile):** This parameter determines how strong price fluctuations you want to account for. For instance, if you set `percent` to 95, the indicator will focus on the 5% of instances where the price range was the largest over the specified period. This helps evaluate volatility during periods of sharp price movements, which may require a larger stop-loss. A higher percentile accounts for rarer but stronger movements, and vice versa.
riskvolatilitVolatility
Alex_Dyuk

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ