Plugin mtcli do indicador RSI
Project description
mtcli-rsi
Plugin do mtcli para calcular e exportar o indicador RSI (Relative Strength Index) a partir do MetaTrader 5 usando a linha de comando.
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-rsi
Uso
mt rsi --symbol WINN --period M5 --periodo 9 --bars 20
| Parâmetro | Descrição | Padrão |
|---|---|---|
| --symbol, -s | Símbolo do ativo | WINN |
| --period, -p | Timeframe dos candles (ex: M1, M5, H1, D1) | M5 |
| --periodo, -pe | Período do RSI | 9 |
| --bars | Quantidade de candles | 20 |
| --db | Arquivo SQLite onde salvar os dados | rsi.db |
Armazenamento
Os resultados do RSI são salvos em um arquivo SQLite com as colunas:
- RSI: valor do RSI (arredondado)
- close: preço de fechamento
- time: timestamp do candle
Exemplo de uso
mt rsi -s PETR4 -p M15 -pe 14 -bars 50 --db indicadores.db
Contribuindo
Quer contribuir com o desenvolvimento, testes ou melhorias? Veja o arquivo CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
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_rsi-1.0.1.tar.gz.
File metadata
- Download URL: mtcli_rsi-1.0.1.tar.gz
- Upload date:
- Size: 15.5 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 |
73deb4ef1d7427d6fcbb0b78ec92f5b6a8aaf68c50c29f1bf8ddf678b5c5fb7f
|
|
| MD5 |
11e13997b90af9fe94bbd95a00a52304
|
|
| BLAKE2b-256 |
a2d9eea9813f9d937e14fe978416ca1d1af7c8adb9902de3dfae1914df7e0d30
|
File details
Details for the file mtcli_rsi-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mtcli_rsi-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.6 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 |
bd7d800f1da43c0cda60ea558ee2593c76353e670a1b0168ccf91f7eca5e6169
|
|
| MD5 |
c782ddf1268decaf4ef9a0366e538cf7
|
|
| BLAKE2b-256 |
c0843ce852293535fb3671f8e949773e1bb4c18473b9b6f424ee6f647dce6247
|