Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Feature Requests/Fixes

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

    Feature Requests/Fixes

    1. Please remove the compiler warnings. Using Visual Studio, I'm getting hundreds of compiler warnings about type conflicts between NinjaTrader.Custom and NinjaTrader.Vendor. These obscure actual relevant warnings in my code.
    2. Please consider changing text alignment (see image). Currently, left alignment is right of center and right alignment is left of center! It doesn't match NT7, BTW - which was even more weird. See attached image for proposal.
    3. Please add overloaded draw methods that allow replicating what plots do. Currently, some of the draw methods only take start and end bars ago parameters. This makes the resulting graphic not aligned properly with the bar it is connected to (see image). If you are drawing a line, for example, it crosses the bounds of two bars. If you have a plot with a dash style of Hash, each graphic is centered within the bounds of a single bar. I can never get used to this. I keep having to do mental gymnastics to figure this out instead of focusing on my research. Suggestion: Add overloads that take just a bars ago parameter that would have the graphic centered within the bounds of the bar just like a plot would. e.g (Draw.Line(..., barsAgo...). Adding a size parameter (on triangle, dot, etc...) would be welcomed as well.

    4. Please update the Order class to enable easily identifying if the order is an Entry or Exit order. Currently, there is no way to tell from an order if it is an entry or exit (unless I'm missing something). This makes doing custom order handling (which I have to because of a bug I encountered) unnecessarily tedious. On Execution, there is a property.
    5. Please make playback consistent with realtime (Fix the assignment of Order during playback). The documentation states the following:
      Playback Connection

      When connected to the Playback Connection, calling market order based methods such as EnterLong() and EnterShort() will result in order state events being fired prior to the order method return an Order object. This is done to ensure that all events are in sync at high speed market replays.
      I'm seeing this behavior across all order methods, not just market orders. This is a problem because now testing code is different than production code. There is no way to really test what will happen in real-time (unless I'm missing something). I want to test my code with the replay and then use that same code with real-time. Playback is *almost* useless (to me at least) if this can't be done.
    6. Please allow using SetStopLoss and SetProfitTarget to accept an Indicator/Series parameter. It would be nice to be able to trail stop loss and profit without having to manually adjust.
    7. Please clarify the backup operation. The documentation says it should allow backing up on a schedule, however, I only see "Please remind me to back up my files every". The scheduling option is more convenient.
    8. It would be nice to be able to add an indicator to the chart from another indicator just as you can from a strategy. Currently, one has to recreate all the plots from the child indicator to show them on the chart. This is an unnecessary burden.
    9. Please consider making the base class for indicators and strategies partial. It would be nice to be able to add common properties and methods that apply to both. Makes it easier to pass to other classes so they can access the additional properties without having to create separate methods, constructors or interfaces.


    Notes:

    If anyone is interested, I made the following changes in order to show the proposed fix.

    Text alignment - changed OnRender in @Text.cs - after the line that assigns layoutRect):
    Code:
    if (Alignment == TextAlignment.Left)
    	layoutRect.Offset(-(chartControl.BarWidth + chartControl.BarMarginLeft), 0);
    else if (Alignment == TextAlignment.Right)
    	layoutRect.Offset(chartControl.BarWidth + chartControl.BarMarginLeft, 0);
    Rectangle placement - changed OnRender in @Shapes.cs - after the line that assigns endPoint:
    Code:
    startPoint.X += chartControl.BarWidth + chartControl.BarMarginLeft;
    endPoint.X += chartControl.BarWidth + chartControl.BarMarginLeft;
    The additions can be optimized away, of course.
    Attached Files
    Last edited by wbennettjr; 10-29-2015, 09:30 AM. Reason: Added additional request

    #2
    Hello wbennettjr,

    Thank you for your inquiry.

    The warnings that appear in Visual Studio have been touched upon on this post here: http://ninjatrader.com/support/forum...d.php?p=434365

    I have sent your feature requests to our product management team. We highly appreciate customer feedback to improve NinjaTrader!
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CortexZenUSA, Today, 12:53 AM
    0 responses
    1 view
    0 likes
    Last Post CortexZenUSA  
    Started by CortexZenUSA, Today, 12:46 AM
    0 responses
    1 view
    0 likes
    Last Post CortexZenUSA  
    Started by usazencortex, Today, 12:43 AM
    0 responses
    5 views
    0 likes
    Last Post usazencortex  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    168 responses
    2,265 views
    0 likes
    Last Post sidlercom80  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X