Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot() method in NT8 ???

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

  • NinjaTrader_Matthew
    replied
    My apologies, I did not realize you were not quite in the beta program. I will not be able to provide other than what has been offered in the Reference Sample section.

    Leave a comment:


  • ninZa
    replied
    Originally posted by NinjaTrader_Matthew View Post
    @SampleCustomPlots and @BarTime should be distributed in your custom\indicator folder. Let me know if not and I can PM them to you (we'd also want to know where they went!)

    I'd also suggest you guys take a look over the DrawingTools and ChartStyles, as they demonstrate a great deal of interacting with OnRender() with SharpDX, as well as native chartControl/chartScale elements.

    Custom chart rendering is next up on our list to complete for the NT8 documentation. Your experiences are very welcome at this time.
    I don't have the files because I'm not a tester. I am outside the circle
    I will be very glad if you can PM me the files.

    Thank you.
    Pi

    Leave a comment:


  • NinjaTrader_Matthew
    replied
    @SampleCustomPlots and @BarTime should be distributed in your custom\indicator folder. Let me know if not and I can PM them to you (we'd also want to know where they went!)

    I'd also suggest you guys take a look over the DrawingTools and ChartStyles, as they demonstrate a great deal of interacting with OnRender() with SharpDX, as well as native chartControl/chartScale elements.

    Custom chart rendering is next up on our list to complete for the NT8 documentation. Your experiences are very welcome at this time.

    Leave a comment:


  • ninZa
    replied
    Originally posted by lawyse View Post
    I'd be interested in seeing this too for overhauling the ChartTrader Panel and modifying the toolbar on a chart. Thanks, guys!
    I need ChartTrader access for order execution tools too

    Originally posted by -=Edge=-
    Take a look at the SampleCustomPlot and BarTimer default indicators.. Both provide decent examples of this.. and add me to the list of interested parties regarding the toolbar..
    Where can we have access to those files? I think they are included in your NT8 installation . Would it be possible to attach the files here?

    Thank you.
    Pi

    Leave a comment:


  • -=Edge=-
    replied
    Originally posted by ninZa View Post
    Can some testers confirm if the Plot() method is still available for use in NT8?

    This method is critical for the development of many (unsupported) features.

    Thanks.
    Pi
    Take a look at the SampleCustomPlot and BarTimer default indicators.. Both provide decent examples of this.. and add me to the list of interested parties regarding the toolbar..

    Leave a comment:


  • lawyse
    replied
    I'd be interested in seeing this too for overhauling the ChartTrader Panel and modifying the toolbar on a chart. Thanks, guys!

    Leave a comment:


  • ninZa
    replied
    Originally posted by gregid View Post
    Still exploring but till now I couldn't get handle for toolstrip or any control for that matter, ie. there are no Controls inside ChartControl - although I don't doubt there is a way of doing this - it is still ahead of me.
    But yeah, custom scripts like the ones you developed will require quite a lot of changes.
    @@

    If you discover something new about the ChartControl, please drop me a message here or via PM. Of course we will find the solution, sooner or later.

    Thank you very much.
    Pi

    Leave a comment:


  • gregid
    replied
    Originally posted by ninZa View Post
    Thanks. There are a lot of new things to learn

    What about the toolbar? Is it still ToolStrip, with which we can get the toolbar as:

    toolStrip = (ToolStrip)ChartControl.Controls["tsrTool"];

    Thank you.
    Pi
    Still exploring but till now I couldn't get handle for toolstrip or any control for that matter, ie. there are no Controls inside ChartControl - although I don't doubt there is a way of doing this - it is still ahead of me.
    But yeah, custom scripts like the ones you developed will require quite a lot of changes.

    Leave a comment:


  • ninZa
    replied
    Thanks. There are a lot of new things to learn

    What about the toolbar? Is it still ToolStrip, with which we can get the toolbar as:

    toolStrip = (ToolStrip)ChartControl.Controls["tsrTool"];

    Thank you.
    Pi

    Leave a comment:


  • gregid
    replied
    It has similar functionality, the main difference is that drawing methods/objects has mostly been replaced by SharpDX (DirectX)

    Leave a comment:


  • ninZa
    replied
    Originally posted by gregid View Post
    There is no Plot method to override - it has been replaced by:
    Code:
    protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
    {
    }
    Akkkkk

    There will be massive changes.

    However, I think we can take the graphics object from chartControl.CreateGraphics(), and bounds rectangle + min & max prices from chartScale. Is this right gregid?

    Thank you very much.
    Pi

    Leave a comment:


  • gregid
    replied
    Originally posted by ninZa View Post
    Can some testers confirm if the Plot() method is still available for use in NT8?

    This method is critical for the development of many (unsupported) features.

    Thanks.
    Pi
    There is no Plot method to override - it has been replaced by:
    Code:
    protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
    {
    }

    Leave a comment:


  • ninZa
    started a topic Plot() method in NT8 ???

    Plot() method in NT8 ???

    Can some testers confirm if the Plot() method is still available for use in NT8?

    This method is critical for the development of many (unsupported) features.

    Thanks.
    Pi

Latest Posts

Collapse

Topics Statistics Last Post
Started by CarlTrading, 03-31-2026, 09:41 PM
1 response
55 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 04-01-2026, 02:41 AM
0 responses
29 views
0 likes
Last Post CarlTrading  
Started by CaptainJack, 03-31-2026, 11:44 PM
0 responses
40 views
1 like
Last Post CaptainJack  
Started by CarlTrading, 03-30-2026, 11:51 AM
0 responses
56 views
0 likes
Last Post CarlTrading  
Started by CarlTrading, 03-30-2026, 11:48 AM
0 responses
47 views
0 likes
Last Post CarlTrading  
Working...
X