DukeDoobie1111

Planetary Tunings Moving Averages

DukeDoobie1111 업데이트됨   
The Pine Script "Planetary Tunings Moving Averages" is a unique tool that plots moving averages (MAs) on a chart, representing the wavelengths of different planets as derived from the book Quadrivium. These wavelengths, also referred to as 'planetary tunings', are related to the orbital resonance of each planet.

Each planetary tuning value is first transformed into a whole number by multiplying it by 1000 and removing the decimal. This whole number is then used as the length parameter for a Simple Moving Average (SMA) function. This function calculates the average of the closing prices over the defined number of periods, thereby creating a moving average line on the chart.

The moving average lines are color-coded according to the planet they represent, allowing for quick and easy interpretation. For example, Mercury's moving average line is blue, Venus's line is orange, and so forth. These colors can be adjusted directly in the Pine Script code if desired.

Additionally, the script computes the mean of all these moving averages and plots it on the chart. This line provides an overall trend line, summarizing the collective behavior of all the planetary tuning moving averages.

The drawings in the chart are fib channels and fib circles that I use to capture liquidity in time.

Please note that this script is written for Pine Script Version 4. It's crucial to ensure your TradingView platform is compatible with this version. For any issues or further clarification, consider referring to TradingView's Pine Script documentation or its community forums.
릴리즈 노트:
The updated Pine Script, "Planetary Tunings Moving Averages," incorporates an additional moving average (MA) to account for Bode's Law. This law is a mathematical relationship that predicts the approximate distances of planets from the Sun based on a simple formula.

The script begins by converting the decimal values of the planetary tunings into integers. Each integer value serves as the length parameter for a Simple Moving Average (SMA) calculation. The SMA function computes the average of the closing prices over the specified periods, resulting in moving average lines for each planet.

In addition to the individual planetary tuning moving averages, the script now includes a moving average that represents Bode's Law. The length of this moving average is determined by summing the values of all the planetary tunings and dividing the sum by the number of planets. This average length is then used as the parameter for the SMA function, generating the Bode's Law moving average line.

To enhance visual clarity and facilitate interpretation, each moving average line is assigned a specific color corresponding to the respective planet. For example, the moving average line for Mercury is blue, Venus is orange, Earth is teal, and so forth. The color scheme can be customized within the Pine Script code to suit personal preferences.

Additionally, the script calculates the mean of all the planetary tuning moving averages, including the Bode's Law moving average. This mean moving average provides an overall trend line, summarizing the collective behavior of the planetary tunings and Bode's Law.

The chart may also display Fibonacci channels and Fibonacci circles, which are visual tools used to capture liquidity over time. These graphical elements can help identify potential support and resistance levels in the market.

It's important to note that this script is written for Pine Script Version 4. To ensure compatibility, please verify that your TradingView platform supports this version. If you encounter any difficulties or require further clarification, referring to TradingView's Pine Script documentation or engaging with the community forums would be beneficial.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?