I need someone to help me to find the mistake in the code segment below, the problem is: when the order which is OP_BUY found, there's always some order can not be closed by OrderClose(), shouldn't I use the "OrderSelect(i,SELECT_BY_POS,MODE_TRADES); " statement here ? void CloseOrder(int closetype)...
我正在尝试根据我自己的策略编写EA,并借助其他一些EA和Indis的代码,但现在卡在一件事上。 (user defined lot sizes for each trade) extern string LotsProgression= "0.1;0.1;0.2;0.3;0.4;0.6;0.8;1.1;1.5;2.0;2.7;3.6;4.7;6.2;8.0;10.2;13.0;16.5;20.8;26.3;33.1;41.6;52.2;65.5;82.5;103.9;130.9;165;207.9;262;330.1;416;524.7;661.1" ; extern bool