top of page

Automation Instructions

Step 1. Create a strategy in TradingView

Let's use Altair 5min long-short strategy as an example. After copying the code from DayTraderPlaybook, create a corresponding strategy in TradingView. Make sure that you select NQ futures, 5min timeframe, and provide names to the strategy as well as save it as a separate layout (top right corner). 

Screenshot 2024-02-12 at 10.21.09 AM.png

Ensure that the strategy's results are corresponding to those shown on DayTraderPlaybook. To do that, go to 'Strategy Tester' and inspect the equity curve of the strategy. 

Screenshot 2024-02-12 at 10.28.52 AM.png

Before you create your Alert in TradingView, make sure that the strategy settings do not contain commissions and / or slippage. Those are important to properly backtest the strategy, however, they should not be set if you need to automate the strategy via TradersPosst / SignalStack. 

Screenshot 2024-02-12 at 10.30.41 AM.png

Step 2. Create an Alert in TradingView

In order to create an Alert in TradingView, click on 'Alerts' button on the top right menu. After that, click on '+' icon, which will open up an Alert Popup window. 

Screenshot 2024-02-12 at 10.39.31 AM.png

Select a strategy in the Settings -- Condition and then provide an Alert Name and edit the Message as shown below. 

Screenshot 2024-02-12 at 10.44.31 AM.png
Screenshot 2024-02-12 at 10.46.03 AM.png

You can also copy the message from here (if you want the system to trade NQ contracts, then replace MNQH24 with NQH24):
 

{

"ticker":  "{{MNQH24}}",

"action": "{{strategy.order.action}}",

"quantity": "{{strategy.order.contracts}}"

}

​

Also note that these are specific quarterly contracts and they have to be replaced once per 3 months. 

​

After that, click on 'Notifications' and make sure that the Webhook URL is blank (we will use it later to insert a proper url from TradersPost). 

Screenshot 2024-02-12 at 10.49.23 AM.png

Step 3. Create a Webhook in TradersPost

Once you sign up in TradersPost, go to Webhooks and create a new Webhook.

Screenshot 2024-02-12 at 10.54.08 AM.png

When creating a new Webhook, you should do the following:

​

- Provide a name (e.g., Altair)

- Select 'futures' as Asset Class

- Check 'Allow any ticker' 

Screenshot 2024-02-12 at 10.56.53 AM.png

Click 'Save' and a new Webhook will be created. You can now copy 'Webhook URL' and paste it into the TradingView web hook url field and then update the Alert. This will technically connect a TradingView alert with the TraderPost.

Screenshot 2024-02-12 at 10.59.30 AM.png

Step 4. Create a Strategy Subscription in TradersPost

Once you create a new Webhook, it is time to create a Strategy in TradersPost. You can do that by clicking on 'Create a new strategy' with this webbhook. 

Screenshot 2024-02-12 at 11.05.02 AM.png

You will have to provide the following information when creating a new strategy that is linked to the Altair web hook:

- Name (by default it will use the web hook's name 'Altair')

- Asset class - futures

- Check 'Allow any ticker'

​

After a new strategy was created successfully, you will have to 'link' it to one of the Tradestation's accounts. Ideally, you want to link 1 strategy per 1 brokerage account, especially if the strategy is long-short. If you run multiple long-only strategies, then they can be all linked to just 1 brokerage account. 

Screenshot 2024-02-12 at 11.08.20 AM.png

Once you link a Strategy to one of your brokerage accounts, you will have to select several additional parameters:

- Check 'Auto submit' -- this automates the trading

- Sides -- for long-short strategies, select 'Both'

- Check 'Disable side swapping' for long-short strategies

- Check 'Use signal quantity' 

- Check 'Entry as market orders'

- Check 'Exit as market orders'

Screenshot 2024-02-12 at 11.11.17 AM.png

The last action is to Enable the Strategy Subscription. 

Screenshot 2024-02-12 at 11.15.29 AM.png
bottom of page