Dark
Theme
Light
Theme
Register
Username or Email
Username or Email
Password
Password
Forgot
Signup
Forgot
Browse
Register
Downloads / Indicators
Articles
Upgrade to Elite
Unanswered Posts
My Posts
Return to Homepage
Today's Posts
Trading Reviews and Vendors
Futures Brokers Reviews
Traders Hideout (general)
Platforms and Indicators
Trading Journals
Elite Trading Journals
Psychology and Money Management
Off-Topic
The Elite Circle
Webinars
Trading Articles
Main Trading Articles Index
Article Categories
Help, Tutorials, How-To's
Traders and Trading Methods
Platforms, Tools and Indicators
Terms (Glossary)
Article Tools
List New Articles
List Recent Article Changes
Random Article
Most Popular Articles
Category Groupings
Wanted Articles
Most Linked to from Forum
Go to Page...
Quotes
by TradingView
>
Search Forums
>
Showing results 1 to 12 of 12
Filter subforums listed
Search:
Posts Made By:
bltdavid
Forum:
NinjaTrader
May 14th, 2015, 06:15 PM
Replies:
34
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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
NinjaScript Little Helpers Code Share - Snippets/UserDefinedMethods
Views:
10,809
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?
Limited trading instruments
High platform usage fees
Lack of support or mentorship
Unrealistic rules and requirements
No significant challenges
Something else (discuss in thread)
View Results
Discuss Poll
futures io is now NexusFi
Trading Webinars How-to's
Trading Reviews & Products
Join Markets Chat waitlist
NinjaTrader Brokerage (Broker)
Ninja Mobile Trader (Server Hosting)
Apex Trader Funding (Prop Trading)
Tradovate (Trading Platform)
NinjaTrader (Trading Platform)
SharkIndicators (Trading Software)
© 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.