無料でロボットをダウンロードする方法を見る
Twitter上で私たちを見つけてください。
私たちのファンページに参加してください
興味深いスクリプト?
それではリンクにそれを投稿してください。-
他の人にそれを評価してもらいます
記事を気に入りましたか?MetaTrader 5ターミナルの中でそれを試してみてください。
ライブラリ

HashMap implementation - MetaTrader 4のためのライブラリ

ビュー:
20252
評価:
(27)
パブリッシュ済み:
2014.02.11 15:34
アップデート済み:
2016.11.22 07:32
\MQL4\Include\
hash.mqh (20.7 KB) ビュー
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
Description:

This is a HashMap implementation. This allows something like arrays but with string indexes. It maps strings to Objects. The Objects must be a subclass of the HashValue class provided.

The Hash by default will 'adopt' the value objects. In which case it will free the memory when they are no longer in the hash. This can be disabled in the constructor.

The Codebase version might not be the most recent. The latest version can be found here.

Documentation:

Hash class

HashLoop class

Version

125


Below is an example, and it is also used in my JSON Parser class, to represent JSON Objects.

    
    Hash *h = new Hash();

    // Store values
    h.hPutInt("low",0);
    h.hPutInt("high",1);

    // Get values
    int high = h.gGetInt("high");
 
    // Loop
    HashLoop *l ;
    for( l = new HashLoop(h) ; l.hasNext() ; l.next()) {

        string key = l.key();

        int j = l.valInt();

        Print(key," = ",j);

    }
    delete l;

    delete h;


RosePipsIndicator RosePipsIndicator

This indicator will calculate pips wins and losses for any pair with a parsar and doji star trading strategy. You can see pip targets and losses and see if you can find a winning pair with this. 5MIN charts are the best on current settings.

DF-ProfitMonitor DF-ProfitMonitor

With this indicator you can follow the evolution of account profit.

HTTP requests for new MQL4 (tested in build 600) HTTP requests for new MQL4 (tested in build 600)

Simple library that allows sending requests via HTTP protocol from new MQL4

OpenAlert v1.0 OpenAlert v1.0

Someone needed a quick way to open the Alert window again, after they had closed it. Place this script in your \experts\scripts folder.