Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 instruments on 1 chart

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

  • NinjaTrader_Dennis
    replied
    Hello,

    Thank you for your post.

    To better assist you please follow the steps below to email me your log and trace files.
    • Open your NinjaTrader folder under My Documents.
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to [email protected]
    • Once complete, you can delete these compressed folders.

    Please send this files to ATTN: Dennis and reference this forum post.

    I look forward to your reply.


    Leave a comment:


  • Sadie749
    replied
    I was just having the same exact issue. When i loaded two data series, only one was populating the data.

    The other data series was not being loaded, even though that data series loads when loaded individually.

    so i tried the suggestion here. I deleted all data, delete everything in the cache folder. Re opened NT, and connected to my data provider for live feed. And now NOTHING is loading on the chart. So then I updated my NT software. My previous version was .25, now my version is .27.

    The problem is still happening. What can I do? I'm using CGQ. Kodi
    Last edited by Sadie749; 01-27-2019, 10:57 PM.

    Leave a comment:


  • staycool3_a
    replied
    Originally posted by oldporkchops View Post
    Dear Ninja Community,

    I'd like to add two instruments together. The sum should display as one line on my chart.

    Also, I need for the indicator to be able to multiply the instruments by multiples.

    For example: A*3 + B*2 = C

    C is what I need displayed as one line on my chart.

    Does anyone know of an indicator that can do this?

    Thanks in advance for your help.

    Oldporkchops
    here you go.....

    it adds daily values for two symbols and does the multiplyer stuff....
    Attached Files

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello oldporkchops,

    Thanks for your message.

    I do not know of an indicator that will perform this task for you, but it could be programmed easily.

    I may suggest checking out some simple indicators of ours like the SMA and EMA to see how these calculate a value and plot it. You would just have to do the same thing to plot a value with your own math.

    To get more familiar with the syntax, I recommend using the Strategy Wizard to generate small segments of code so you may see how the Wizard generates the syntax. You can do this to see how you can add an indicator within another indicator or a strategy.

    I've included links to the Strategy Wizard 301 tutorial as well as the NinjaScript indicator tutorials and some basic programming concepts. We do not provide programming education services in the support department, so I may suggest checking external C# resources for more robust educational materials.

    Strategy Wizard 301 - https://www.youtube.com/watch?v=FmBiNYsf1e8

    Indicator tutorials - https://ninjatrader.com/support/help...ndicators2.htm

    Basic Programming Concepts - https://ninjatrader.com/support/help...g_concepts.htm

    Additionally, we could have a representative of our EcoSystem reach out with information on NinjaScript consultants who can create this script or any other at your request.

    Please let us know if this interests you.

    Leave a comment:


  • oldporkchops
    replied
    Add two instruments together

    Dear Ninja Community,

    I'd like to add two instruments together. The sum should display as one line on my chart.

    Also, I need for the indicator to be able to multiply the instruments by multiples.

    For example: A*3 + B*2 = C

    C is what I need displayed as one line on my chart.

    Does anyone know of an indicator that can do this?

    Thanks in advance for your help.

    Oldporkchops

    Leave a comment:


  • staycool3_a
    replied
    Originally posted by calhawk01 View Post
    i did that about 20 times. i even reinstalled ninjatrader. charts are still not loading. it could be CGQ?

    back online

    Leave a comment:


  • NinjaTrader_CalH
    replied
    Calhawk01,

    I haven't received any reports about CQG today.

    Are you not able to connect at this time to the Historical Data Servers?

    Leave a comment:


  • staycool3_a
    replied
    Originally posted by NinjaTrader_Cal View Post
    Calhawk01,

    Please shutdown and restart the platform. There was some minor weekend maintenance that was conducted that would prevent you from connecting to them.
    i did that about 20 times. i even reinstalled ninjatrader. charts are still not loading. it could be CGQ?

    Leave a comment:


  • NinjaTrader_CalH
    replied
    Calhawk01,

    Please shutdown and restart the platform. There was some minor weekend maintenance that was conducted that would prevent you from connecting to them.

    Leave a comment:


  • staycool3_a
    replied
    I was just having the same exact issue. When i loaded two data series, only one was populating the data. The other data series was not being loaded, even though that data series loads when loaded individually. So........ i tried the suggestion here. I deleted all data, delete everything in the cache folder. Re opened NT, and connected to my data provider for live feed. And now NOTHING is loading on the chart. So then I updated my NT software. My previous version was .25, now my version is .27. The problem is still happening. What can I do? I'm using CGQ.

    I am getting an error "unable to connect to NT server" in the log. Is NT down? Man i gotta say.. the time i waste on NT problems
    Last edited by staycool3_a; 03-07-2015, 01:50 PM.

    Leave a comment:


  • pbylina
    replied
    Originally posted by NinjaTrader_Kyle View Post
    Hi,

    It seems that only one of the two instruments has been set to use Panel 1 - both data series must use panel 1.
    They were. I managed to figure it out. Not only do you have to set both instruments to Panel 1, you also have to set the scale justification of 1 instrument to left and the other to right or vise versa. Doesnt matter.

    Click image for larger version

Name:	Line spread.png
Views:	1
Size:	72.8 KB
ID:	864516

    Leave a comment:


  • WhiteTisha
    replied
    Originally posted by pbylina View Post
    I tried to put 2 instruments on 1 chart because it is need for an indicator I have but the second instrument does not show up.

    I have exactly the same problem.

    Leave a comment:


  • NinjaTrader_Kyle
    replied
    Hi,

    It seems that only one of the two instruments has been set to use Panel 1 - both data series must use panel 1.

    Leave a comment:


  • pbylina
    replied
    I want it like this:

    Click image for larger version

Name:	ScreenShot004.png
Views:	1
Size:	177.4 KB
ID:	864513

    Leave a comment:


  • pbylina
    replied
    Originally posted by NinjaTrader_Kyle View Post
    Hi,

    Please right click in the chart and select Data Series.
    In that menu, set both data series to use Panel 1, then click OK.
    Some reason it doesnt work:

    Click image for larger version

Name:	2 instruments 1 chart.png
Views:	1
Size:	38.4 KB
ID:	864512

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Jon17, Today, 04:33 PM
0 responses
1 view
0 likes
Last Post Jon17
by Jon17
 
Started by Javierw.ok, Today, 04:12 PM
0 responses
4 views
0 likes
Last Post Javierw.ok  
Started by timmbbo, Today, 08:59 AM
2 responses
10 views
0 likes
Last Post bltdavid  
Started by alifarahani, Today, 09:40 AM
6 responses
40 views
0 likes
Last Post alifarahani  
Started by Waxavi, Today, 02:10 AM
1 response
19 views
0 likes
Last Post NinjaTrader_LuisH  
Working...
X