Skip to main content

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.

Metadata

Release files for mtcli-atr 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtcli-atr 1.2.2
File Size Uploaded
mtcli_atr-1.2.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mtcli-atr 1.2.2
File Interpreter ABI Platform
mtcli_atr-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / mtcli_atr-1.2.2.tar.gz

Download URL mtcli_atr-1.2.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f35acc53ef6c22ca1a82c4100a6a6389b6b208f959a3a879af029a9dc16c8aa9
BLAKE2b-256 checksum
How to use checksums
df5b97b883a4952565cf828656148dc3373bee8137425fd0ea748b3d80fce360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.12 Windows/11

Release files / mtcli_atr-1.2.2-py3-none-any.whl

Download URL mtcli_atr-1.2.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35dd7e5d6e2936b23d926d4a7d72f5cfc096cd2a702a4a1d40eea78f6dc5f7bb
BLAKE2b-256 checksum
How to use checksums
0ba10e4523a1c81faa3d08f588b93bd68351ed6bff051b6b61aa367b3368532b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.12 Windows/11

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page