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
>
Downloads
>
The Elite Circle
>
Categories
Show
Search
Help
Search
title and description
keywords
Advanced Search
Winning nominations
What's Hot
What's New
New Ratings
Some Random Entries
Home Category
Login to Download
Local Order Manager - NinjaTrader Strategy Library
The
[COLOR=#0066cc]Local Order Manager [/COLOR]
has been designed to replace the internal NinjaTrader order management functions. It is based upon Unmanaged Order Management function. The goal is to create complex and flexible features that can easily be re-used, freeing the programmer of the strategy to focus upon the intended strategy and not getting bogged down with coding and debugging.
For more information about the NinjaTrader Local Order Manager please refer to the following section:
https://nexusfi.com/wiki/trading-wiki/NT-Local-Order-Manager-LOM-Guide
https://nexusfi.com/elite-automated-ninjatrader-trading/15563-njamc-local-order-manager-lom-collaboration.html
Revision History:
Rev 1:
As issued
Rev 2:
Added:
[FONT="]public [/FONT]
[FONT="]bool[/FONT]
[FONT="] GoShortLimit([/FONT]
[FONT="]int[/FONT]
[FONT="] m_SharesTraded,[/FONT]
[FONT="]double[/FONT]
[FONT="] m_Limit,[/FONT]
[FONT="]int[/FONT]
[COLOR=#0066cc]Limit Order
[FONT="] m_PositionNumber) - To handle true
, Rather than STOPLIMIT[/FONT][/COLOR]
[FONT="]Added: [/FONT]
[FONT="]public [/FONT]
[FONT="]bool[/FONT]
[FONT="] GoShortLimit([/FONT]
[FONT="]int[/FONT]
[FONT="] m_SharesTraded,[/FONT]
[FONT="]int[/FONT]
[FONT="] m_LimitTicks,[/FONT]
[FONT="]double[/FONT]
[FONT="] m_RefPrice,[/FONT]
[FONT="]int[/FONT]
[COLOR=#000080]Limit Order
[FONT="] m_PositionNumber) - To handle true
, Rather than STOPLIMIT[/FONT][/COLOR]
Added:
[FONT="]public [/FONT]
[FONT="]bool[/FONT]
[FONT="] GoLongLimit([/FONT]
[FONT="]int[/FONT]
[FONT="] m_SharesTraded,[/FONT]
[FONT="]double[/FONT]
[FONT="] m_Limit,[/FONT]
[FONT="]int[/FONT]
[FONT="] m_PositionNumber) - To handle true Limit Order, Rather than STOPLIMIT[/FONT]
[FONT="]
Added:
[/FONT]
[FONT="]public [/FONT]
[FONT="]bool[/FONT]
[FONT="] GoLongLimit([/FONT]
[FONT="]int[/FONT]
[FONT="] m_SharesTraded,[/FONT]
[FONT="]int[/FONT]
[FONT="] m_LimitTicks,[/FONT]
[FONT="]double[/FONT]
[FONT="] m_RefPrice,[/FONT]
[FONT="]int[/FONT]
[FONT="] m_PositionNumber) - To handle true Limit Order, Rather than STOPLIMIT[/FONT]
Rev 3:
Added:
[FONT="]public [/FONT]
[FONT="]void[/FONT]
[FONT="] SetStatsBoxVisable([/FONT]
[FONT="]bool[/FONT]
[FONT="] m_Stats)[/FONT]
Added:
[FONT="]GoShortStopLimit() Functions, depreciated functions that are misleading[/FONT]
Added:
[FONT="]GoLongStopLimit() Functions, depreciated functions that are misleading[/FONT]
Rev 4: 4/1/2012
Added: Various Trailing Stop fixes
Fix:
[FONT="]PartialFills improvements[/FONT]
Experimental: Timer functions for future features
Rev 5: 4/15/2012
Fix:
[FONT="]Major Stability Improvements, Partial Fills almost flawless[/FONT]
Experimental: Timer functions for future features
improved
Rev 6: 7/25/2012 (Beta Release)
Fix:
Major Stability Improvements, Partial Fills almost flawless
Fix: Timer functions for Good Until, detects fast replay and autodisables
Added: Good Until by Time & #Bars
Added: Trailing Stop DataSeries Driven
Added: GoLimitBracket
Added: GetFillQuantity
Added: Rejected Order handling (started)
Improved: Entry/exit functions added object to contain rules/handling
Experimental: Timer functions for future features
improved
Added: Version ID Current
LOM:02b.01b.01a.01.01b.02.01.01a.01.0.0.2
Rev 7: 9/26/2013 (Beta Release)
Update done by contributor, not fully integrated but available.
Fix
: Fixed a bug in dataseries based SetTrailingStop() in which the the wrong variable is used for calculating the tick offset.
Changed
: Changed the behavior of the dataseries based SetTrailingStop() such that it will remain triggered after the price has moved beyond the trail trigger ticks and retrace back. The previous implementation is such that the trailing stop will be active only when the price remains beyond the trail trigger ticks.
Improved
: Commented out the warning logs for non-value dataseries of the indicator based Trailing Stop. It is not necessary for trailing stop indicator to return a value for every bar. For example, a price action swing trailing stop indicator returns an update of a stop loss value after it makes a swing. Furthermore, it is more efficient to update the stop loss value as and when it is required.
Rev 8: 11/24/2014
Update done by contributor, not fully integrated but available.
General
: Rolled up many improvements into the latest build
Added
: Added new user contribution "SetStatsBoxVisable(bool m_Stats, string m_DebugString)" to enable and disable Stats box with Debugging String
Added: Version ID Current
LOM:02b.01b.01b.01.01b.02a.01.01b.01.0.0.2
Category
The Elite Circle
Details:
Local Order Manager - NinjaTrader Strategy Library
Category:
The Elite Circle
December 5th, 2014
Size: 40.29 KB
1168
NJAMC
Comments/ratings
Traderji
April 1st, 2012 11:30 PM
Very cool. Thanks.
ValutaTrader
April 12th, 2012 02:43 AM
Great piece of work!
NetTecture
April 18th, 2012 05:31 AM
Rev. 5 download points to GHPLocalOrderManager04012012.zip. is it the right file?
Fat Tails
June 16th, 2012 05:16 PM
Extremely useful work!
photog53
August 4th, 2012 03:20 PM
Very nicely done !!!
COTtrader
May 27th, 2013 12:51 PM
I am just now realizing the power of this.
Ken
sidlercom
October 11th, 2020 03:47 AM
great work!
NinjaStang
January 11th, 2024 10:14 AM
Hi this been updated to the new ninjatrader? says older version.
Sort by
Date created (ascending)
Date created (descending)
Username
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.