forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Software

Create and Test Forex Strategies

You are not logged in. Please login or register.


Forex Software → Expert Advisor Studio → EA open on Monday and close on Friday problem

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 4

Topic: EA open on Monday and close on Friday problem

Hi there, I want to generate EA that opens trade on Monday and close on Friday (on 15M chart).

However, as you can see there is difference between trade entries in backtest and demo account.

For example, the BUY signal in the backtest is at exactly the open of first week candle, it wasn't executed in the DEMO account.
Therefore resulted in a SELL order, which was a loss (because of next signal from the indicator).

https://i.ibb.co/kJcD99V/3.png

https://i.ibb.co/N3Mv68x/2.png

How can I fix this, I mean I want to have the same orders in backtest and also the trading account.

I'm thinking about changing the time to in setting of EA Studio to 00:15 on Monday and end at 23:45 on Friday.

However, I don't  know if I change the setting "Monday - Thursday" part to "00:15-24:00", will it close all trades at 24:00 each day from Monday to Thursday, or will it open from 00:15 on Monday, and end at 24:00 on Thursday.

Thank you.

Re: EA open on Monday and close on Friday problem

This is my current time setting:

https://i.ibb.co/ym9GNfL/4.png

Re: EA open on Monday and close on Friday problem

The problem is that the position on MT is not opened on the same time as in the backtest. Please try to find the reason for that.
It can be because of different data or in the indicators values.

You can set the indicators in MT and to check their values for the opening bar.

4 (edited by moduoitroitho 2020-09-14 15:53:35)

Re: EA open on Monday and close on Friday problem

Thank you for your reply.

However, it seems that EAs in my demo account don't open trades at the exact begining candle of a new week, I don't know is it because the nature of Forex (I mean how can you open a trade at exactly the opening of first week candle) or because of my EAs or data, but the backtest can easily "open" trades at these critical candles.

I have one more example, as you can see, the direction is completely opposite due to different timing.

https://i.ibb.co/7SHgkYK/5.png

The entry of this trade is exactly at the open of first week candle

https://i.ibb.co/q5Tbr6P/6.png

But it was skipped  in my demo account.

Besides, other entries (except for the first week candle signals) seem to work fine.

Can you help me with my above question, I just want to start EAs trading from 00:15 Monday to 23:45 Friday.

However, I don't  know if I change the setting "Monday - Thursday" part to "00:15-24:00", will it trade from 00:15-24:00 in each day from Monday to Thursday, or will it open from 00:15 on Monday, and end at 24:00 on Thursday.

Posts: 4

Pages 1

You must login or register to post a reply

Forex Software → Expert Advisor Studio → EA open on Monday and close on Friday problem

Similar topics in this forum