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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
613d0981e2748a50b2eebc12dcf8f149a35c22b6da4f0a2877e3e806cee00808
|
|
| MD5 |
0de5d61d7c960f8d888956ac8b5cb8a4
|
|
| BLAKE2b-256 |
d097614e63f51693b8d07d84a6fa91434f764a6667143bf17f41d439739cba12
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
254cb39e71dddfacd62364540392252a369c61e5c73ec5ec8e96f0ad18fd51fe
|
|
| MD5 |
7911e8167215f2f8036acac00190fc3f
|
|
| BLAKE2b-256 |
3fd3c5ff027882c11f6d998c0bd5578ce737d25472738066c8d6647474ae5e53
|