The Position Status block is a live trade monitoring tool in Arrow Algo’s visual builder that feeds real-time data about any open position directly into your strategy logic. Unlike market indicators that analyse price and volume patterns, Position Status focuses entirely on the trade itself — tracking how much it has gained or lost and how long it has been running. This makes it one of the most practical tools for building precise exit rules without writing a single line of code.
What Is the Position Status Block?
Position Status is a utility block in Arrow Algo that outputs two continuous data streams while a trade is active. The first is the current unrealised profit or loss of the open position, expressed as a percentage. The second is a candle count — a running total of how many candles have elapsed since the position was opened.
These two outputs let you build condition-based exit rules that respond to actual trade behaviour, rather than relying solely on fixed price levels or external indicator signals. A strategy can evaluate both how a trade is performing and how long it has been open before deciding whether to exit.
When no position is open, both outputs return to zero. The block becomes active the moment a trade is entered and resets automatically when the trade closes.
What Does Position Status Measure?
The block has two outputs that connect to any downstream logic in your strategy:
- PnL (profit/loss %) — the current unrealised return of the open position. A value of 2.5 means the trade is up 2.5%. A value of -1.8 means it is down 1.8%.
- Candle count — the number of completed candles since entry. On a 1-hour chart, a count of 12 means the position has been running for approximately 12 hours.
Both values update on every completed candle. Exit conditions based on Position Status data are therefore evaluated once per candle, consistent with how all other indicator-driven logic works in Arrow Algo.
How to Read Position Status Outputs
Connect the PnL output to a comparison block and set a threshold. A comparison set to “less than -2” fires whenever the position is down more than 2%. Wire that output to a sell signal and you have a live loss-limit rule that evaluates on every candle while the trade is open.
The candle count output works identically. Set a comparison to “greater than 20” and the strategy exits any trade that has been running longer than 20 candles. This is a time-based exit — useful for removing stale positions that are consuming capital without generating returns.
The two outputs become most powerful in combination. A strategy can allow a profitable trade to run for 50 candles while cutting a losing trade after just 10. Connect both conditions to an OR gate and link the output to the exit signal — either condition being true triggers the close.
What Are the Best Position Status Trading Strategies?
Dynamic profit targets: Set a profit target that tightens as the trade ages. Exit at 3% after 5 candles, 2% after 15 candles, 1% after 30 candles. This captures early gains and prevents giving back profits on trades that stall after an initial move.
Stale trade removal: Any trade that has not reached a profit target within a defined candle window can be considered stale. Use the candle count output to exit these positions automatically and free up capital for fresh signals. This prevents capital from sitting idle in slow-moving trades.
Asymmetric hold rules: Allow winning trades to run longer than losing trades. A position that is up 1% or more can hold for 50 candles. A position that is flat or negative exits after 10 candles. This structure naturally lets winners run while cutting losers short — one of the most consistently cited principles in systematic trading.
What Mistakes Do Traders Make With Position Status?
Not calibrating candle counts to the timeframe: A count of 10 means roughly 10 minutes on a 1-minute chart but over a week on a daily chart. Always match your thresholds to the specific timeframe you are backtesting and trading on.
Replacing stop-loss blocks with PnL exits: Position Status adds dynamic exit logic on top of existing risk rules — it does not replace a hard stop-loss block. Always include a separate stop-loss set to your maximum acceptable loss, then layer Position Status conditions on top.
Setting profit targets too tight: Exiting the moment a trade turns positive sounds safe. In practice it cuts winning trades before they deliver meaningful returns. Backtest your profit threshold across a range of values and measure the effect on total strategy P&L before settling on a number.
Not testing the zero-state: Both outputs reset to zero when no position is open. Verify in backtesting that your comparison logic does not trigger unintended exits or entries during flat periods between trades.
How to Build Position Status Strategies in Arrow Algo
Arrow Algo includes the Position Status block in its visual builder — no code required. Drag it onto your canvas and connect the two outputs to the rest of your logic.
For a loss limit: connect the PnL output to a comparison block set to your threshold (for example, -2 for a 2% cap). Link the comparison output to your sell signal. That single connection creates a live loss-limit rule firing on every candle while the position is open.
For a time limit: connect the candle count output to a second comparison block with a maximum hold count. Wire both comparisons to an OR gate, then connect the gate to your sell signal. The strategy now exits on loss limit or time limit — whichever arrives first.
To build a more complete exit framework, combine Position Status with a Trailing Stop block. The trailing stop captures upside momentum while Position Status handles time decay and hard loss limits. Backtest the combination across extended historical data to see how each condition shapes overall performance.
For a full overview of Arrow Algo’s block library, visit the Arrow Algo documentation.
What Are the Key Takeaways?
- Position Status outputs two live data streams: current PnL % and candle count since entry.
- Both outputs reset to zero when no trade is open and update on every completed candle.
- PnL % enables dynamic profit targets and loss limits that respond to actual trade performance.
- Candle count enables time-based exits that remove stale or underperforming trades after a defined period.
- Combining both outputs creates asymmetric hold rules — running winners longer and cutting losers faster.
- Always maintain a hard stop-loss block separately; Position Status adds layers on top, not instead of, core risk limits.
- Backtest PnL and candle count thresholds before going live — optimal values depend on the asset, timeframe, and strategy logic.
Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.
Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who’ve made the switch to systematic trading.
