Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reduce Order Flow Market Depth Map Margin?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reduce Order Flow Market Depth Map Margin?

    Since the OFMDM indicator isn't available in the ninjascript editor, I was wondering if there is a solution to reducing the right margin? It is a bit too large for my liking.

    Thanks

    #2
    Hello mlprice12,

    Thanks for your post.

    I moved the thread to our General Development forum as the solution would have to come through NinjaScript.

    You could use something like the following in an indicator to modify the DeisredBarMarginRight property of the OrderFlowMarketDepthMap indicator:

    Code:
    foreach (Gui.NinjaScript.IndicatorRenderBase indi in ChartControl.Indicators)
    {
        if (indi is NinjaTrader.NinjaScript.Indicators.OrderFlowMarket DepthMap)
            indi.DesiredBarMarginRight = 0;
    }
    Let us know if there is anything else we can do to help.

    Comment


      #3
      Thanks Jim

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by M4ndoo, Yesterday, 05:21 PM
      0 responses
      7 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      11 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      81 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      46 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      169 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Working...
      X