Experts: Return Strategy - page 2

 
MrBrooklin #:

I am testing in the terminal of my forex-dealer. I will try to update the build.

Regards, Vladimir.

On what symbol? On the stock symbol? And please show the specification of the symbol.

 
Vladimir Karputov #:

What symbol? The stock symbol? And please show me the specification of the symbol.

EURUSD. Regards, Vladimir.


 
MrBrooklin #:

EURUSD. Regards, Vladimir.


And what are the parameters of the Expert Advisor in this case?

 
Vladimir Karputov #:

And what are the parameters of the examiner in this case?

Regards, Vladimir.

 

In general this trade server does not support expiry of'ORDER_TIME_SPECIFIED'

You can only have three types:

Identifier

Description

ORDER_TIME_GTC

The order will remain in the queue until it is removed

ORDER_TIME_DAY

The order will be valid only during the current trading day.

ORDER_TIME_SPECIFIED_DAY

The order will be valid until 23:59:59 of the specified day. If this time does not fall within the trading session, expiration will occur at the nearest trading time.

 
Vladimir Karputov 'ORDER_TIME_SPECIFIED'

You can only have three types:

Identifier

Description

ORDER_TIME_GTC

The order will remain in the queue until it is removed

ORDER_TIME_DAY

The order will be valid only during the current trading day.

ORDER_TIME_SPECIFIED_DAY

The order will be valid until 23:59:59 of the specified day. If this time does not fall within the trading session, expiration will occur at the nearest trading time.

Thanks! I corrected ORDER_TIME_SPECIFIED to ORDER_TIME_SPECIFIED_DAY and the EA started working.

Regards, Vladimir.

 
MrBrooklin #:

Thank you! I corrected ORDER_TIME_SPECIFIED to ORDER_TIME_SPECIFIED_DAY and the EA started working.

Regards, Vladimir.

Then it would be better to put until the end of the current day: ORDER_TIME_DAY

 
Vladimir Karputov #:

Then it would be better to put until the end of the current day: ORDER_TIME_DAY

I'll test it this way and then try to change it to ORDER_TIME_DAY and see what happens. Thank you for your advice.

Regards, Vladimir.