• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 Dataseries in 1 Chart

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • luxurious_04
    started a topic 2 Dataseries in 1 Chart

    2 Dataseries in 1 Chart

    I have 2 DataSeries in 1 chart, FB 3 Range and ^Tick 15 Seconds and my question is how to make an indicator look only on the bars develop in the FB 3 Range or my primary DataSeries?

  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the question.

    By default an indicator will only see the input series you have selected in the indicators properties. So on a chart with two series, the indicator would default to the primary unless you specify a different input series.

    Using NinjaScript, you can add data series from script, in this case you would need to differentiate logic in the script because the script its self is adding two series.

    Can you confirm, have you manually created a chart with 2 series, or is the indicator adding its own? If this is just a chart with two series, look at the Input Series in the indicators properties and that would display which series you have applied the indicator to.

    If this is in script that you need to differentiate, this would be know as the BarsInProgress. If this is the case please let me know and I can provide more details.

    I look forward to being of further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by saeed, Today, 02:07 PM
2 responses
5 views
0 likes
Last Post saeed
by saeed
 
Started by 7robert, Today, 01:40 PM
1 response
10 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by bortz, Today, 12:57 PM
2 responses
16 views
0 likes
Last Post bortz
by bortz
 
Started by richa61416, Today, 01:18 PM
1 response
5 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by Robotman, Today, 01:08 PM
0 responses
6 views
0 likes
Last Post Robotman  
Working...
X