NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 13 of 13
Search: Posts Made By: gregid
Forum: NinjaTrader May 14th, 2015, 05:37 PM
Replies: 34
Views: 10,807
Posted By gregid
I think you missed this part: "The example is...

I think you missed this part:
"The example is quite naive and could be solved with 4 bools - this is just to show how it works so you can use it for more complex problems."
:boxing::sarcastic:
Forum: NinjaTrader May 14th, 2015, 03:30 PM
Replies: 34
Views: 10,807
Posted By gregid
To each his own :becky:

To each his own :becky:
Forum: NinjaTrader April 27th, 2015, 12:02 PM
Replies: 34
Views: 10,807
Posted By gregid
There are situations where my...

There are situations where my calculations/actions in the indicator or strategy depend on the combination of the parameters. My personal preference of dealing with combinations is to utilise bitwise...
Forum: NinjaTrader April 27th, 2015, 06:59 AM
Replies: 34
Views: 10,807
Posted By gregid
Enumerable DataSeries

One of my biggest complaints about NinjaTrader is the fact that some basic NT collections/arrays don't implement IEnumerable interface. This unnecesarilly complicates things - it is simply not making...
Forum: NinjaTrader April 25th, 2015, 07:01 PM
Replies: 34
Views: 10,807
Posted By gregid
Thanks bltdavid for your contributions to the...

Thanks bltdavid for your contributions to the thread - seeing how many times we all end up reinventing the same stuff makes me wonder what we would all do with the free time on our hands if sharing...
Forum: NinjaTrader April 20th, 2015, 11:04 AM
Replies: 34
Views: 10,807
Posted By gregid
Optional Formatting of TimeSpan

As I was writing g3ChartSpan (https://nexusfi.com/download/ninjatrader-7/indicators/1628-download.html?view) indicator I needed a way of formatting the TimeSpan to optionally exclude some information...
Forum: NinjaTrader March 31st, 2015, 08:05 AM
Replies: 34
Views: 10,807
Posted By gregid
It seems to me I vastly overestimated usefullness...

It seems to me I vastly overestimated usefullness of such thread - as the only people that have shown any interest (thanks) are the ones that could easily deal without my help, plus my hope was to...
Forum: NinjaTrader March 30th, 2015, 07:59 AM
Replies: 34
Views: 10,807
Posted By gregid
Ordinal numbers

Another simple helper I use from time to time to display or print the numbers in their ordinal form (1st, 2nd, 3rd, etc.).

To use with integers, eg.:


int exampleNumber = 5;...
Forum: NinjaTrader March 28th, 2015, 10:13 AM
Replies: 34
Views: 10,807
Posted By gregid
Chart Helper for working on canvas

If you've ever worked with Plot override and custom drawing then you know how painfull the process is with finding the right coordinates. Attached file (ChartHelper) has some nice helper methods to...
Forum: NinjaTrader March 28th, 2015, 09:41 AM
Replies: 34
Views: 10,807
Posted By gregid
DrawFontSymbol

I recently learned from cory, a nice trick to draw symbols with graphic fonts (eg. wingdings).

So I added a custom method where I predefine some symbols I want to use and then call it from...
Forum: NinjaTrader March 27th, 2015, 08:38 PM
Replies: 34
Views: 10,807
Posted By gregid
Another overload for PrintMe

If you would rather use names for grouping PrintMe here is another overload to do just that:

/// <summary>
/// Print if group is to be included using string or characters to...
Forum: NinjaTrader March 27th, 2015, 06:14 PM
Replies: 34
Views: 10,807
Posted By gregid
Extended Print method (PrintMe)

One example where I've realized I spent too much time is with native Print method.

Firstly I wasted time on formatting and adding prefixes like Time[0], or some identifiers to know where the info...
Forum: NinjaTrader March 27th, 2015, 06:00 PM
Replies: 34
Views: 10,807
Posted By gregid
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods

I've seen many times how a small helper methods can greatly increase productivity. So the idea for this thread is to share such little code snippets that will extend the existing NinjaScript methods....
Showing results 1 to 13 of 13

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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