Forum

market is closed error

I'm getting this in weekdays and have put my codes inside if(IsTradeAllowed()) but my EA is still trying to open/close a trade I've seen some post mentioning that the broker will close their service to do something for 5 mins or so

Does this affect my backtest data?

Hi, I noticed something weird with this chart and compared with other broker. Other broker is having the opening near the close of the previous bar. Does this affect backtesting with this broker

tick quality

Hi all, I'm getting these in my journal 2025.06.04 22:09:09.929 Core 1 EURUSD : 2024.02.16 23:59 - real ticks absent for 25 minutes out of 1437 total minute bars within a day 2025.06.04 22:09:09.929 Core 1 EURUSD : 2024.03.01 23:59 - real ticks absent for 47 minutes out of 1437 total minute bars

missing tick data

Yesterday when I was doing some backtesting of EA I realised that ticks data were missing for year 2023 and before resulting the testing quality to be 0 What could have happened? Do I need to contact the broker for this? I have tried to delete all tick data and tried to re-download but data are

Peculiar back testing

I was testing my EA this morning and save the settings. After I came back tonight, the results are quite different without any changes to the period and settings and I'm getting this error from the journal 2024.08.22 22:32:01.548 Core 1 EURSGD : 2022.04.01 00:00 - 2024.03.31 00:00 real ticks absent

Optimization: How to choose the best parameter

Consider the optimization below What parameter would you choose to be the most stable and robust

Loop to count consecutive bull or bear bars

int Consecutive( int Count) { //--- int BB = 0 ; for ( int i = 1 ; i <= Count; i++) { if ( iClose ( _Symbol , PERIOD_H1 , i) - iOpen ( _Symbol , PERIOD_H1 , i) > 0 ) { BB++; } else { BB--; } } //--- return (BB); } Besides using

unable to pass market validation

Hello, May I know if there's any maintenance on the market? I tried to update my EA but was having this error test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) there are no trading operations test on GBPUSD,M30 (netting) there are no trading operations test on

Average Position Holding Time

As I'm going through my backtest report. I was looking at this and thinking if this information is important. If the average position holding time is very low, does it means that my EA is more accurate and robust compare to a value that is higher? and where can I get this for use in Custom Max

Tester set mode to math calculations or adjust testing dates

Tried to ran optimization but ran into this error Tester set mode to math calculations or adjust testing dates What is this