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.1.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.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 aca48faad9643e0337503056d8aafa62e789791681888472571743a86e02f62b
MD5 9bf48e5730e18fcb320983cf5d5582b6
BLAKE2b-256 779875357d22244f6868184abb6b4dc6e43e04ff3e6d8aa397a277c8b76c4929

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mtcli_atr-1.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 908c16aaf163bd2aacc402f4dd4a76a9fc1c013411b3b092654d3849b3125a56
MD5 833b94bb174f5b4fbb81461d6527cc8a
BLAKE2b-256 8807dc0854b175844311b7c9c85a7cc4d63d68306f7459e377fbcb49951d6ed2

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