In order to connect with any third-party app like MultiCharts, MotiveWave, Metastock, Esignal, TradeStation, etc. In this case, you can make use of the connector utility. You can write Signal data in a CSV/txt file, Connector app will read it for trading via the APIBridge.
In case if background reading is required you can check out this link.: Signal Parameters, Format and Protocol in APIBridge.
Connector utility is a very small program. Download from here, once downloaded you have unzipped the file.
Now that you have installed the application follow these steps. Click Browse and select the path of the txt/CSV file. We have included one sample text file for testing purposes. Click Start on connector app, and make sure Trading also begins in APIBridge. Whenever you make any change in a text file and save it, the signal will be received by APIBridge.
- To fire multiple signals at once, simply add multiple rows with signal data in the text file.
- To trade in multiple accounts, you can send each signal with a different port. All functionalities of the Signal are supported via the connector app as provided in the below example.
1,SE,AETHER,MARKET|MIS,946,951,100,EQ,STG1,30001
2,SE,AETHER,MARKET|MIS,946,951,100,EQ,STRG2,30002
- Simply code in your third-party app like MultiCharts, MotiveWave, Metastock, Esignal etc. to rewrite the Signal in text file whenever there is Buy/Sell trigger.
I assume you also need to enable Connector in the Application Settings by ticking it as a Local PC Source.
Another issue I encountered was that if I had the TradingView Extension running and started Connector, then Connector would not send through any signals. A workaround is to disable the TradingView Extension and then start Connector.
This issue is most likely because the API Bridge is listening on a socket and only one source can connect tot the socket at a time. Once the TradingView Extension makes the connection to the socket then Connector will not be able to connect. Would be good if the developers could pop-up an error message in the Connector app when it encounters a situation where is cannot connect to API Bridge so that user knows something else has connected.
When using Connector for sending in signals, you also need to put another parameter (port number) at the end of the text file format. So for example if this the intended signal:
Text File String: 7,LE,SBIN,SLL|BO,302|1.5|3,302.10,100,EQ,STG1
then it should read
Text File String: 7,LE,SBIN,SLL|BO,302|1.5|3,302.10,100,EQ,STG1,3007