NexusFi: Find Your Edge


Home Menu

 





C# Charting Class/Library


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one Dusty909 with 3 posts (1 thanks)
    2. looks_two sam028 with 1 posts (0 thanks)
    3. looks_3 henry218 with 1 posts (1 thanks)
    4. looks_4 MXASJ with 1 posts (0 thanks)
    1. trending_up 14,003 views
    2. thumb_up 5 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 Dusty909 
Vancouver, BC
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 19 since Aug 2009
Thanks Given: 7
Thanks Received: 7

I developed my own backtesting software in C# from scratch as I was not satisfied with limitations of the various commercial packages available. So far all it generates however are CSV files of the results. What I would like to do is chart these and show the entries/exits similar to the way backtesting works natively in NinjaTrader. Does anyone know of a good (preferably free) stock charting class that I can download to accomplish this easily? So far the ones I have found googling are pretty lacking.


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
My Rant with AMP Futures
Trading Reviews and Vendors
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
 
  #2 (permalink)
 MXASJ 
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
Posts: 796 since Jun 2009
Thanks Given: 109
Thanks Received: 801

Some ideas here:

Nuclear Phynance

If its uncool to post links to other forums let me know and I'll change the post.


Reply With Quote
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Administrator
 
Posts: 3,779 since Jun 2009
Thanks Given: 3,840
Thanks Received: 4,709


Maybe GnuPlot, it's free, easy, and powerful.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
  #4 (permalink)
 Dusty909 
Vancouver, BC
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 19 since Aug 2009
Thanks Given: 7
Thanks Received: 7

I guess the main feature I am looking for is the ability to pan and zoom. Generating a static chart is not too difficult but for the length of time I am backtesting, its impossible to see any detail without zooming in.


Started this thread Reply With Quote
  #5 (permalink)
 gomi 
Paris
Legendary Market Wizard
 
Experience: None
Platform: NinjaTrader
Posts: 1,270 since Oct 2009
Thanks Given: 282
Thanks Received: 4,507

I've used ChartDirector in the past, it's pretty cool, and you can implement zoom/pan
See ChartDirector Chart Gallery - Finance Charts

Only limitation of the trial version is that you get a "Created with ChartDirector" on the chart.

I've included the demo app I just compiled. Launch CSharpChartExplorer.exe

For financial charts, choose ... financial charts, and for zooming/scrolling, choose ... zooming and scrolling :-)


Attached Files
Elite Membership required to download: ChartDemo.zip
Reply With Quote
Thanked by:
  #6 (permalink)
 Dusty909 
Vancouver, BC
 
Experience: Intermediate
Platform: Ninjatrader
Posts: 19 since Aug 2009
Thanks Given: 7
Thanks Received: 7

Perfect! Exactly what I was looking for. Thanks gomi!


Started this thread Reply With Quote
  #7 (permalink)
sigjanu
CPH
 
Posts: 5 since Feb 2011
Thanks Given: 4
Thanks Received: 0

If you want to program your charts yourself (I do as third party software is sometime buggy) then I can recommend the Chart Controls for the .NET framework from Microsoft: archive.msdn.microsoft.com/mschart

The link contains a download-sample of different charts and how the source-code looks. Very easy to understand. The download contains an exe file you can run so you don't have to compile anything to get the sample running


Reply With Quote
  #8 (permalink)
 henry218 
sao paulo
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks
Posts: 3 since Nov 2010
Thanks Given: 0
Thanks Received: 1

I think the best way is using R The R Project for Statistical Computing with RStudio and the financial analytics package, so you can print all the statistics too.


Reply With Quote
Thanked by:




Last Updated on December 1, 2011


© 2026 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 - Downloads - Top
no new posts