Skip to main content

Plugin mtcli do indicador ATR

Project description

mtcli-atr

Plugin do mtcli para calcular o indicador ATR (Average True Range) via linha de comando, usando dados do MetaTrader 5.


Requisitos

  • Python ≥ 3.10
  • MetaTrader 5 instalado e configurado
  • Conta ativa em corretora compatível com MT5

Instalação

Instale o plugin via pip:

pip install mtcli-atr

Uso

mt atr --symbol IBOV --period D1 --bars 14

Parâmetros

Parâmetro Descrição Padrão
--symbol, -s Símbolo do ativo IBOV
--period, -p Timeframe das barras (ex: M1, H1, D1) D1
--bars, -b Quantidade de barras para o cálculo do ATR 14

Exemplo completo

mt atr -s PETR4 -p H1 -b 10

Exemplo de saída esperada:

ATR(10) de PETR4 no timeframe H1: 123.45

Contribuindo

Para instruções de desenvolvimento, estrutura de código e testes, veja o arquivo CONTRIBUTING.md.


Licença

Este projeto está licenciado sob a GNU General Public License v3.0.
Veja o arquivo LICENSE para mais detalhes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mtcli_atr-1.1.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mtcli_atr-1.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file mtcli_atr-1.1.0.tar.gz.

File metadata

  • Download URL: mtcli_atr-1.1.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11

File hashes

Hashes for mtcli_atr-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d5742d6b9bd76c2500823534d5015dd7fb08eabfc65442db68dfd0eaa1cc0fc9
MD5 7d914af584e4ccdc7f287358c2d47fac
BLAKE2b-256 9edf7bd456dd11a4bf93720cc7a7868d1189b2c841ab5132840895e8ebf5b174

See more details on using hashes here.

File details

Details for the file mtcli_atr-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: mtcli_atr-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11

File hashes

Hashes for mtcli_atr-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98229d1597bb3378dab32a058b8e98443b56afa6ce824c27b81d69822e0ea065
MD5 879fc78023d567907d13a0d11fa2b0d3
BLAKE2b-256 4f12650272a6a8b059479db03dc979aa9fd43ba176eb61cb628e4e348c59af7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page