PINE LIBRARY

Cometreon_Public

743
📚 Cometreon Public Library – Advanced Functions for Pine Script

This library contains advanced functions used in my public indicators on TradingView. The goal is to make the code more modular and efficient, allowing users to call pre-built functions for complex calculations without rewriting them from scratch.

🔹 Currently Available Functions:

1️⃣ Moving Average Function – Provides multiple types of moving averages to choose from, including:
  1. SMA (Simple Moving Average)
  2. EMA (Exponential Moving Average)
  3. WMA (Weighted Moving Average)
  4. RMA (Smoothed Moving Average)
  5. HMA (Hull Moving Average)
  6. JMA (Jurik Moving Average)
  7. DEMA (Double Exponential Moving Average)
  8. TEMA (Triple Exponential Moving Average)
  9. LSMA (Least Squares Moving Average)
  10. VWMA (Volume-Weighted Moving Average)
  11. SMMA (Smoothed Moving Average)
  12. KAMA (Kaufman’s Adaptive Moving Average)
  13. ALMA (Arnaud Legoux Moving Average)
  14. FRAMA (Fractal Adaptive Moving Average)
  15. VIDYA (Variable Index Dynamic Average)


2️⃣ Custom RSI – Uses the Moving Average function to modify the calculation method, with an additional option for a dynamic version.

3️⃣ Custom MACD – Uses the Moving Average function to modify the calculation method, with an additional option for a dynamic version.

4️⃣ Custom Alligator – Uses the Moving Average function to modify generic calculations, allowing users to change the calculation method.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。