Gunbot wiki
Wiki em português
English
English
  • Welcome to the Gunbot wiki
  • About
    • What's new?
      • New in v22
      • New in v20
      • New in v18
      • New in v16.7+
      • New in v16
      • New in v15
      • New in v13 / v14
      • New in v12
      • New in v11
      • New in v10
      • New in v9
      • New in v8
      • New in v7
      • New in v6
    • Supported exchanges
      • Creating API keys
      • Websockets support
    • License info & system specs
      • How to create a wallet
    • Purchasing Gunbot
  • Setup & general settings
    • Installation & startup
      • Quickstart guide
      • Download software
      • Windows installation
      • macOS installation
      • Linux installation
      • ARM installation
      • How to enable SSL/TLS
      • Running multiple instances
      • Headless mode
    • Global settings
      • Import settings
      • Bot settings
      • Cancel orders
      • Advanced
    • Profile settings
      • Exchanges
      • Gunthy wallet
      • Edit license
      • GUI authentication
      • Telegram
      • Tournament
  • How to work with Gunbot
    • Learning the basics
      • Trading logic
      • Important settings
      • Order types
      • Period
      • Trailing
      • ROE trailing
    • Strategies & pairs
      • Easy edit
      • Strategy editor
      • Trading pairs
        • Pair processing
    • Chart & results
    • Extra modules
      • AutoConfig
      • Backtesting
      • Code editor
      • TradingView Alerts
        • IMAP listener
      • Alerts (beta)
  • Trading strategy options
    • About Gunbot strategies
      • Trading methods
      • Protections
    • Regular strategies (spot trading)
      • ADX
      • ATRTS
      • Bollinger Bands
      • Bollinger Bands (TA)
      • EMA spread
      • Emotionless
      • Gain
      • Ichimoku
      • MACD
      • MACDH
      • Pingpong
      • Stepgain
      • Spotgrid
      • Spotgrid Advanced
      • StepGrid
      • SMA cross
      • Support / Resistance
      • Tssl (trailing stop / stop limit)
      • Time series analysis
    • Margin trading strategies
      • ADX
      • ATRTS
      • Bollinger Bands
      • Bollinger Bands (TA)
      • EMA spread
      • Futures Grid
      • Gain
      • Ichimoku
      • MACD
      • MACDH
      • Pingpong
      • Stepgain
      • SMA cross
      • Tenkan
      • Tssl (trailing stop / stop limit)
      • Time series analysis
    • Custom strategies
    • Balance settings
    • Confirming indicators
    • Dollar Cost Avg (DCA)
    • Reversal trading (RT)
    • TrailMe
    • Misc settings
  • More
    • Config marketplace
  • Various
    • Backups
    • Logs
    • Handling bags
    • Acronyms
  • Troubleshooting
    • Critical errors
    • Bot does not trade
    • Reset password
Powered by GitBook
On this page
  • Settings descriptions
  • Enabled (IMAP listener)
  • Authorized froms
  • User
  • Password
  • Host
  • Port (IMAP)
  • TLS
  • rejectUnauthorized

Was this helpful?

  1. How to work with Gunbot
  2. Extra modules
  3. TradingView Alerts

IMAP listener

Settings to connect Gunbot to an IMAP email box, to receive alerts for the TradingView add-on.

PreviousTradingView AlertsNextAlerts (beta)

Last updated 4 years ago

Was this helpful?

The IMAP listener settings are only needed when you use the TradingView add-on to let Gunbot execute email alerts.

Using these settings, Gunbot connects to the email address where alerts are sent to.

To change them, go to ⋮ > TradingView Alerts > Email listener

Tips for Gmail users

  • enable access for ""

  • use an if you use 2FA for your Google account

Settings descriptions

Below you'll find detailed descriptions of all available parameters for the IMAP listener.

Enabled (IMAP listener)

Set this to true to enable the TradingView plugin. Not all license types support this option.

Values: true or false

Default value: false

Parameter name in config.js: enabled

Authorized froms

Sets the email addresses that should be processed for incoming alerts. Make sure that the alert message in contained in the email subject.

Multiple address are possible if you enter them like this: ["email-1@mail.com","email-2@mail.com"]

Values: string, represents one or more email addresses

Default value: ["noreply@tradingview.com"]

Parameter name in config.js: authorized_froms

User

Set the username for the IMAP server, usually your own email address. Gunbot will listen for incoming alerts on this address.

Values: string, represents a username

Default value: YOUREMAIL

Parameter name in config.js: user

Password

Enter the password for your own email address, used for connecting to the IMAP server.

Values: string, represents a password

Default value: YOURPASSWORD

Parameter name in config.js: password

Host

The address of the IMAP server that the listener needs to connect to.

Values: string, represents a hostname

Default value: imap.gmail.com

Parameter name in config.js: host

Port (IMAP)

Defines the port number for the IMAP server.

Values: number, represents a port number

Default value: 993

Parameter name in config.js: port

TLS

Defines if TLS encryption is used for the IMAP connection.

Values: true or false

Default value: true

Parameter name in config.js: tls

rejectUnauthorized

Enable this to allow connections to IMAP servers using a certificate unknown to certificate authorities.

Values: true or false

Default value: false

Parameter name in config.js: rejectUnauthorized (child of tlsOptions)

less secure apps
app password