Set Up Guide

Let's walk through the steps to get you CrossTrading

1

Download the CrossTrade Add-On

Install and connect to CrossTrade

2

Create an alert on TradingView

Add your webhook URL and alert message

3

Review Alert History

Visit crosstrade.io/user/alert-history to review your alerts

Step 1 - Download and Install the Add-On

Click to Download

Install the Add-On

Once downloaded, open NinjaTrader and install the Add-on by clicking on Tools > Import > NinjaScript Add-On.

Before you restart NinjaTrader, enable the ATI!

Enable the NinjaTrader ATI

Enable the Automated Trading Interface (ATI) to accept your external commands by going to Tools > Settings > Automated Trading Interface.

Connect to Live Data

In order for your order execution to be supported you need to connect to a live data feed. This can be a purchased data subscription from NinjaTrader directly or a data feed that is provided through a prop evaluation account.

Log In to CrossTrade

After you have restarted NinjaTrader. it's now time to Log In with your email and password.

Send Test Signal (optional)

After connecting to the Add-on you will see it is not shown as Connected on your Dashboard in the top right corner. The secret key is preloaded for convenience, clicking the send button will send this basic buy command for 1 ES 03-25 contract to NinjaTrader in the Sim101 account. Sending test signals from the Manual Trader is an optional step to see orders being sent to NinjaTrader in the same way they will flow externally. You can connect the add-on and start sending directly from TradingView, but we feel this helps get you familiar with the various command types.

You can use the editor to test other command types found on the Basic and Advanced Commands tabs. Note that you will need to supply certain information, highlighted in red, to the command lines in order to make them compatible.

Dynamic strategy variables {{strategy.order.action}} are only used on TradingView and not compatible inside the Sandbox.

Step 2 - Create a TradingView Alert

To set up an alert, you can utilize various trigger conditions and decide whether the alert should fire once or repeatedly until you disable it. You can customize the alert message to include specific information or values that are relevant at the time the alert is triggered. The notifications for these alerts can be received via pop-ups, emails, and even push notifications if you have the TradingView mobile app installed.

Inside your Supercharts, click to open an Alert window from the top or right navigation clock button

Determine your Alert Conditions

To set up an alert, you can utilize various trigger conditions and decide whether the alert should fire once or repeatedly until you disable it. You can customize the Expiration date of the alert and provide a name to keep your alerts organized.

Provide payload information

In the message field you will supply the payload information you want to send to CrossTrade for relay to NinjaTrader. You can customize this however you want based on the methods NinjaTrader will accept.

Here is an example of a basic PLACE command for a Buy order.

key=Your CrossTrade Secret Key; command=PLACE; account=sim101; instrument=ES 06-25; action=BUY; qty=1; order_type=MARKET; tif=DAY;

Add Webhook URL

Your webhook URL is found on the Dashboard and your Account page

Copy the webhook url from either location to your clipboard...

On the Notifications tab of the alert window, you will need to provide your specific CrossTrade webhook URL. You can also enable alerts for pop-ups, emails, and mobile push notifications if you have the TradingView app installed.

Managing Alerts on TradingView

You can edit, clone, or delete them from the alert manager, and even adjust alert conditions directly on the chart for easy visualization. Alerts that have been triggered are logged, and you can access and review this log to track past market events and alert responses.

Step 3 - Reviewing Alerts on CrossTrade.io

Once you start sending alerts from TradingView to CrossTrade and NinjaTrader, you can review your recent alert history on the CrossTrade Alert History page in your account.


Last updated