Where do you put your helper classes? - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Where do you put your helper classes?
Started:February 25th, 2013 (10:49 AM) by balance Views / Replies:297 / 1
Last Reply:February 25th, 2013 (10:49 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Where do you put your helper classes?

Old February 25th, 2013, 10:49 AM   #1 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: TOS, Matlab
Broker/Data: IB, ToS
Favorite Futures: HSI, TF, CL
Posts: 13 since Aug 2011
Thanks: 4 given, 6 received

Where do you put your helper classes?

Assume I have quite a few generic C# helper classes shared among indicators and strategies. Where do you put them to avoid duplicate copies (in indicator and strategy folders) with maintenance nightmare?

A related question is, how can one make use of all the nice features in C#??

For example I have a helper class called waveState that's something like :

public class WaveST 


Pt P1P2P3P4P5
Boolean bull
Boolean meaty
            public List<
Cwave cw
Boolean inLTF

void Draw(int crBoolean eColor c) ... 
I have no choice but to put it in UserDefinedMethods.cs, but then I can't even use DrawLine call without getting something like "can't reference outer class methods from nested ... etc etc."

Other than no worry about memory management and the nice LINQ, it's like back to the days of straight C...

Reply With Quote

Old February 25th, 2013, 10:49 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Where do you put your helper classes?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Corey Rosenbloom: Tips, Tactics, and Real Trades: Trading Intraday Trend Reversals

Elite only

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone put PRC2 into a strategy CaptainAmericaXX NinjaTrader Programming 8 October 9th, 2015 08:51 AM
Put on the thinking caps mwtzzz Commodities Futures Trading 6 February 28th, 2013 10:59 AM
looking to put price on the chart Mickey Caine Sierra Chart Programming 8 December 7th, 2011 05:33 PM
Put / Call Charting TonyB Options on Futures 7 August 3rd, 2011 02:36 PM
What is appropriate to put in a journal? Allistah Trading Journals 3 July 21st, 2011 09:20 PM

All times are GMT -4. The time now is 09:23 AM.

Copyright © 2016 by 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 2016-10-21 in 0.06 seconds with 19 queries on phoenix via your IP