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 MIT
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.2.2.tar.gz (4.3 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.2.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Windows/11

File hashes

Hashes for mtcli_atr-1.2.2.tar.gz
Algorithm Hash digest
SHA256 f35acc53ef6c22ca1a82c4100a6a6389b6b208f959a3a879af029a9dc16c8aa9
MD5 9e7bced4f0a7bb457f7dd28149ed3d57
BLAKE2b-256 df5b97b883a4952565cf828656148dc3373bee8137425fd0ea748b3d80fce360

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Windows/11

File hashes

Hashes for mtcli_atr-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35dd7e5d6e2936b23d926d4a7d72f5cfc096cd2a702a4a1d40eea78f6dc5f7bb
MD5 c0911093aca23576ac12ca74cf82e758
BLAKE2b-256 0ba10e4523a1c81faa3d08f588b93bd68351ed6bff051b6b61aa367b3368532b

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