NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 12 of 12
Search: Posts Made By: bltdavid
Forum: NinjaTrader May 14th, 2015, 06:15 PM
Replies: 34
Views: 10,813
Posted By bltdavid
I think I first saw this technique in a Woodies...

I think I first saw this technique in a Woodies demo strategy I downloaded a few years back.

Woodies stuff is built by MicroTrends using (I presume) their strategy framework product.

Anyways,...
Forum: NinjaTrader May 14th, 2015, 05:59 PM
Replies: 34
Views: 10,813
Posted By bltdavid
No, the example shows advanced ideas, using 4...

No, the example shows advanced ideas, using 4 bools is naive.

I think your example is very good because it shows how to solve limitations with NinjaTrader backtesting.

NinjaTrader cannot...
Forum: NinjaTrader May 14th, 2015, 05:36 PM
Replies: 34
Views: 10,813
Posted By bltdavid
No worries, I love these back & forth ideas on...

No worries, I love these back & forth ideas on code organization (aka "readability").

I have not done the extension for the enumeration type, but I really like that idea.

ratfink reminds me how...
Forum: NinjaTrader May 14th, 2015, 01:58 PM
Replies: 34
Views: 10,813
Posted By bltdavid
Love it, but I think "IsDefined" or "IsEnabled"...

Love it, but I think "IsDefined" or "IsEnabled" is a better name than "Includes" ... reads a bit better.
Forum: NinjaTrader April 25th, 2015, 08:44 PM
Replies: 34
Views: 10,813
Posted By bltdavid
The problem is sharing code at this low,...

The problem is sharing code at this low, building-block level (aka, small & useful misc utility routines) is not as common as the high level sharing of entire code units (aka, indicators and...
Forum: NinjaTrader April 25th, 2015, 06:04 PM
Replies: 34
Views: 10,813
Posted By bltdavid
Similar to my Duration() routine, I wrote another...

Similar to my Duration() routine, I wrote another routine called BriefDuration(), which uses single character suffixes for the days, hours, minutes, and seconds. See attached screenshot showing an...
Forum: NinjaTrader April 25th, 2015, 05:49 PM
Replies: 34
Views: 10,813
Posted By bltdavid
On a similar note, I also needed a way to display...

On a similar note, I also needed a way to display time spans in easy to read English, but I was only concerned with Days, Hours, Minutes, and Seconds. Why? In OnTermination() of my strategy, I...
Forum: NinjaTrader April 10th, 2015, 09:18 PM
Replies: 34
Views: 10,813
Posted By bltdavid
I submit there is something even better: just use...

I submit there is something even better: just use the builtin FormatPrice() method.

See my post here:
NinjaTrader Support Forum - Price marker format for T-Notes Futures Pivot Points...
Forum: NinjaTrader April 3rd, 2015, 10:23 PM
Replies: 34
Views: 10,813
Posted By bltdavid
I have about a dozen boolean variables and...

I have about a dozen boolean variables and properties that all use the naming convention "IsStrategyXXX".

This family of variables and properties handles strategy wide conditions, and it all...
Forum: NinjaTrader April 3rd, 2015, 10:02 PM
Replies: 34
Views: 10,813
Posted By bltdavid
For strategies that trade futures, I've...

For strategies that trade futures, I've standardized on accessing certain NinjaTrader values via these properties, which are descriptive and simply named.


public string ContractBaseName {
...
Forum: NinjaTrader April 3rd, 2015, 09:52 PM
Replies: 34
Views: 10,813
Posted By bltdavid
I use my "FormatMoney" routine to print money...

I use my "FormatMoney" routine to print money values.

An empty cents ".00" suffix is generally useless; I usually prefer to see "$2400" vs "$2,400.00". But if the cents are there, I print them.
...
Forum: NinjaTrader April 3rd, 2015, 09:39 PM
Replies: 34
Views: 10,813
Posted By bltdavid
Is that any different than FormatPrice? ...

Is that any different than FormatPrice?

public double Round2TickSize(double DoubleValue)
{
return Instrument.MasterInstrument.Round2TickSize(DoubleValue);
}...
Showing results 1 to 12 of 12

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