記事"ユニバーサルEA:戦略トレードモード(その1)"についてのディスカッション - ページ 2

 
Pierre Rougier:

こんにちは、

記事のソースコードがコンパイルできません。
返されたエラーは次のとおりです:

cannot cast 'DoubleValue' to 'ULongValue' Dictionary.mqh 210 14



Pierre8r お世話になります。


この記事のDictionary.mqhファイルをこの記事のDictionary.mqhファイルに変更
https://www.mql5.com/ja/articles/2653

Universal Expert Advisor: CUnIndicator and Use of Pending Orders (Part 9)
Universal Expert Advisor: CUnIndicator and Use of Pending Orders (Part 9)
  • 2017.10.20
  • Vasiliy Sokolov
  • www.mql5.com
Table of Contents Introduction The development of the Universal Expert Advisor's base of source code continues. Most of the approaches integrated into the CStrategy trade engine have proven their efficiency, convenience and simplicity in practice. However, over the course of actual usage, certain aspects in the expert operation had to be...
 
MetaQuotes Software Corp.:

新しい記事「 一般化された知的取引システム:取引戦略のパターン(第1章)」が 掲載されました:

著者:ワシリイ・ソコロフ

 
添付ファイルはどこにありますか?
 
SetTradeStateを呼び出す順番が問題にならないように、m_stateの影響を受ける要素だけを更新する方が理にかなっているのではないでしょうか?また、これがエンジンの代わりに、あるいはエンジンと同様に戦略の一部として実装されていれば、資産ごとに異なる状態を割り当てることができます(例えば、重要なニュースリリースの 際に特定のFXペアを割り当てるなど)。