Profile your code using Visual Studio 2010 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Profile your code using Visual Studio 2010
Updated: Views / Replies:24,658 / 21
Created: by gomi Attachments:11

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 11  
 
Thread Tools Search this Thread
 

Profile your code using Visual Studio 2010

  #11 (permalink)
Trading Apprentice
Newcastle NSW Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES, NQ and SPI
 
Posts: 8 since Aug 2012
Thanks: 46 given, 3 received


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
 
  #12 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,176 since Oct 2009
Thanks: 227 given, 4,092 received

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

Reply With Quote
The following 3 users say Thank You to gomi for this post:
 
  #13 (permalink)
Elite Member
Dartmouth NS
 
Futures Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker/Data: IB / IQFeed / Kids
Favorite Futures: Forex, stocks
 
bnichols's Avatar
 
Posts: 638 since Feb 2010
Thanks: 64 given, 459 received



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

Reply With Quote
The following user says Thank You to bnichols for this post:
 
  #14 (permalink)
 Vendor: whitmarkdevelopment.com 
Richmond, Virginia
 
Futures Experience: Intermediate
Platform: NinjaTrader, NeoTicker
Favorite Futures: Futures, Forex, Stocks
 
whitmark's Avatar
 
Posts: 11 since Jun 2009
Thanks: 5 given, 21 received

Profiling Available in Visual Studio 2012 Pro

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
Profile your code using Visual Studio 2010-vs-2012-pro-profiling.png  
Reply With Quote
The following user says Thank You to whitmark for this post:
 
  #15 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,176 since Oct 2009
Thanks: 227 given, 4,092 received

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

Reply With Quote
The following 2 users say Thank You to gomi for this post:
 
  #16 (permalink)
Elite Member
Phoenix, Arizona
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: Oil
 
Posts: 52 since Jul 2009
Thanks: 1 given, 6 received

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
Profile your code using Visual Studio 2010-performance-analyzer-errors.png   Profile your code using Visual Studio 2010-gomcdhathree.png  

Last edited by Big Mike; July 25th, 2013 at 12:57 PM. Reason: removed Elite only indicators from non-Elite subforum
Reply With Quote
 
  #17 (permalink)
Elite Member
Phoenix, Arizona
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: Oil
 
Posts: 52 since Jul 2009
Thanks: 1 given, 6 received

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...


Last edited by Taddypole; July 25th, 2013 at 01:14 PM. Reason: Confused whether the pic's were removed or not...
Reply With Quote
 
  #18 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,227 received


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

https://futures.io/elite-circle/6802-gomrecorder-2-a.html

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #19 (permalink)
Elite Member
Phoenix, Arizona
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: Oil
 
Posts: 52 since Jul 2009
Thanks: 1 given, 6 received


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
Profile your code using Visual Studio 2010-directory-reference.png   Profile your code using Visual Studio 2010-no-source-code.png   Profile your code using Visual Studio 2010-visual-studio-error-msgs.png  
Reply With Quote
 
  #20 (permalink)
Elite Member
india
 
Futures Experience: None
Platform: ninjatrader
Broker/Data: zen-fire
Favorite Futures: gold
 
Posts: 17 since Apr 2010
Thanks: 0 given, 0 received

hi to all ninja trader programers


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

Reply



futures io > > > > > Profile your code using Visual Studio 2010

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check your code using Visual Studio and FxCop gomi NinjaTrader Programming 4 July 17th, 2012 08:46 PM
Using Visual Studio (Express) w/ NT LostTrader NinjaTrader Programming 3 July 28th, 2010 08:48 PM
How-to profile NinjaTrader code with Visual Studio 2010 Big Mike Help, Tutorials, and How-Tos 0 July 6th, 2010 11:39 PM
Visual Studio 08 NT programming symphys NinjaTrader Programming 5 March 8th, 2010 05:45 AM
Will Visual Studio 2008(5, 10?) help? MXASJ NinjaTrader Programming 2 November 8th, 2009 08:55 AM


All times are GMT -4. The time now is 08:13 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.13 seconds with 20 queries on phoenix via your IP 54.160.245.121