少女祈祷中...

How to Develop a Reliable and Safe Trade Robot in MQL 4:http://articles.mql4.com/394

Runtime errors:http://docs.mql4.com/runtime/errors

Execution errors:http://docs.mql4.com/trading/errors

MetaEditor没有debug功能,不能设断点,发生错误的时候完全不知道自己错在哪里。Cry

运行EA的时候,出现了error代码也不知道是什么意思。Frown

以上三个网页基本可以解决这些问题。

以后出麻烦了就来看看。

  1. syntax – they can be found at the compilation stage and can be easily fixed by the programmer;
  2. logical – they are not detected with a compiler. The examples are: a mess with the names of the variables, the wrong function calls, operation of the data of various types and so on;
  3. algorithmical – they occur when the brackets are not placed correctly, in case of a mess with the branch statements and so on;
  4. critical – these are improbable errors, you should spend some effort to evoke them. Non the less they often occur when you work with dll;
  5. trading – these are the errors that occur when you work with the orders. Such kind of errors is a tender spot for trade robots.



这行业的确都在藏着掩着,根本找不到人跟你切磋代码这种表层的东西,更不用想去找人跟你讨论十分实质的东西。以下是我做的第一个EA。对这个处女作我非常满意。ea
复盘模型质量90%。两年资金翻三倍。这个EA还是有些硬伤,这几天把它optimizer一下。测试EA十分能耗硬盘啊。我的D盘宝贝又被我删了10G.....SealedSealedSealed

原创或翻译的文章如转载,请注明:转载自善输,小错 [http://www.deuxmille.org]
本文链接地址:http://www.deuxmille.org/?p=117

: http://www.deuxmille.org/archives/117

本文相关评论 - 仅仅只有一条评论
王丹
2007-12-14 11:34:42

Eh...Quel est votre metier?
Laissez-moi deviner...un informaticien ? ou un economiste ?
Est-ce que votre metier est interessant ?

  • :em14:
  • :em04:
  • :em11:
  • :em32:
  • :em08:
  • :em05:
  • :em17:
  • :em19:
  • :em24:
  • :em00:
  • :em31:
  • :em33:
  • :em06:
  • :em26:
  • :em27:
  • :em03:
  • :em28:
  • :em30:
  • :em13:
  • :em23:
  • :em21:
  • :em16:
  • :em20:
  • :em15:
  • :em07:
  • :em29:
  • :em02:
  • :em12:
  • :em18:
  • :em10:
  • :em01:
  • :em09:
  • :em22:
  • :em25:

Additional comments powered by BackType