PINE LIBRARY

Cometreon_Public

86
📚 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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.