Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Export to the Output Window from the graph

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

    Export to the Output Window from the graph

    Good Morning,
    I would like to write code with Ninja that allows you to export the values ​​of the candle (Close-Open-High-Low) in this way:
    I open the graph and load the code, then I click with the mouse on the candle to export the values ​​on Output windows.
    You can do it?
    Thank you.
    Roberto

    #2
    Hi Italy,

    Capturing mouse clicks and writing to a file is possible with C# but not supported by NinjaTrader.

    For writing to a file, there is a reference sample that demonstrates how to do this.
    http://www.ninjatrader.com/support/f...ead.php?t=3475

    For capturing mouse clicks, you may find the following thread helpful, where other members of the NinjaTrader forum community have been discussing something like this.
    http://www.ninjatrader.com/support/f...ad.php?t=38874

    You may also want to ask this question in the unsupported forum thread.
    http://ninjatrader.com/support/forum...ad.php?t=22435
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      so,
      creating an external application in C # I could integrate it with Ninja to export directly from the graph the values ​​of the candle (Open-high-low-close), with a click.
      Roberto

      Comment


        #4
        Hi Italy,

        If you are planning to write this as an external application instead as a NinjaScript, you can include the NTDirect.dll interface.

        Below is a link to the help guide on the commands available from the NTDirect.dll interface.
        http://www.ninjatrader.com/support/h..._interface.htm
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Tim-c, Today, 02:10 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, Today, 02:47 PM
        0 responses
        5 views
        0 likes
        Last Post Taddypole  
        Started by chbruno, 04-24-2024, 04:10 PM
        4 responses
        53 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Working...
        X