The TradingView to IQ Option service allows you to automate your Binary and Digital options trades. You can place Higher or Lower options, check tradeable symbols, as well as check real-time account balances.
How It Works
You can automate your TradingView strategy or indicators to OKX by creating alerts on your TradingView chart using the Webhook and setting the alert message according to the commands below. You can also manually trade using our Chrome extension to send your alerts to the webhook you created below using the Alert Detector TTA.
For strategies, you can generate the action automatically when your alert is fired using TradingView's placeholders, such as {{strategy.market_position}}
{{strategy.orde.action}}
{{strategy.alert_message}}
and so on. See more about generating dynamic alerts here.
Commands
Syntax: action symbol param=value
Example: Sell USDJPY Quantity=10%
Commands are not case sensitive. Example:
Both Buy EURUSD Quantity=5% T=Binary E=5 A=PRACTICE and bUY EURUSD Q=5% T=Binary e=5 a=practice are correct.
You can send up to a maximum of 5 commands under one alert by adding new ones in the next line. Example:
Sell USDJPY Q=10% T=DigitalBuy EURUSD Q=5%Long EURUSD Q=4 T=Binary E=5 A=realsell USDJPY Q=10 T=BINARYsymbols t=binary
One-word parameters can be sent as the full word or the first letter of the word . Example: Both
buy BTCUSDT q=0.1
andbuy BTCUSDT quantity=0.1
result to the same thing.There should be no spacing between the param and value in a command. buy BTCUSDT quantity = 1 is wrong and should be buy BTCUSDT quantity=1
OTC Market pairs require the
-OTC
prefix at the end. ExampleBUY EURUSD-OTC Q=10
1. Open a Higher Or Lower Trade
Buy, long, 1, higher is recognized for higher trades, while sell, short, -1, lower is recognized as a lower command.
Optional Parameters
Quantity (Q) - Size of the option you want to trade as an amount or a percentage of the balance. The default is 1. Example:
Q=1
orQ=20%
.Account (A) - The account type:
REAL
orPRACTICE
. Default:Account=Practice
Type (T) - Specifies the option type: BINARY or DIGITAL. Default:
type=Binary
Expiry (E) - The expiry time of the trade in minutes. Default:
Expiry=1
Examples :
Buy EURUSD QUANTITY=5% type=binary E=5 a=PRACTICE
Opens a binary Call position in the EURUSD chart with 5% of the balance and a 5-minute expiry period in the practice account.sell EURJPY Q=1 t=DIGITAL Expiry=5 A=real
Opens a digital Put position in the EURJPY chart with 1 dollar and a 5-minute expiry period in the real account.sell EURJPY-OTC Q=1 type=DIGITAL E=5 Account=real
Opens a digital Put position in the EURJPY-OTC market.
2. Balance Check
Balance, bal, and funds are actions to request the account balance.
Optional Parameters
Account(A) - Specifies the account type. Default: Account=Practice
Example:
balance
Returns the practice account balance.bal a=real
Returns the real account balance.
3. View Symbols
Symbols is an action that requests the available symbols for trading.
Optional Parameters
Type (T) - Specifies the category of symbols. Options are binary or digital. Default:
type=binary
Example:
symbols
Returns all the available symbols in the Binary Options market.symbols t=digital
Returns tradeable symbols in the digital category type.