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.2.0.tar.gz (15.4 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.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.0.tar.gz
  • Upload date:
  • Size: 15.4 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.2.0.tar.gz
Algorithm Hash digest
SHA256 613d0981e2748a50b2eebc12dcf8f149a35c22b6da4f0a2877e3e806cee00808
MD5 0de5d61d7c960f8d888956ac8b5cb8a4
BLAKE2b-256 d097614e63f51693b8d07d84a6fa91434f764a6667143bf17f41d439739cba12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 254cb39e71dddfacd62364540392252a369c61e5c73ec5ec8e96f0ad18fd51fe
MD5 7911e8167215f2f8036acac00190fc3f
BLAKE2b-256 3fd3c5ff027882c11f6d998c0bd5578ce737d25472738066c8d6647474ae5e53

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