Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export data from OrderFlow Volumetric

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

    Export data from OrderFlow Volumetric

    Hi, I am trying to program an indicator that exports the bid and ask values ​​of the volumetric candles to .csv in real time on bar on close, I am updating the values ​​at the close of the candle in the .csv, but when I click compile It compiles normally for me without any problem, showing that the code is good, but when I go to search for indicators in the folder that creates the indicator, it does not appear when I import it to a specific timeframe, another particular thing with this is that when I give it export to import it on another pc when importing the .cs on another pc, the indicator is empty without the code as if the NinjaSCript editor does not allow pasting or showing the code, can someone tell me what happens with the ninjascript editor in this case that it does not It creates my folders inside indicators and when I export the indicator you can't see the code, or is it my problem? another thing i finally saw is that it doesn't create the .dll normally, can someone help me. I attach the code in .cs, thanks.
    Attached Files
    Last edited by arangocj; 05-09-2023, 07:24 PM.

    #2
    Hi, I moved your post to a new topic since the one you posted on was 2 years old:
    Hello, I'm using the orderflow in order to see the total buying volume and the total selling volume, Right now I have the Calculate= calculate.OnBarUpdate, but of course even using the 1 second time frame with the indicator,I'm getting the data every one second. thus, I'm getting the data not of the actual candle, but of the


    We have an existing indicator that exports chart data to a CSV here, you can use this as a reference:

    This indicator will write all of the chart’s historical bar data and indicator data to a CSV type file that can then be imported into a spreadsheet. To use this indicator, add it to a chart and (critical) wait until all indicators have finished reloading (no longer shows (Calculating…)). Click the green button in the […]


    Disclaimer:
    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      But this indicator to export data does not export the data of the bid and ask!

      Comment


        #4
        Hi, You can use this indicator as an example of a script that works to export a file from the chart. If you are not seeing the indicator "Analytic" in your Indicator list when you right click on the chart and go to Indicators, then this typically means there is an initialization issue with the indicator. Please check the Log tab of the Control Center for any errors coming from the strategy, likely from the OnStateChanged method.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X