Coder Social home page Coder Social logo

OrderFlow works with custom bar type called DeltaBarsType but disappears when the data series shifts. about csharp-nt8-orderflowkit HOT 3 OPEN

gbzenobi avatar gbzenobi commented on August 29, 2024
OrderFlow works with custom bar type called DeltaBarsType but disappears when the data series shifts.

from csharp-nt8-orderflowkit.

Comments (3)

Curbfeeler avatar Curbfeeler commented on August 29, 2024

Just a quick update on this, I have not been able to find the culprit yet, but after debugging I got the idea to put a try/catch inside OrderFlow.OnRender() and another within renderBarClusters() and while I still do see some exceptions logged in the output, the indicator no longer disappears.

Error I was getting:

   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.SortedDictionary`2.get_Item(TKey key)
   at NinjaTrader.NinjaScript.AddOns.SightEngine.SECore`2.get_Item(K index) in c:\Users\xxx\Documents\NinjaTrader 8\bin\Custom\AddOns\SE.cs:line 248
   at NinjaTrader.NinjaScript.Indicators.WyckoffZen.OrderFlow.WyckoffOrderFlow.renderBarClusters(Int32 barIndex, Boolean realtimeCalculation) in c:\Users\xxx\Documents\NinjaTrader 8\bin\Custom\Indicators\OrderFlow.cs:line 703
   at NinjaTrader.NinjaScript.Indicators.WyckoffZen.OrderFlow.OnRender(ChartControl chartControl, ChartScale chartScale) in c:\Users\xxx\Documents\NinjaTrader 8\bin\Custom\Indicators\OrderFlow.cs:line 884

from csharp-nt8-orderflowkit.

gbzenobi avatar gbzenobi commented on August 29, 2024

Hello!, first of all thank you for using it and being interested in my project. I appreciate your time and what you can contribute.

Regarding NT8 has some instability problems with the indicators (it is not the only one that happens to me that sometimes they stop working and you have to reload them).

Regarding OrderFlow.OnRender() and renderBarClusters(), I had also tried (originally I had a try-catch) but it worsens the performance, if you can improve that or have another idea, please let me know.

from csharp-nt8-orderflowkit.

AlexQT90 avatar AlexQT90 commented on August 29, 2024

As I understand, it works with all DataSeries Type.

from csharp-nt8-orderflowkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.