forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Forex Strategy Builder Professional → Day Closing and Week Closing not triggered ?

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 10

Topic: Day Closing and Week Closing not triggered ?

Dear Popov


Why my Day Closing EAs are not closed at 23.58 and my Week Closing at friday 23.56 as ist should?
My broker ic markets has fx  trading hours  00:01  to 23:59 server time daily (23:57 on Friday)

manually I can close at 23.58 as in the backtest.  the market is open


I want to ad exit logic  dayclose and weekclose if indicator value is met.
so I cant use dayclose 2 or weekclose 2 with another exit time.

I'd be so glad if that works .  Any ideas?

Is it just me or has it to do with the broker ?
This has nothing to do with the rollover trading break spread spikles.

$

Re: Day Closing and Week Closing not triggered ?

What time frame do you trade?

if you use Week Closing at Friday 23.56, it must be M1.

Re: Day Closing and Week Closing not triggered ?

Hi Popov smile

its M1

Re: Day Closing and Week Closing not triggered ?

Does you broker trade until 23:56?

This indicator is available for more than 10 years. It is very unlikely to find a bug now.
Most probably there is some execution problem. Please check you MetaTrader log for errors or warnings.

Most probable reasons are:
- using a time frame that doesn't have Bar Closing at the chosen time
- the broker closes earlier on Friday
- the broker suspends the trading around midnight for rollover.

Re: Day Closing and Week Closing not triggered ?

I just tested for you. Found working well.

https://image-holder.forexsb.com/store/fsb-pro-week-closing-2-thumb.png

I use 19:56 because in my time zone the broker closes at 20:00 on Friday.

Re: Day Closing and Week Closing not triggered ?

yes it does trade till 23:56
I use selv collected  broker data
the trading hours are
daily : 00:01 – 23:59        here the FSB backtest uses 23:58 for day closing
friday 00:01 – 23:57         here the FSB backtest uses 23:56 for day closing on friday and week closing

I have checked the Mt4 log and there was no closing attempt visible.
I will check again tonight both demo and live account.

Could you see for your self and open a IC Markets MT4 terminal and put a m1 Day Closing EA with no other exit rule  and check?

Re: Day Closing and Week Closing not triggered ?

I checked the source code  of Day Closing 2 and Week Closing 2 indicators. It looks like I have made them to work on every timeframe.

Test your expert on the MT backtester. If it works there, it must work during the trading also. If it works on the backtest but doesn't work for the trading, your broker has very serious problems and you have to avoid it.

Re: Day Closing and Week Closing not triggered ?

ok I have checked week closing 2 with 23:56 in MT Backtester and it triggered a  close
also day closing 2 with 23:58 and friday 23:56 triggered close


but with day closing 2 or week closing 2 no additional exit logic can be selected in builder.


and since the exit times from day closing 2 and day closing regular and week closing 2 and regular are the same I think that I could use normal day close and week close plus additionally the exit logic.


with the trading hours from the broker even the standart dayclose/weekclose  should work right and why it doesent? manually I can close at 23:58 and 23:56

9 (edited by biohacker 2020-12-03 11:56:01)

Re: Day Closing and Week Closing not triggered ?

here you see that the exit from dayclose 2 are done correctly in mt backtester.


Am I right in my assumption that the regular dayclose / weekclose should work as well with those trading hours?

Post's attachments

Bild_2020-12-03_115547.png 79.77 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

10 (edited by biohacker 2020-12-03 13:32:58)

Re: Day Closing and Week Closing not triggered ?

I can report that I can now add closing conditions to day closing 2 and week closing 2
I am sure that that was inactive until now I made a screenshot this morning because I wanted to ask you

I hope it stays )
Can I change the default exit time of the dayclose 2 and weekclose2 indicator? I checked in user files indicators


thx Popov I'm feeling great that it works now
$ good trades to all

Post's attachments

Day Closing 2.JPG 42.93 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Posts: 10

Pages 1

You must login or register to post a reply

Forex Forum → Forex Strategy Builder Professional → Day Closing and Week Closing not triggered ?

Similar topics in this forum