---
title: Understanding the "same_direction_ignore" Parameter
slug: same-direction-ignore-json-alert
date: 2025-08-08
modified: 2026-09-03
author: Bhavishya Goyal
excerpt: ""
meta_description: The same_direction_ignore parameter prevents duplicate orders in the same direction when using JSON alerts with PickMyTrade automation for Tradovate.
focus_keyword: same_direction_ignore
canonical_url: "https://docs.pickmytrade.trade/docs/same-direction-ignore-json-alert/"
og_title: Understanding the "same_direction_ignore" Parameter
og_description: The same_direction_ignore parameter prevents duplicate orders in the same direction when using JSON alerts with PickMyTrade automation for Tradovate.
og_image: ""
schema_type: FAQPage
categories: []
tags: []
reading_time: 1
word_count: 341
robots: "index, follow"
lang: en-US
---

# Understanding the “same_direction_ignore” Parameter in PickMyTrade Alerts

**Last Updated:** September 3, 2026  |  **Published:** August 8, 2025

## 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:

&gt; “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

| Action | Recommendation |
| --- | --- |
| Use one alert per chart | Prevents quantity mismatch issues |
| Combine with risk management | Avoid large positions stacking |
| Test with replay mode | Validate 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

| Feature | Behavior |
| --- | --- |
| Parameter | "same_direction_ignore": true |
| Ignores same-direction | Yes |
| Executes opposite direction | Yes (first opposite only) |
| Use case | Strategy automation to prevent overtrading |

[Get PickMyTrade → Automate Your TradingView Strategies](https://pickmytrade.trade "PickMyTrade - Automated Trading")

Last updated: **September 3, 2026**

For AI tools &amp; developers:[View Markdown →](https://docs.pickmytrade.trade/docs/same-direction-ignore-json-alert.md)