Features & Settings

Why Does the Sentiment Parameter Sometimes Sell Everything?

If sentiment = flat is sent, TradersPost closes all positions, ignoring quantity settings. To avoid this, traders should use “action = sell” with a specific quantity for partial exits.

Tom Hartman

Marketing

2 Min Read Reviewed by Mike Christensen Fact-checked by Mike Christensen
BluSky — The Future of Trading. Prop firm futures trading. Sign up at BluSky.pro.

In TradersPost, the sentiment parameter controls trade actions based on overall market positioning. If sentiment = flat is sent, the system closes the entire position, regardless of the specified quantity.

This happens because “flat” overrides any quantity instructions, as the system interprets it as an instruction to exit completely.

How to Prevent Accidental Full Exits

Use explicit “action” commands instead of sentiment

• Instead of relying on sentiment = flat, use “action = sell” with a specific quantity.

Understand TradingView Simulation Behavior

• The sentiment parameter was designed to match TradingView’s backtesting logic, but it may not always behave as expected in live trading.

Only use sentiment if it aligns with your strategy

If partial position exits are required, manually specify action and quantity instead of using sentiment-based exits.

Key Takeaways

“Sentiment = flat” closes all positions, overriding any quantity settings.

• If partial exits are needed, avoid the sentiment parameter and use “action = sell” with a set quantity.

• Sentiment was designed to mimic TradingView’s simulation behavior, but traders can control execution more precisely by manually specifying orders.

Conclusion

To prevent accidentally closing all positions, traders should avoid using the sentiment parameter when precise trade management is required. Instead, manually set action and quantity to maintain full control over trade execution.

  • Walk-Forward Optimization Trading Guide

    Master walk-forward optimization trading to test strategies across market regimes, reduce curve fitting, and prepare alerts for disciplined automation.

  • Video

    Position Sizing Automation to Protect and Scale

    Learn how position sizing automation uses fixed, dollar, equity, and stop-based risk methods to protect capital and scale TradersPost strategies reliably.

  • Video

    TradersPost Paper Trading Validation Guide

    Learn TradersPost paper trading validation: route real TradingView or TrendSpider alerts, review fills and risk orders, then safely prepare for live trading.

  • Video

    Automate Trading Around Economic Events

    Learn to automate trading around economic events with Trading Windows, TradingView alerts, and disciplined plans for FOMC, CPI, earnings, and major releases.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

TradersPost operates as a non-custodial automated trading platform, enabling users to connect alerts from their preferred trading platforms to their selected brokerage or exchange accounts. It abstains from the transmission, custody, or management of customer funds, covering both traditional and cryptocurrency assets. Typically, registration requirements set by regulatory entities such as the SEC, FINRA, or FinCEN apply to entities that hold or transmit customer funds. To ensure ongoing compliance, TradersPost regularly engages with regulatory authorities to confirm its adherence to all relevant local and federal laws.

TradersPost does not provide alerts, signals, research, analysis, or trading advice of any kind. It is designed to assist traders and investors in making their own trading decisions based on their alerts. The platform does not offer recommendations regarding securities to buy or sell, nor does it provide trading or investing advice. The platform and its features, capabilities, and tools are provided 'as-is' without any warranty.

Risk Disclosure: The use of automated trading systems involves inherent risks, including the potential for significant financial loss. These systems operate based on predetermined algorithms that may not fully adapt to changing market conditions, possibly making them unsuitable for some investors. Individuals are advised to thoroughly assess their financial situation and risk tolerance before using this platform.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

© 2026 TradersPost, Inc. All rights reserved.