OPEN-SOURCE SCRIPT

[blackcat] L1 Larry Williams VixFix Indicator

ที่อัปเดต:
Level : L1

Larry Williams, had this idea to create a synthetic VIX for more than just the main stock indices. Check out the formula for Williams VixFix:

```
VIX Fix Formula = (Highest(Close, 22) – Low) / (Highest(Close, 22)) * 100
```

What does this even mean? In normal person terms, here's what it's all about:

1. Find the highest close over the last 22 days and subtract today's low (or the current bar).
2. Divide that by the highest close of the past 22 days.
3. Multiply the result by 100 to "normalize" the indicator.

Why 22 days, you ask? That's how long the normal month of trading days is.

So, you see, the formula is pretty chill. It's just a way to measure the price volatility of the last 22 trading days. It's a bit of a lagging indicator, but it gets the job done.

Here my version of this scriptcreates a custom technical indicator called "L1 Larry Williams VixFix" that measures the distance between the highest high and the lowest low of a security's price over a specified period.

The user can adjust the period length and source price used in the VixFix calculation. The period length is set to 22 by default, but can be modified by the user with the "Length" input parameter. The source price is set to "close" by default, meaning it will use the closing price of each bar to calculate the VixFix. However, the user can also choose a different type of price data, such as open, high, or low.

The VixFix is calculated as a percentage of the difference between the highest close and the lowest low over the specified period. This percentage is then multiplied by 100 to create a more readable value.

Finally, the code plots the VixFix line on the chart with a yellow color and a thickness of 2. This allows the user to easily visualize the VixFix value and incorporate it into their trading decisions.

Overall, this script provides a powerful tool for technical analysis that can help traders identify potential trend changes and market reversals.
เอกสารเผยแพร่
upgrade to v5
เอกสารเผยแพร่
upgrade to v5
blackcat1402Volatility

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

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

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


Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
และใน:

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