• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.


No announcement yet.

Partner 728x90


Exporting Price and Indicator Data from chart

  • Filter
  • Time
  • Show
Clear All
new posts

    Hello Patrick,
    Thanks for the reply. I see it now Thanks.
    Just another question.
    By default it inputs the MACD. Do you know how to use the ATR instead? Or do you know any documentation?
    or do we need to change the code?

    Thanks a lot.


    I have inputed the ATR in replacement of the default MACD and then hit Apply and Save.
    Now I see it display on the chart:
    (D) Export(ATR,14)...

    But I can't find the output file.

    Here's what the coder says on the page:

    "This is another NT data exporter.
    I hope it gives some value over other exporters.
    It exports Bar data (time, open, close, high, low, volume) as others and adds values of two indicators of you're choice.
    An output file will be created in NT root directory, by a name of an instrument."


    Do you know what folder I need to look at?
    What's the root folder of NT8?

    I don't find it on those two locations:

    C:\Program Files (x86)\NinjaTrader 8
    \Documents\NinjaTrader 8

    What's the file type?

    Attached Files
    Last edited by FrankSert; 05-23-2020, 02:15 AM.


      Hi, thanks for your reply.

      The user data directory is Documents\NinjaTrader 7. The folder should be in there.

      Please let me know if I can assist any further.
      Chris L.NinjaTrader Customer Service


        Hi Chris,
        Thanks for the reply.
        Here attached a screenshot of my NT8 user data directory. The output file is not there.
        Do you know if NinjaTrader_Kate tested the export process?

        Could you please quickly test it and share how to get the output?
        I'll make a video to show how it's done and share it upon your instructions.

        Just a suggestion. Would be awesome to make quick videos tutorials on how to use (not just how to install) indicators from the user apps share. Using a tool like https://getsharex.com/.
        That would be more efficient and really valuable in terms of time management both for the users and for the customer service people.

        Thanks a lot for your guidance.
        Attached Files
        Last edited by FrankSert; 05-23-2020, 02:11 AM.


          Hello FrankSert, thanks for your reply.

          I tested the indicator on a MNQ chart and got a file named Bars_MNQ.csv. Were you sure to enable the strategy by checking the "Enable" button? I do make videoes for clients upon request of a specific problem one is having with a portion of the platform.

          I look forward to hearing from you.
          Chris L.NinjaTrader Customer Service


            Hi Chris,

            Thanks for the testing and the reply. For some reason the enabled checkbox is grayed out on my end.
            Please see the attached screenshots.

            I'm not familiar with strategy indicators. Are there some specific pre-requirements?

            What's wrong?

            How to fix it?

            Do you know some videos tutorials on using strategy indicators?

            Thanks a lot.
            Attached Files


              Hello FrankSert, thanks for your patience.

              To enable the strategy you must be connected to some data feed. You can also use the simulated or market replay data feed.

              If you are using the Replay connection the account must also be set to Replay101.

              ​​​​​​​Kind regards.
              Chris L.NinjaTrader Customer Service


                Hi Chris, thanks a lot it does work great with the ATR.
                But for some reason I must not leave blank the 2nd indicator field or else it doesn't run.
                So as a workaround I filled both indicator fields with ATR and 14 and then it worked.
                Do you know a way to make it run with only one indicator?

                Issue with VWAP8:
                I tried to put the VWAP8 with 1 as value as 2nd indicator but it doesn't run.

                On the chart the VWAP8 doesn't show any preset value. Is there any value to be set in the value field for the VWAP?
                I tried to let the value field blank but there too no output file.

                What must be done to output the VWAP8 values as well in the .csv file?

                Thanks a lot.

                I just tried to display the VWAP8 in a separate panel and run the export script strategy but it still doesn't out put the .csv file.

                Last edited by FrankSert; 05-26-2020, 03:05 PM. Reason: Added edit section


                  Hi FrankSert, thanks for your reply.

                  I will look into why we can not export data from the VWAP8 indicator.

                  Thanks in advance for your patience.

                  Chris L.NinjaTrader Customer Service


                    Thanks a lot. Much appreciated.


                      Hi FrankSert, thanks for your patience.

                      The Export strategy can not take an indicator that has no parameters. Add this placeholder public property so the indicator has at least 1 parameter and set it to whatever you like in the Export strategy.

                      [Range(1, int.MaxValue), NinjaScriptProperty]
                      public int Period
                      { get; set; }

                      Kind regards.
                      Attached Files
                      Chris L.NinjaTrader Customer Service


                        Hi Chris,
                        Thanks for the follow up. Much appreciated. I'll test and come back later.



                        Latest Posts


                        Topics Statistics Last Post
                        Started by punkiy2111, Today, 12:17 PM
                        1 response
                        Last Post NinjaTrader_Tabor  
                        Started by GLFX005, Today, 11:22 AM
                        2 responses
                        Last Post GLFX005
                        by GLFX005
                        Started by mintxom, Today, 10:25 AM
                        1 response
                        Last Post NinjaTrader_Melissa  
                        Started by Matts7, Today, 08:27 AM
                        4 responses
                        Last Post Matts7
                        by Matts7
                        Started by Buterol, Today, 09:13 AM
                        4 responses
                        Last Post marketRoyal