• 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 instruments on 1 chart

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

  • pbylina
    started a topic 2 instruments on 1 chart

    2 instruments on 1 chart

    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.

    Attached Files

  • 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:

Latest Posts

Collapse

Topics Statistics Last Post
Started by siroya, Today, 06:32 AM
0 responses
1 view
0 likes
Last Post siroya
by siroya
 
Started by tshidsmre, Today, 06:06 AM
0 responses
3 views
0 likes
Last Post tshidsmre  
Started by KetoProPlus123, Today, 06:05 AM
0 responses
3 views
0 likes
Last Post KetoProPlus123  
Started by vdhsdkhl, Today, 03:00 AM
0 responses
5 views
0 likes
Last Post vdhsdkhl  
Started by fluffier, Yesterday, 11:49 PM
1 response
18 views
0 likes
Last Post NinjaTrader_Marco  
Working...
X