OPEN-SOURCE SCRIPT

Custom Weekly EMA on Daily Chart - RomaGPT

### Script Description

This Pine Script calculates and plots an **Exponential Moving Average (EMA)** based on weekly periods on a daily chart. It allows the user to select the number of weeks directly in the indicator's settings, and the weekly period is automatically converted into days for the EMA calculation.

### Features:
1. **Customizable Input**:
- The user can configure the number of weeks for the EMA in the indicator settings.

2. **Automatic Conversion**:
- The weekly period is converted into days to ensure compatibility with the daily chart.

3. **Clear Visualization**:
- The EMA is displayed on the chart as a blue line for easy visual analysis.

This indicator is ideal for users who want to track long-term (weekly) trends while working on daily charts

PT-BR:
### Descrição do Script

Este script em Pine Script calcula e plota uma **Média Móvel Exponencial (EMA)** com base em períodos semanais no gráfico diário. Ele permite que o usuário escolha o número de semanas diretamente nas propriedades do indicador, e o período em semanas é automaticamente convertido para dias para o cálculo da EMA.

### Funcionalidades:
1. **Escolha Personalizável**:
- O usuário pode configurar o número de semanas para a EMA nas propriedades do indicador.

2. **Conversão Automática**:
- O período em semanas é convertido para dias, garantindo a compatibilidade com o gráfico diário.

3. **Plotagem Clara**:
- A EMA é exibida no gráfico como uma linha azul, permitindo uma análise visual fácil.

Este indicador é ideal para quem deseja acompanhar tendências de longo prazo (semanal) enquanto trabalha em gráficos diários.
Moving Averagesmultitimeframeregressions

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

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

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

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