Understanding the “same_direction_ignore” Parameter in PickMyTrade Alerts

2 min read

What is "same_direction_ignore"? #

The "same_direction_ignore" parameter is a control flag used in your JSON alert when sending strategy-based signals to PickMyTrade for automated trading on Tradovate.

Its primary purpose is to prevent duplicate orders in the same direction when a position is already open.


How It Works #

When you set:

"same_direction_ignore": true

It tells PickMyTrade:

“If a position is already open in a certain direction (buy/sell), ignore any new alerts that come in the same direction. Only consider the first alert that goes in the opposite direction.”

Example Use Case #

Let’s say:

  1. You have a buy position already open (triggered from a previous alert).
  2. Another buy alert gets triggered — this will be ignored.
  3. If later a sell alert comes in — this will be executed, as it’s the opposite direction.

Why It’s Important #

  • Prevents duplicate buy/sell orders from stacking up due to repeated alerts.
  • Helps avoid overtrading, especially with strategies like trend-following or Fibonacci entries.
  • Simplifies position management — especially if you are automating multiple alerts.

Heads-Up for Multi-Strategy Charts #

If you’re running multiple strategies (e.g., trend + fib) on the same chart, setting "same_direction_ignore": true will block additional entries in the same direction, even if they come from different strategies.

To avoid confusion or unintended blocking:

  • Use only one alert per chart, OR
  • Run each strategy on separate charts for better control.

Best Practices #

ActionRecommendation
Use one alert per chartPrevents quantity mismatch issues
Combine with risk managementAvoid large positions stacking
Test with replay modeValidate alert behavior before going live

What If I Don’t Use This Parameter? #

If you omit "same_direction_ignore", every alert will be treated as a fresh signal, regardless of the current position — potentially opening multiple trades in the same direction and causing position bloat.


Summary #

FeatureBehavior
Parameter"same_direction_ignore": true
Ignores same-directionYes
Executes opposite directionYes (first opposite only)
Use caseStrategy automation to prevent overtrading