{"id":735,"date":"2017-02-21T12:17:29","date_gmt":"2017-02-21T12:17:29","guid":{"rendered":"http:\/\/pjsmith.me.uk\/?p=735"},"modified":"2017-02-21T12:17:29","modified_gmt":"2017-02-21T12:17:29","slug":"a-new-dom-for-ninjatrader","status":"publish","type":"post","link":"https:\/\/pjsmith.me.uk\/index.php\/2017\/02\/a-new-dom-for-ninjatrader\/","title":{"rendered":"A new DOM for Ninjatrader"},"content":{"rendered":"<p>Since I started using Ninjatrader\u00a0with version 7, I never liked their DOM. In fact, I found it next to useless. I purchased a third party DOM that was light years ahead of the inbuilt NT7 one in terms of information provided and update speed. When I migrated to NT8, the new inbuilt DOM did\/does have some interesting features, but it still lacks usability for me, especially for order management. \u00a0I already had looked into putting together my own dom a long time ago, but with the cost of my time, it was far cheaper to buy the third party one. \u00a0Recently though, after chatting with a few people and wanting something for my order management that neither DOM does, I decided to resurrect the project. I&#8217;ve\u00a0started afresh in NT8 and have a proof of concept running.<\/p>\n<p>Here is a screenshot of the DOM, running alongside the NT8 one.The T&amp;S on the left is for debug only at the moment (it is not managing the CME splits yet), but will be part of the DOM.<\/p>\n<div id=\"attachment_736\" style=\"width: 903px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-736\" data-attachment-id=\"736\" data-permalink=\"https:\/\/pjsmith.me.uk\/index.php\/2017\/02\/a-new-dom-for-ninjatrader\/2017-02-21-11_43_51-superdom-es-03-17\/\" data-orig-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17.png\" data-orig-size=\"893,708\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"A new DOM for Ninjatrader\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Proof of concept for a DIY DOM for ninjatrader&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17-300x238.png\" data-large-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17.png\" class=\"wp-image-736 size-full\" src=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17.png\" alt=\"A new DOM for Ninjatrader\" width=\"893\" height=\"708\" srcset=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17.png 893w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17-600x476.png 600w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17-300x238.png 300w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2017\/02\/2017-02-21-11_43_51-SuperDOM-ES-03-17-768x609.png 768w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/a><p id=\"caption-attachment-736\" class=\"wp-caption-text\">Proof of concept for a DIY DOM for NinjaTrader<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Here is a short video of it in action. It&#8217;s pre market, so things are quiet on the ES.<\/p>\n<p><iframe loading=\"lazy\" width=\"1080\" height=\"810\" src=\"https:\/\/www.youtube.com\/embed\/qQaKDtNo0ls?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Things I wanted that are not available in other commercial DOM&#8217;s I have seen (or could afford \ud83d\ude09 )<\/p>\n<ul>\n<li>Certain order management info (multiple entry info, etc)<\/li>\n<li>On the fly calculation of cost basis if scalping in and out without closing fully<\/li>\n<li>An API so I can inject markers, comments, etc., from other indicators<\/li>\n<li>Ability to add\/try new ideas as I think of them<\/li>\n<\/ul>\n<p>The project is actually an external class, developed in visual studio. The only connection to Ninjatrader is in fact a short stub that you add to the chart as an indicator. 99% of the code is external to NT. This means this DOM is actually portable. Just write a new stub in whatever to send a tick stream to the DOM and it should work with any platform.<\/p>\n<p>What do you think? Have any ideas? Let me know in the comments section below.<\/p>\n<p>You might like to take a look at <a href=\"https:\/\/pjsmith.me.uk\/index.php\/tag\/NinjaTrader\/\">some of my other Ninjatrader bits and pieces<\/a>.<\/p>\n<p>If you liked this or found it useful, please let me know in the comments section below, give it a like\/share above, or if you wish to share some trading knowledge, get in touch. Thanks!<\/p>\n<p><strong>Contact me<\/strong><\/p>\n<p>You can view my linkedin <a href=\"https:\/\/www.linkedin.com\/in\/pauljsmith2\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I started using Ninjatrader\u00a0with version 7, I never liked their DOM. In fact, I found it next to useless. I purchased a third party DOM that was light years&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[44],"class_list":{"0":"post-735","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-tech","7":"tag-ninjatrader"},"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=735"}],"version-history":[{"count":0,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/735\/revisions"}],"wp:attachment":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}