GithubHelp home page GithubHelp logo

Comments (11)

MarcWeigert avatar MarcWeigert commented on July 17, 2024

所有的KDJ都是这样么?

from ggcharts.

JhonnyRtd avatar JhonnyRtd commented on July 17, 2024

对的,我的KDJ也是
一直报这样一个错:[Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.

运行一会就崩了

from ggcharts.

MarcWeigert avatar MarcWeigert commented on July 17, 2024

可能是lua脚本语言与oc语言基本类型转换错误。最好提供给我一个稳定重现的demo来排查。

from ggcharts.

Parkour-zhou avatar Parkour-zhou commented on July 17, 2024

@MarcWeigert 您好,demo我准备好了,麻烦了,谢谢哈
GGCharts-KDJerror.zip

from ggcharts.

MarcWeigert avatar MarcWeigert commented on July 17, 2024

改好了, 更新最新代码就可以了。如果线吗发直接把 kdj.lua替换了就好。

from ggcharts.

Parkour-zhou avatar Parkour-zhou commented on July 17, 2024

@MarcWeigert 好的,麻烦了

from ggcharts.

MarcWeigert avatar MarcWeigert commented on July 17, 2024

问题关了吧。

from ggcharts.

Parkour-zhou avatar Parkour-zhou commented on July 17, 2024

@MarcWeigert 刚更新了kdj.lua,clean,并删除工程,重新编译打包 ,还是报一样的问题,然后用发你的demo工程试了下,也是一样的,
2018-01-11 09:16:22.222412+0800 GGCharts[25494:3751986] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.
2018-01-11 09:16:22.222674+0800 GGCharts[25494:3751986] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable.

from ggcharts.

MarcWeigert avatar MarcWeigert commented on July 17, 2024

最新的kdj 用你的demo 没出现问题了啊

from ggcharts.

Parkour-zhou avatar Parkour-zhou commented on July 17, 2024

2018-01-12 10 31 03
你好像只做了判断 ,没做其他处理,可能是忘了没有提交上来吧

我自己修改了,现在可以了

   if (d == 0) then
    rsvArray[i] = {rsv = 50}
    else
    rsvArray[i] = {rsv = (aryList[i][getCloseMethod] - funcLLV(i)) / (funcHHV(i) - funcLLV(i)) * 100}

    end

from ggcharts.

tuluigi avatar tuluigi commented on July 17, 2024

@MarcWeigert 是在d =0时候没有做 rsvArray[I]=50;

from ggcharts.

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.