TRPositionDetails indicator documentation

TRPositionDetails is a custom NinjaTrader indicator designed to provide enhanced visibility into open trade positions. It overlays detailed PnL metrics (in ticks, points, currency, or percentage) directly onto your chart and includes customizable UI and color settings for seamless integration with your trading layout.

1. License prerequisites

If you didn’t send it yet, please send us your Ninjatrader’s unique machine identifier using the form we sent in the “purchase receipt” email.
You can find your machine ID by opening your Ninjatrader software and going in the Help > About menu. Then copy / paste your machine ID in the form.
It is mandatory for us to enable your lifetime license in the licensing system.

Without doing this, your indicator will stop working after 3 days, and you will get a license warning message.

2. Indicator installation

Please refer to 1. Basic Ninjatrader indicator install page.

3. Add the indicator to a chart

Open a chart using the New > Chart menu from Ninjatrader. Then select your instrument in the Instrument list:

This image has an empty alt attribute; its file name is 2023-10-09_11h47_48.png

Then you will have to choose your timeframe. The timeframe is not important for this indicator, it will decorate your opened positions only, no matter the timeframe.

Then you can right click on your chart, choose “Indicators“, expand the “TradingRevealed” folder and double click on the “Trading-revealed.com.TRPositionDetails” indicator to add it to the current chart indicators:

Then click on the indicator’s name from the “configured” (2.) section to display the settings on the right.

🔧 Input Parameters

📊 Display Options

Parameter NameTypeDefaultDescription
Display TicksboolfalseShow real-time position profit/loss in ticks.
Display PointsboolfalseDisplay PnL in points. Suitable for index futures or other point-based products.
Display CurrencyboolfalseShow position value in monetary currency (e.g., USD, EUR).
Display Percent (Of Account Value)boolfalseShows PnL as a percentage of current account value, providing a portfolio-relative view.

💡 Tip: You can enable multiple display formats simultaneously for cross-reference (e.g., ticks + currency).


🎨 UI Adjustments

Parameter NameTypeDefaultDescription
Decorator: Order GapintCustomAdjusts the spacing between the PnL decorator and the chart order element. Useful for visual clarity or when overlapping UI elements occur.

🎨 Color Customization

Parameter NameTypeDefaultDescription
Stop Fill ColorBrushe.g., RedFill color for Stop order zones or labels.
Target Fill ColorBrushe.g., LimeGreenFill color for Target order zones or labels.
Outline ColorBrushe.g., GrayColor used for outlining the position or order UI elements.
Text ColorBrushe.g., WhiteColor of all position-related text annotations. Ensures legibility across different chart backgrounds.

🖼️ Visual Output

  • Displays real-time position metrics near order markers on the chart.
  • PnL can be shown in up to four formats simultaneously.
  • Order and position lines use customizable colors for stop/target fill and outlines.
  • Flexible spacing allows the label to avoid overlapping other chart elements.

🧠 Usage Tips

  • Combine this indicator with TRFootprint and others orderflow indicators for a fully visual, multi-layered trading system.
  • Use DisplayPercentOfAccount when tracking position sizing and exposure across multiple instruments.
  • Set FlexGapWidth according to your monitor resolution and chart layout to prevent UI clutter.
  • Align your TextBrush with the chart’s background theme for maximum readability.

This documentation will be updated along the way.

Feel free to ask your question or send your suggestion by email or by commenting this post.

Be the first to comment

Leave a Reply

Your email address will not be published.


*