# How to access indicator or data series from a custom BarsType?

**URL:** <https://discourse.ninjatrader.com/t/how-to-access-indicator-or-data-series-from-a-custom-barstype/2602>\
**Category:** Desktop SDK - Chart Components\
**Created:** [May 26, 2025, 2:40pm UTC](https://discourse.ninjatrader.com/t/how-to-access-indicator-or-data-series-from-a-custom-barstype/2602 "2025-05-26T14:40:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klause](https://discourse.ninjatrader.com/letter_avatar_proxy/v4/letter/k/7feea3/32.png) [@klause](https://discourse.ninjatrader.com/u/klause)\
**Post date:** [May 26, 2025, 2:40pm UTC](https://discourse.ninjatrader.com/t/how-to-access-indicator-or-data-series-from-a-custom-barstype/2602/1 "2025-05-26T14:40:59Z")

</div>

My custom BarsType need to access a indicator or a data series based on other bar type (Minute) and timeframe.  
How can I create a data series inside a BarsType subclass like something similar do using AddDataSeries method?

---

<div class="post-metadata">

**Author:** ![klause](https://discourse.ninjatrader.com/letter_avatar_proxy/v4/letter/k/7feea3/32.png) [@klause](https://discourse.ninjatrader.com/u/klause)\
**Post date:** [May 30, 2025, 10:46pm UTC](https://discourse.ninjatrader.com/t/how-to-access-indicator-or-data-series-from-a-custom-barstype/2602/2 "2025-05-30T22:46:42Z")

</div>

I accomplished this by using BarsRequest and implementing a standalone version of the indicator since _BarsRequest data **CANNOT** be used as input for a NinjaTrader indicator_
