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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mtcli_atr-1.2.2.tar.gz | 4.3 kB | Without provenance | Details for mtcli_atr-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mtcli_atr-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for mtcli_atr-1.2.2-py3-none-any.whl |
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
|
Security for mtcli-atr 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.