TradingView Algo Trading

Process Video in English: https://www.youtube.com/watch?v=asX-4mSzqNQ
हिन्दी में समझे: https://www.youtube.com/watch?v=rzLxFJQSFB0

UPDATE1: APIBridge has been reviewed as World’s Most Powerful ALGO System in world’s finest charting platform of TradingView. You can see comparison here for similar products across the World: https://www.tradersdestination.com/tda-algo-platform

How It Works

On APIBridge top menu, click Help. Then go to Jump Start section and follow instructions for TradingView.

This section required background reading about APIBridge Documentation.

APIBridge Settings

Under Symbol Settings, fill all relevant columns (do not leave blank OrdType, Quantity etc). Also, you should carefully review Signal Settings and Risk Management before starting to trade. It is prudent to first practice in Paper Trading before placing live orders.

TradingView Algo Trading

On TradingView charts, you can place trades for strategy in which you can create alerts. When you click extension icon on tradingview chart, it will turn green. You will also see message in Bridge about connection with TradingView.

TradingView Algo Trading

After settings the conditions for alert, scroll down and use Message box to configure your algo. In the message box, you can type signal details like Symbol, Type, Price etc.

APIBridge Advanced Extension

Once the alert conditions are triggered, the TV Connector pushes Signal in Bridge, which places buy/sell orders.

A note on TradingView Alert message format

In the alert message box, you can define the following, each on a new line. All constants such as SYMBOL/TYPE should not be misspelled.

SYMBOL: (Optional. Provide here your own symbol which also needs to be provided in Bridge in Symbol Settings)

TYPE: (Mandatory. Should be either LE, LX, SE or SX)

PRICE: (optional)

TRIG: (optional)

SL: (optional)

TGT: (optional)

STAG: (optional)

Example 1: Sending Market order through alert for Long Entry. 

Copy following values in alert:

SYMBOL: SBIN

TYPE: LE

In APIBridge, enter following values:

TradingView Algo Trading

Example 2: Sending Limit order through alert for Long Exit.

Copy following values in alert:

TYPE: LE

PRICE: 310

(If you do not know price, put day low to get order filled)

In APIBridge, enter following values:

TradingView Algo Trading

Example 3: Sending SLL Order through alert

TYPE: LE

PRICE: 310

TRIG: 305

(TRIG is used for trigger price, and PRICE is used for limit price in SLL order)

TradingView Algo Trading

Example 4: Sending SLM Order through alert

TYPE: LE

TRIG: 305

TradingView Algo Trading

Example 5: Sending Cover Order through alert

TYPE: LE

PRICE: 310

SL: 5

TradingView Algo Trading

Example 6: Sending Bracket Order through alert

TYPE: LE

PRICE: 310

SL: 5

TGT: 10

TradingView Algo Trading

Example 7: Buying Call Option based on Spot Index

SYMBOL: NIFTYCALL

TYPE: LE

TradingView Algo Trading

Example 8: Entering fresh Long position and exiting previous Short

SYMBOL: NIFTYCALL

TYPE: LE,SX

TradingView Algo Trading

Example 9: Creating Options Straddle based on Index Sell signal

(put entire text below in same message box)

SYMBOL: NIFTYCALL

TYPE: LE

SYMBOL: NIFTYPUT

TYPE: LE

TradingView Algo Trading

Example 10: Create Call Butterfly Spread based on Index Buy signal

(put entire text below in same message)

SYMBOL: NIFTYCALLA

TYPE: LE

SYMBOL: NIFTYPUT

TYPE: LE

SYMBOL: NIFTYCALLB

TYPE: SE

TradingView Algo Trading

PinseScript Coding Service

Please check MyCoder if you need assistance in PineScript coding for custom strategy deployment in TradingView.