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.1.tar.gz (15.5 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.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

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

Hashes for mtcli_rsi-1.0.1.tar.gz
Algorithm Hash digest
SHA256 73deb4ef1d7427d6fcbb0b78ec92f5b6a8aaf68c50c29f1bf8ddf678b5c5fb7f
MD5 11e13997b90af9fe94bbd95a00a52304
BLAKE2b-256 a2d9eea9813f9d937e14fe978416ca1d1af7c8adb9902de3dfae1914df7e0d30

See more details on using hashes here.

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

Hashes for mtcli_rsi-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd7d800f1da43c0cda60ea558ee2593c76353e670a1b0168ccf91f7eca5e6169
MD5 c782ddf1268decaf4ef9a0366e538cf7
BLAKE2b-256 c0843ce852293535fb3671f8e949773e1bb4c18473b9b6f424ee6f647dce6247

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