To connect the free version of TradingView to our AI BOT, follow these steps: set up alerts, use webhooks, and integrate with your trading platform or broker.
Step 1: Log in to Trading View and press Ctrl + Shift + I.
Step 2: Create an Alert.
Step 3: You have to go to the network and
click on Fetchxr, you will find it below, you have to search for
Log username in the Name Section.
Step 4: Click on Log username and Go to
Cookies
Step 5: Copy the Session ID and paste it into the “Trading View Free Version” platform and then click Save Changes.
Step 6: Start your strategy by clicking on "Bridging" in AI BOT next click on “ON” paste session ID, and then submit.
For Alert
1. If you want to do algo trading with an alert key, place the alert key in the TradingView panel and create alerts, then leave it for algo trading.
2. If the client does not want to trade without placing an alert key in the alert section, they only need to adjust the ALERT CONFIGURATION in the AI BOT web version for their desired quantity, exchanges, order type, product type, etc.
1. Open Amibroker, click "New Blank Chart" and select "New Analysis".
2. Click the right-side icon to open a popup. Maximize the popup, copy the code, and paste it. Then set your strategy or indicator name.
3. After setting your strategy name, click "Apply" Your code will then be added to the Amibroker window.
4. Start your strategy by clicking on "Bridging" in AI BOT next click on “ON” then submit.
Meta Trader 4 (MT4) is a popular platform for online retail exchange traders. It offers financial market analysis, trade execution, and automated trading strategies. To connect MT4 to our AI BOT, follow these steps: set up alerts and integrate with your trading platform or broker.
Step 1: Open MT4Software, enter your Login ID, Password, and Server, and click "Login."
Step 2: Copy your MT4 code (Experts/Indicators), then go to File > Open Folder > MQL4 > Experts/Indicators, paste the MT4 code, return to the MT4 panel, navigate to Navigator, right-click on Experts, and select Refresh to find your MT4 code.
Step 3: Go to the AI Bot > Bridging > copy the post URL of MetaTrader> MT4 Panel > Tools > Options > allow all notifications and paste the copied URL, then click OK.
Step 4: Click on the yellow icon > go to
Experts > click on Code > tap the green play icon > follow these
steps:
1. Copy the alert key from here - (Alert Key URL - 06f5a07b-ddb2-4da6-8f48-1a86e1e63a0d). and paste it into the Alert section
2. Copy the
webhook URL from AI BOT and paste it into the URL
section. You can copy from here as well ( MetaTrader- https://aibot.combiz.org/mt4-webhook).
3. Scroll
down and set the signal on the panel to TRUE.
4. Customize
your trading settings according to you (segment, symbol, above price, below the
price, target).
5. Click the Save button.
Step 5: Start your strategy by clicking on "Bridging" in AI BOT next click on MT4 “ON” then submit.
1. Copy the strategy or indicator code from the folder. In TradingView, go to the drop-down menu, click "Open," then select "New Indicator." Delete the default Pine Script code and paste your indicator/strategy code. Save and rename the code.
2. Click "Add to Chart," and your strategy will appear on the chart.
3. After adding the strategy to the chart, click on it. Find the settings icon, go to "Inputs," and paste your alert key copied from here (Alert Key-06f5a07b-ddb2-4da6-8f48-1a86e1e63a0d) in the drop-down section. Save it.
Next, click on the strategy in the chart, find the three dots icon, and click on it. Go to "Notification," enable two-factor authentication, paste the webhook URL copied from AI BOT, and save it.
4. To generate an alert key, go to settings and paste this syntax in the message box: SYNTAX = {strategy.order.alert_message}}.
5. Start your strategy by clicking on "Bridging" in AI BOT next click on TradingView “ON” then click on submit and Start ON/OFF button.
We use same symbols as Zerodha for all broker, symbols in alerts must be same as Zerodha.
Note - Symbols does not matter if you are using any other broker than Zerodha, symbols must be same format as listed below.
Download Symbols CSV File - Click Here
Doubt - I am using Upstox Broker for algo trading what will be symbol format for my strategy.
Clarification - You need to use below or CSV symbol format for alerts, we are using same symbol format for all broker, you can copy above CSV file link and share with you strategy developer.
Example -
Exchange | Segment | Symbol Format | Definition |
NSE | NSE | SBIN | |
NFO | NFO-FUT | NIFTY24AUGFUT | 24-Year, SEP-Month |
NFO | NFO-OPT | NIFTY2482226450CE | 24-Year, 8-Month, 22-Option Expiry date, 26450CE – Strike and Options Type |
MCX | MCX-FUT | CRUDEOIL24AUGFUT | 24-year, AUG-Month |
MCX | MCX-OPT | CRUDEOIL24AUG8200CE | 24-Year, AUG-Month, 8200CE-Options Type and strike Price |
BCD | BCD-FUT | EURINR24AUGFUT | 24-year, AUG-Month |
BCD | BCD-FUT | EURINR24AUG92.75PE | 24-year, AUG-Month, 92.75PE-Strike and Options Type |
Add an Algo from + button. than Go on Alert Setting/Syntax column and choose setting Icon.
To connect a bridge, you can create an alert manually from the AI BOT.
We have dynamically adjustable alert Syntax so that you can send minimum data in alert.
Suppose you want to trade in NFO choose NFO in Exchange setting Switch ON and if you want to trade any particular Symbol, than you can choose, symbol from drop down and Switch ON symbol setting.
So you can switch ON desired setting in Alert Configuration.
Note - There is no need to send those data in alert which is ON in the setting.
Example - I have Selected Symbol NIFTY24AUGFUT, Exchange- NFO, Order Type-Market, Product Type-MIS/Intraday, Variety-Regular.
Now I can copy my alert format as per desired order type from the bottom.
For Market Order My syntax-
{"Alertkey":"a3c508c2-2ab9-41d6-9e30-ad8743f98316","qty":"value","trantype":"value"}
For LMT Order My syntax-
{"Alertkey":"a3c508c2-2ab9-41d6-9e30-ad8743f98316","qty":"value","trantype":"value","limitPrice":"value","OrderType":"limit"}
For SL Order My syntax-
{"Alertkey":"a3c508c2-2ab9-41d6-9e30-ad8743f98316","qty":"value","trantype":"value","OrderType":"sl","limitPrice":"value","triggerPrice":"value"}
For SL-M Order My syntax-
{"Alertkey":"a3c508c2-2ab9-41d6-9e30-ad8743f98316","qty":"value","trantype":"value","OrderType":"sl-m","triggerPrice":"value"}
You can Copy
your Alert Syntax from here. There are two types of Alert Syntax:
For example, click on the order type you want to use, copy it, and then you can use it, like copy the MKT syntax, LMT, SL, and SLM use this alert syntax in your trade.
Note - Transaction Type allowed -
For BUY Entry Syntax - buy
For SELL Entry Syntax - sell
For BUY Exit Syntax - buyexit or buy-exit
For SELL Exit Syntax - sellexit or sell-exit
Note-
For Options Buying Exit don't send sell, sell will open a new sell position in that option.
For Option BUY and BUY Exit use "buy" and "buy-exit".
For Option Sell and Sell Exit use "sell" and "sell-exit"
To start
your strategy, click on "Bridging Configuration" and copy the
webhook URL. You can connect different bridges like Amibroker, TradingView,
Mt4, Excel to the AI bot.
· To connect, copy the “Webhook URL”, click "On," and then submit it. After that, your bridge will be connected to the AI Bot.