NexusFi: Find Your Edge


Home Menu

 





Profile your code using Visual Studio 2010


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one gomi with 7 posts (23 thanks)
    2. looks_two Taddypole with 3 posts (0 thanks)
    3. looks_3 DrMatt with 2 posts (0 thanks)
    4. looks_4 Big Mike with 2 posts (0 thanks)
      Best Posters
    1. looks_one gomi with 3.3 thanks per post
    2. looks_two merc with 2 thanks per post
    3. looks_3 whitmark with 1 thanks per post
    4. looks_4 bnichols with 1 thanks per post
    1. trending_up 33,354 views
    2. thumb_up 27 thanks given
    3. group 18 followers
    1. forum 21 posts
    2. attach_file 11 attachments




 
Search this Thread

Profile your code using Visual Studio 2010

  #11 (permalink)
DrMatt
Newcastle NSW Australia
 
Posts: 8 since Aug 2012
Thanks Given: 46
Thanks Received: 3


gomi View Post
Pretty sure you don't have any profiler in VS 2010 express, so no, it won't work.



Thanks,

How much is the full blown version?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #12 (permalink)
 gomi 
Paris
Market Wizard
 
Experience: None
Platform: NinjaTrader
Posts: 1,270 since Oct 2009
Thanks Given: 282
Thanks Received: 4,505

You need at least premium version, which is 5400 USD I believe....

But you can also use third party profiling tools (some of which are free)
see for instance : visual studio - Good Profiler for C# 2010? - Stack Overflow

Started this thread Reply With Quote
The following 3 users say Thank You to gomi for this post:
  #13 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460



Quoting 
You need at least premium version, which is 5400 USD I believe....

Coincidentally the same amount as a Takahashi Epsilon 180ED (telescope). The Takahashi requires dark sky to use unfortunately whereas VS does not -- the deciding factor in my light-polluted neck of the woods :-/

Visit my NexusFi Trade Journal Reply With Quote
  #14 (permalink)
 
whitmark's Avatar
 whitmark   is a Vendor
 
Posts: 13 since Jun 2009
Thanks Given: 7
Thanks Received: 28

Previously, the profiling capability was only available in VS 2010 Premium and Ultimate editions at a current cost of $3300+. Profiling is now available in VS 2012 Professional that retails for $499 and will put you in good stead for the new technologies coming in NT8. I did a limited test using Gomi's instructions and it worked fine.

Attached Thumbnails
Click image for larger version

Name:	VS 2012 Pro Profiling.png
Views:	358
Size:	96.8 KB
ID:	105302  
Reply With Quote
The following user says Thank You to whitmark for this post:
  #15 (permalink)
 gomi 
Paris
Market Wizard
 
Experience: None
Platform: NinjaTrader
Posts: 1,270 since Oct 2009
Thanks Given: 282
Thanks Received: 4,505

Caution if you use Windows 8:

1. Profiling won't work in VS2010

2. You won't get per-line sample values in VS2012 because it only works with .Net >=4.0. So useless as well.


Thanks MS, guess I'll have to reinstall W7 somewhere...

The Visual Studio Profiler on Windows 8 - Visual Studio Profiler Team Blog - Site Home - MSDN Blogs

Started this thread Reply With Quote
The following 2 users say Thank You to gomi for this post:
  #16 (permalink)
 Taddypole 
Phoenix, Arizona
 
Experience: Advanced
Platform: Ninja Trader
Trading: Oil
Posts: 54 since Jul 2009
Thanks Given: 1
Thanks Received: 7

Hi Gomi,

I've been working with you indicators and have very much enjoyed your work. I have some modifications that I like but have serious slow downs in fast markets.

So I searched for help and found this thread. I tried running the Analyzer but came up with many many errors. Since I'm not a programmer by trade, I was wondering if you could give me some help.

I've attached a picture of the indicators on a chart and the code for both. Right now I only have errors on the indicator GomCdHaThree.

Even though it works, I know there are some serious violations as I'm way over my head.

Can you give me some guidance on getting rid of the errors?

thank you,
taddypole...

Attached Thumbnails
Click image for larger version

Name:	Performance Analyzer Errors.png
Views:	278
Size:	161.6 KB
ID:	119727   Click image for larger version

Name:	GomCdHaThree.png
Views:	309
Size:	81.1 KB
ID:	119728  
Reply With Quote
  #17 (permalink)
 Taddypole 
Phoenix, Arizona
 
Experience: Advanced
Platform: Ninja Trader
Trading: Oil
Posts: 54 since Jul 2009
Thanks Given: 1
Thanks Received: 7

I see the indicator code was removed because it was Elite code in a non Elite section.

How do I share the code? It seems this is the logical area for this question. Do I send via a private message? or start a new thread in the Elite section?

Regards,
taddypole...

Reply With Quote
  #18 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476


Taddypole View Post
I see the indicator code was removed because it was Elite code in a non Elite section.

How do I share the code? It seems this is the logical area for this question. Do I send via a private message? or start a new thread in the Elite section?

Regards,
taddypole...

If it is about GomRecorder indicators, use GomRecorder thread



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #19 (permalink)
 Taddypole 
Phoenix, Arizona
 
Experience: Advanced
Platform: Ninja Trader
Trading: Oil
Posts: 54 since Jul 2009
Thanks Given: 1
Thanks Received: 7


Taddypole View Post
Hi Gomi,

I've been working with you indicators and have very much enjoyed your work. I have some modifications that I like but have serious slow downs in fast markets.

So I searched for help and found this thread. I tried running the Analyzer but came up with many many errors. Since I'm not a programmer by trade, I was wondering if you could give me some help.

I've attached a picture of the indicators on a chart and the code for both. Right now I only have errors on the indicator GomCdHaThree.

Even though it works, I know there are some serious violations as I'm way over my head.

Can you give me some guidance on getting rid of the errors?

thank you,
taddypole...

I found the problems. corrupted code from a crash I had earlier. Had to rebuild indicators from previous versions. Everything is back up and running but I have another question.

In trying to do the Performance testing, I'm getting some other Error messages. Many fewer since I fixed the corrupted files.

They are:

'The reference component 'Ninja Trader.Core' could not be found'
'The reference component 'WilsonORMapper' could not be found'

Also, in the directory reference I have caution signs.


Is this expected behavior or do I have a Visual Studio setup problem?

Basic Visual Studio functions seem to be working fine.


thanks,
taddypole...

Attached Thumbnails
Click image for larger version

Name:	Directory Reference.png
Views:	232
Size:	13.0 KB
ID:	119899   Click image for larger version

Name:	No Source Code.png
Views:	255
Size:	74.9 KB
ID:	119900   Click image for larger version

Name:	Visual Studio Error Msgs.png
Views:	257
Size:	3.7 KB
ID:	119901  
Reply With Quote
  #20 (permalink)
 vipuljparmar 
india
 
Experience: None
Platform: ninjatrader
Broker: zen-fire
Trading: gold
Posts: 17 since Apr 2010
Thanks Given: 0
Thanks Received: 0


Dear All,

I'm Vipul From India we do not have any real time data providers free giving market data for nse stocks but yahoo gives live data but u have to log in with your yahoo id and password to get stemming data .

can any one code in program which can help me log in to yahoo and fetch data and send it to ninja trader as external data feed which i can use for my datafeed to view charts

appreciate all the help

regards,

vipul j parmar

Reply With Quote





Last Updated on January 13, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts