Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen
mayamak  

EA can't trade - broker ICMarkets

errors

mayamak  
mayamak:

EA can't trade - broker ICMarkets

here can be a problem


Sergey Seriy  
mayamak:

here can be a problem


Greetings! Please use netting mode of mt5, not hedging. Please change your account on your broker.
mayamak  
Sergey Seriy:
Greetings! Please use netting mode of mt5, not hedging. Please change your account on your broker.

Account mode is changed to netting but problem is still exist. 

mayamak  

problem is with filling mode > https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode


When sending an order, you can specify the filling policy for the volume set in the order. Allowed order filling modes for each symbol are specified in the table. You can set several modes for one symbol by combining flags. The flags can be combined by the operation of the logical OR (|), for example,SYMBOL_FILLING_FOK|SYMBOL_FILLING_IOC.  In order to check whether a certain mode is allowed for the symbol, the result of the logical AND (&) should be compared to the mode flag.

Fill Policy

Identifier

Value

Description

Fill or Kill

SYMBOL_FILLING_FOK

1

This policy means that a deal can be executed only with the specified volume. If the necessary amount of a financial instrument is currently unavailable in the market, the order will not be executed. The required volume can be filled using several offers available on the market at the moment.

Immediate or Cancel

SYMBOL_FILLING_IOC

2

In this case a trader agrees to execute a deal with the volume maximally available in the market within that indicated in the order. In case the order cannot be filled completely, the available volume of the order will be filled, and the remaining volume will be canceled. The possibility of using IOC orders is determined at the trade server.

Return

No identifier

 

This policy is used only for market orders (Buy and Sell), limit and stop limit orders and only for the symbols with Market or Exchange execution. In case of partial filling a market or limit order with remaining volume is not canceled but processed further.

In the Request and Instant execution modes the Fill or Kill policy is always used for market orders, and the Return policy is always used for limit orders. In this case, when sending orders using OrderSend or OrderSendAsync, there is no need to specify a fill policy for them.

In the Market and Exchange execution modes the Return policy is always allowed for all the order types. To find out whether the other policies are allowed, use the SYMBOL_FILLING_FOK and SYMBOL_FILLING_IOC properties.

Sergey Seriy  
mayamak:

problem is with filling mode > https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#symbol_filling_mode


When sending an order, you can specify the filling policy for the volume set in the order. Allowed order filling modes for each symbol are specified in the table. You can set several modes for one symbol by combining flags. The flags can be combined by the operation of the logical OR (|), for example,SYMBOL_FILLING_FOK|SYMBOL_FILLING_IOC.  In order to check whether a certain mode is allowed for the symbol, the result of the logical AND (&) should be compared to the mode flag.

Fill Policy

Identifier

Value

Description

Fill or Kill

SYMBOL_FILLING_FOK

1

This policy means that a deal can be executed only with the specified volume. If the necessary amount of a financial instrument is currently unavailable in the market, the order will not be executed. The required volume can be filled using several offers available on the market at the moment.

Immediate or Cancel

SYMBOL_FILLING_IOC

2

In this case a trader agrees to execute a deal with the volume maximally available in the market within that indicated in the order. In case the order cannot be filled completely, the available volume of the order will be filled, and the remaining volume will be canceled. The possibility of using IOC orders is determined at the trade server.

Return

No identifier

 

This policy is used only for market orders (Buy and Sell), limit and stop limit orders and only for the symbols with Market or Exchange execution. In case of partial filling a market or limit order with remaining volume is not canceled but processed further.

In the Request and Instant execution modes the Fill or Kill policy is always used for market orders, and the Return policy is always used for limit orders. In this case, when sending orders using OrderSend or OrderSendAsync, there is no need to specify a fill policy for them.

In the Market and Exchange execution modes the Return policy is always allowed for all the order types. To find out whether the other policies are allowed, use the SYMBOL_FILLING_FOK and SYMBOL_FILLING_IOC properties.

Greetings! IOC support will bee in next version of EA. Please wait little bit.
Alexandr Romanov  
Приветствую, Сергей. Взял этот советник, на пробу. Запустил в 5М таймфрейме. Пара eur/usd. За два дня, открыл всего одну сделку. Может что то с настрйками попробовать "поиграть"?
Sergey Seriy  
Alexandr Romanov:
Приветствую, Сергей. Взял этот советник, на пробу. Запустил в 5М таймфрейме. Пара eur/usd. За два дня, открыл всего одну сделку. Может что то с настрйками попробовать "поиграть"?
Добрый день! Да, можете попробовать оптимизировать стоп-лоссы и тейк-профиты, и тем самым улучшить прибыльность для своего брокера.
Alexandr Romanov  
Sergey Seriy:
Добрый день! Да, можете попробовать оптимизировать стоп-лоссы и тейк-профиты, и тем самым улучшить прибыльность для своего брокера.
Спасибо.
mayamak  
Version 1.1 - 2018.03.14
Added support of IOC or FOK order opening mode depending on the broker.

Still not working on ICMarkets, same error is showing. 


Sergey Seriy  
mayamak:

Still not working on ICMarkets, same error is showing. 


Greetings! Now have no errors. Thank you for your 5 stars opinion!
Inigo Pella Franco  
Same problem with XM broker, some positions does not close.
Sergey Seriy  
linigola:
Same problem with XM broker, some positions does not close.
Greetings! Please wait little bit to update to version 1.2
CHRISTOPH JOB  

is it possible to deactivate the automatic increase from the lot?

Sergey Seriy  
Christoph Job:

is it possible to deactivate the automatic increase from the lot?

Greetings! Please set AutoMM=0 and set value of parameter FixedLot (like AutoMM=0 and FixedLot=0.1).

miguelossa  

I have a problem. When I perform the tests, with the default configuration showed in the main page of your expert, my results are far from yours, and it seems to lose every now and then. The only difference from your parameters is that my currency is EUR instead of USD.

I have to say that I had it running on my demo account in XM for 9 days, and it works pretty well.


Sergey Seriy  
miguelossa:

I have a problem. When I perform the tests, with the default configuration showed in the main page of your expert, my results are far from yours, and it seems to lose every now and then. The only difference from your parameters is that my currency is EUR instead of USD.

I have to say that I had it running on my demo account in XM for 9 days, and it works pretty well.


Greetings! Please use only testing, not optimization (and please use VirtualSLandTP=true).
miguelossa  

With VirtualSLandTP it improved a lot but still far. :-(


miguelossa  
miguelossa:

With VirtualSLandTP it improved a lot but still far. :-(


Solved! Thanks for the good advices!
miguelossa  

Hello Sergey,

The beast is working pretty well :-), but I could verify on a real environment that parameters "StopLossL" and "StopLossS" are ignored.

Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen