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 MXASJ with 1 posts (0 thanks)
    3. looks_3 gomi with 1 posts (3 thanks)
    4. looks_4 sigjanu with 1 posts (0 thanks)
    1. trending_up 13,639 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?
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #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 Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


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


Success requires no deodorant! (Sun Tzu)
Follow me on X 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