Automating TradingView Strategy Alerts for Stocks and Futures

2 min read

Introduction #

This guide helps you automate trade execution in TradeStation using alerts from TradingView. Whether you’re using a strategy-based alert (from the Strategy Tester) or a condition-based alert from an indicator, PickMyTrade allows seamless integration and automation.


1. Broker Selection #

From the PickMyTrade interface, choose your broker as:
TRADESTATION

This ensures that all generated alerts will be routed for execution into your connected TradeStation account.


2. Alert Type #

Select the appropriate alert type based on your TradingView setup:

  • STRATEGY: For alerts generated by a TradingView strategy (e.g., Supertrend Strategy, RSI Strategy). This uses the Strategy Tester and automatically triggers alerts when a strategy’s logic executes.
  • INDICATOR: For alerts based on chart conditions (e.g., RSI crosses above 70). This does not use the Strategy Tester and is based on plotted conditions or alert functions.

3. Instrument Type #

Pick the asset type that corresponds to your TradeStation instrument:

  • Futures (e.g., MNQZ5, MESU5)
  • Stock (e.g., AAPL, TSLA)
  • Options (e.g., AAPL Call 210 May 17)

This tells PickMyTrade how to structure the trade format (contract vs shares, etc.).


4. TradingView Symbol #

Enter the symbol used in your TradingView chart.
Example: MNQZ5 for Micro Nasdaq futures.

This field is optional, but becomes mandatory if you’re using:

  • Stop Loss / Take Profit type = Ticks
  • Stop Loss / Take Profit type = Total Profit / Loss

If the symbol is missing or incorrect, PickMyTrade may default to the chart symbol or fail to map orders correctly.


5. Strategy Type (For Strategy Alerts Only) #

Does your strategy include multiple exits like TP1, TP2, etc.?

  • NO: You can attach a Stop Loss and Take Profit to each order directly.
  • YES: PickMyTrade will execute each alert (TP1, TP2…), but you cannot attach SL/TP to the entry order. Exit handling will be fully driven by TradingView.

6. Risk Management #

Would you like PickMyTrade to attach Stop Loss and Take Profit to each entry?
Answer: YES

Next, choose your preferred Stop Loss / Take Profit Type:

  • Point / Dollar – Adds/subtracts a fixed value from entry price (e.g., +100, -50)
  • Percentage – Adjusts SL/TP based on % move from entry price
  • Price (from TradingView) – Uses plotted values like {{plot_0}} and {{plot_1}}
  • Ticks – Ideal for futures. Defines risk/reward by tick distance
  • Total Profit / Loss – Defines SL/TP in dollar terms (e.g., exit when profit hits $500 per contract)

You can refer to the Stop Loss / Take Profit Types guide in PickMyTrade for exact formulas and examples. Click here .


7. Account Management #

Do you want to execute trades through multiple TradeStation accounts or a specific one?
Answer: YES

This enables more granular control over account routing, sizing, and risk logic.


7.1 Adding a TradeStation Account in Your Current PickMyTrade Login #

Field NameExample InputDescription
PickMyTrade Conn. NameTRADESTATION1The TradeStation connection name from your PickMyTrade account
TRADESTATION Acc. NameTS001928The actual TradeStation account where trades should be sent
OptionQuantity Multiplier / Risk PercentageChoose how trade size is calculated
Quantity Multiplier1If set to 2, all trade sizes will be doubled
Risk Percentage2%Trade size is calculated based on 2% of account capital

Ensure these values match your saved TradeStation integration in PickMyTrade.


7.2 Adding a TradeStation Account from Another PickMyTrade Login #

Use this method if your TradeStation account is linked to a different PickMyTrade login.

Field NameExample InputDescription
PickMyTrade Tokenabcd1234xyzToken from the external PickMyTrade account you want to trade through
PickMyTrade Conn. NameTRADESTATION1Must match the TradeStation connection inside that target account
TRADESTATION Acc. NameTS002091Must match exactly as registered in TradeStation
OptionQuantity Multiplier / Risk PercentageAs explained above
Quantity Multiplier1All trade sizes are multiplied by this number
Risk Percentage2%Each trade will risk 2% of the total account balance

Ensure token and connection name are valid, or trades will not execute.


8. Creating Alerts in TradingView #

Once you’ve configured everything in PickMyTrade, follow these steps in TradingView:

  1. Go to PickMyTrade → Generate Alert
  2. Copy the alert message JSON
  3. Open TradingView → Click “+ Create Alert”
  4. Paste the alert message into the Message field
  5. Paste the Webhook URL provided by PickMyTrade
  6. Set your alert condition and frequency
  7. Click Create Alert

You’re done! Your TradingView strategy or indicator is now connected to your TradeStation account through PickMyTrade — ready for automated, real-time execution.


What are your feelings

  • Happy
  • Normal
  • Sad