You can deploy complex algos using TradingView’s simple web charts. The best part is that it requires zero programming knowledge. Simple or sophisticated derivative algos can be deployed in simple English using TV Alerts.
This section required background reading about Integrations.
You can deploy complex algos using TradingView’s simple web charts. The best part is that it requires zero programming knowledge. Simple or sophisticated derivative algos can be deployed in simple English using TV Alerts.
TV Connector is a very small app which helps you integrate TradingView alerts with SS API Bridge. You will need additional support from your Admin such as webhook url or Chrome extension. Run TVConnector.exe and click Start. Click on Manage Token and copy the Token. The token is like a password and unique per user. Do not share it with anyone. This Token will be used in all TV alerts for placing orders via SS API Bridge. On TradingView charts, you can place trades for strategy in which you can create alerts.
After settings the conditions for alert, scroll down and use Message box to configure your algo. You can save algo message format with your own token in notepad; then, copy them in alerts as required.
Once the alert conditions are triggered, the TV Connector pushes Signal in SS API Bridge, which places buy/sell orders.
In the alert message box, you can define the following, each on a new line. All constants such as TOKEN/SYMBOL/TYPE should not be misspelled.
TOKEN: (Mandatory. Provide here your own token from TV Connector)
SYMBOL: (Mandatory. Provide here your own symbol which also needs to be provided in SS API Bridge in Symbol Settings)
TYPE: (Mandatory. Should be either LE, LX, SE or SX)
PRICE: (optional)
TRIG: (optional)
SL: (optional)
TGT: (optional)
STAG: (optional)
Copy following values in alert:
TOKEN: Y0qaSwiB2UGgr1T+V3p2Vg==
SYMBOL: SBIN
TYPE: LE
In APIChart bridge, enter following values
Copy following values in alert:
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: SBINTYPE: LEPRICE: 310(If you do not know price, put day low to get order filled)In APIChart bridge, enter following values:
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: SBIN
TYPE: LE
PRICE: 310
TRIG: 305
(TRIG is used for trigger price, and PRICE is used for limit price in SLL order)
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: SBIN
TYPE: LE
TRIG: 305
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: SBIN
TYPE: LE
PRICE: 310
SL: 5
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: SBIN
TYPE: LE
PRICE: 310
SL: 5
TGT: 10
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYCALL
TYPE: LE
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYCALL
TYPE: LE,SX
(put entire text below in same message)
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYCALL
TYPE: LE
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYPUT
TYPE: LE
(put entire text below in same message)
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYCALLA
TYPE: LE
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYPUT
TYPE: LE
TOKEN: UJUaS6hlx0qoZC4X4RkW4A==
SYMBOL: NIFTYCALLB
TYPE: SE