Giter VIP home page Giter VIP logo

mt5indicatorspy's Introduction

MT5IndicatorsPy

MT5 compatible technical indicator functions in Python

MetaTrader5のテクニカル指標関数をPythonで記述したものです。実装した関数の仕様やテクニカル指標の説明については、テクニカル指標関数一覧を参照してください。OutputRates.mq5は、各関数のテストデータを出力するMetaTrader5のスクリプトです。

すべての関数に共通なのは、symbolperiodの二つのパラメータがDataFrameクラスのdfというパラメータに置き換わったところです。dfは、'Open','High','Low','Close','Median','Typical','Weighted'というラベルの付いたSeriesクラスの時系列データから構成されます。

ma_methodには、'SMA','EMA','SMMA','LWMA'のいずれかを代入します。

applied_priceには、'Close','Open','High','Low','Median','Typical','Weighted'のいずれかを代入します。

price_fieldには、'LOWHIGH','CLOSECLOSE'のいずれかを代入します。

出力が一つの関数はSeriesクラスの時系列データ、二つ以上の関数はDataFrameクラスの時系列データが戻り値となり、出力の種類は指定したラベルで区別されます。

sample.pyFXsample.csvは、それぞれサンプルプログラム、サンプルデータです。

テクニカル指標関数一覧

mt5indicatorspy's People

Contributors

toyolab avatar

Watchers

James Cloos avatar

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.