How to Connect TradingView?

Aug 11, 2022

Getting started

  • Homoro.com is online-service which gives ability to connect TradingView with Binance and convert TradingView alerts to orders on cryptocurrency exchange.
    For start using needed:
    - Get Homoro User Key
    - Binance [ or Kucoin ] API keys
    - TradingView account

Get Homoro User Key

  • Step #1 [ Get Homoro UserKey] :

    After Add Wallet in Homoro, you can connect wallet(s) to tradingview in homoro.

    -


    1 - after connect wallet to plan, click setting to open wallet list
    2- on / off wallet ( on: connect / off: not connect )
    3- click setting to view [ USERKEY ] for connection bitween homoro & tradingview Strategy

    -
  • Step #2:

    then click setting to Generate and view UserKey.

    -
  • Step #3:

    you can use [ new userkey ] for connect to one wallet or [ exist userkey ] for connect and trade to multi wallet with one trade.

    -

Trading Command

  • Trading command is the text line with few parameters. The order management process takes place through it. Such command must be used on the Message area while creating alerts on TradingView.

    -
LONG excamples | FUTURES
Buy 0.2 BTC at fixed price (limit order)
BTCUSDT, buy, 0.2, 21900, userkey
on Futures market the same command has vary sense, depends of current conditions

If current position is Long -or- there is no current position, then BTC will be bought for 10% of USDT balance (at market price). But if current position is Short, then size of such position will be reduced by 10%
BTCUSDT, buy, 10%, market, userkey
If current position is Long -or- there is no current position, then BTC will be bought using 500 USDT (at market price). But if current position is Short, then size of such position will be reduced by amount equal to 500 USDT
BTCUSDT, buy, $500, market, userkey
SHORT excamples | FUTURES
Sell 1.5 ETH at fixed price (limit order)
ETHUSDT, sell, 1.5, 2370.99, userkey
Sell 100% of ETH balance at market price
ETHUSDT, sell, 100%, market, userkey
Sell some amount of ETH at market price for getting 500 USDT
ETHUSDT, sell, $500, market, userkey
Stop Market | FUTURES
If price will reach 21900, then 0.1 BTC will be bought at market price
BTCUSDT, buy, 0.1, 21900(SM), userkey
Place Stop Market order above the current price by 1%
BTCUSDT, buy, 0.1, {{close}}+1%(SM), userkey
Trailing Stop | FUTURES
If price will reach 21900, then Trailing Stop order will be activated. Callback is equal to 1%
BTCUSDT, buy, 0.1, 0.1, 21900:1%(TS), userkey
Activation price is empty (market). Callback is 1%
BTCUSDT, buy, 0.1, 0.1, -:1%(TS), userkey
Activation price will calculated and will be higher by 2% than current price on market. Callback is 1%
BTCUSDT, buy, 0.1, {{close}}+2%:1%(TS), userkey
Close | FUTURES
Close 50% of current position if any exists
BTCUSDT, close, 50%, -, userkey
Close 100% of current position (if any exists), and buy BTC for 30% of USDT balance (at market price)
BTCUSDT, close-buy, 30%, market, userkey
Cancel | FUTURES
Cancel all limit orders (related to pair) if any exist
BTCUSDT, cancel-buy, -, userkey
Cancel limit orders (related to pair) and send Buy order
BTCUSDT, cancel-buy, 0.1, market, userkey
Cancel limit orders (related to pair) and close current position
BTCUSDT, cancel-close, -, -, userkey
Cancel limit orders, then close current position, and send Buy order
BTCUSDT, cancel-close-buy, 0.1, market, userkey
Take Profit / Stop Loss | FUTURES
The examples below show how to place TP/SL orders with a volume equal to the volume of the order they are placed with

Buy 0.1 BTC (at market price) and set Take Profit equal to 5%. Volume of TP order will be equal to Buy order (0.1 BTC)
BTCUSDT, buy, 0.1, market|5%, userkey
Buy 0.1 BTC (at market price) and set Stop Loss equal to 1%. Volume of SL order will be equal to Buy order (0.1 BTC)
BTCUSDT, buy, 0.1, market|-|1%, userkey
Buy 0.1 BTC (at market price) and set Take Profit level at 21900, and Stop Loss equal to 1%. Volume of TP/SL orders will be equal to Buy order (0.1 BTC)
BTCUSDT, buy, 0.1, market|21900|1%, userkey
Leverage | FUTURES
Buy BTC using 100% of USDT balance and 5x leverage. Commands without such parameter will be executed with leverage equal to 1
BTCUSDT(x5), buy, 100%, market, userkey
All-in-One | FUTURES
. Cancel all limit orders (related to pair) if any exists
. Close current position if any exists
. Sell BTC for 20% of USDT balance (at market price) using leverage equal to 5
. Set Take Profit equal to 5%
. Set Stop Loss equal to 1%
BTCUSDT(x5), cancel-close-sell, 20%, market|5%|1%, userkey
More examples | FUTURES
Two commands in one alert
BTCUSDT, buy, 0.1, market, userkey;
ETHUSDT, buy, 3.5, market, userkey
Reduce only the option
BTCUSDT, buy, 0.1, 21900(r), userkey
BTCUSDT, buy, 0.1, 21900(SM)(r), userkey
Price calculations | FUTURES
Place Long Limit order below the current price by 9.5 USDT
BTCUSDT, buy, 100%, {{close}}-9.5, userkey
For strategies | FUTURES
Place Short Limit order higher the current price by 1%
BTCUSDT, sell, 100%, {{close}}+1%, userkey
Note: Do not change leverage if current position exists
Webhook URL | tradingview
      
Supported coins | futures
ALL, except:

DODOUSDT
LUNA2BUSD
1000SHIBUSDT
1000XECUSDT
1000***USDT
1000***BUSD
× . Home . Invest . Add Wallet(s) . $0 . Account Info . Logout . Support