Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mtcli_rsi-1.0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mtcli_rsi-1.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file mtcli_rsi-1.0.2.tar.gz.

File metadata

  • Download URL: mtcli_rsi-1.0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Windows/11

File hashes

Hashes for mtcli_rsi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 83f6702ac5bf80130048eb7efab79a3c01f6ba7c4c5f5e714fe4913dd08082e0
MD5 0eb2d107a1be1ac4209c4340b95f793d
BLAKE2b-256 306364f67ace45f1a2f24b068fd9cf393841f6804db28b5f22d3d954123ea32f

See more details on using hashes here.

File details

Details for the file mtcli_rsi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mtcli_rsi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.12 Windows/11

File hashes

Hashes for mtcli_rsi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3484c87aafa0e84a1daea194ab53f93d0511d5eaf33ee08f3863b91b5fbdb04d
MD5 dee2d103cb4407a8265cfa3de6229b23
BLAKE2b-256 1a768018501c8b69c579280443862be95761cbfa287b56bfc0a466d31f0dc498

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