Giter Club home page Giter Club logo

Comments (3)

unageanu avatar unageanu commented on July 21, 2024

移動平均なので :rate 型のグラフになっているかと思います。
:rate 型のグラフは、現在表示中のローソク足チャートの軸に合わせて表示されるため、USD/JPYのチャートではEUR/JPYの移動平均線が枠外に描画されているのではないかと思います。チャートを EUR/JPYに変更したら表示されないでしょうか?

from jiji2.

nonoichi123 avatar nonoichi123 commented on July 21, 2024

ドル、ユーロ円、スイス円をしていて、
ドル円チャートでは綺麗に表示され、
ユーロ円チャートでは表示されません。
スイス円チャートではドル円の移動平均線が表示され、スイス円の移動平均線は表示されません。

エージェントは、ドル円取引用、ユーロ円取引用、スイス円取引用の3つを用意していて、
プログラムソースは、通貨の違いのみで、それ以外の違いはありません。

移動平均線の記載が同じことが原因だったりしますでしょうか。
恐れ入りますが、
ご教示いただきたく、よろしくお願いいたします。

スイス円チャートの画像を添付させていただきます。
2018-01-13 7 20 04

from jiji2.

unageanu avatar unageanu commented on July 21, 2024

グラフの名前が同じになっていてデータが上書きされてしまっている可能性があるかなと思いました。
グラフの名前を通貨ごとに変更したらどうなりますでしょうか?

@moving_average_graph = graph_factory.create('移動平均線', # ←コレの値を取引通貨ごとに変更する
   :rate, :average, ['#FFCC33', '#FF6633'])

from jiji2.

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.