- Search Metals Mine
-
Ronald Raygun replied Jul 6, 2010Yes, that's a valid concern. Thankfully, Generic Breakout Version 7 thread explains the inputs.
Generic Breakout Version 6 [TD]
-
Ronald Raygun replied Jul 5, 2010This is where it's generally a better idea to break out the time logic. datetime StartTime = StrToTime("23:00"); datetime StopTime = StrToTime("01:00"); string TimeCheck = "Outside Trading Times"; if(StartTime < StopTime && TimeCurrent() >= ...
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 2010No. You seem to be missing the point. To the EA, 01:00 and 23:00 happen on the same day. The EA effectively ignores midnight. To compensate for this, you need to check using StrToTime to determine if Stop Time comes before or after Start Time, and ...
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 201023:00 and 01:00 would be of the same day (Let's say January 1) instead of January 1, 23:00 and January 2, 01:00
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 2010Yes. Once you do something like this however, make sure the time specified is on the proper day. You need to make sure you handle midnight properly.
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 2010this is where you may want to start using string conversions. datetime TimeCheck = StrToTime("12:34"); the compare TimeCheck against TimeCurrent()
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 2010to get the current hour: int CurrentHour = TimeHour(TimeCurrent()); then you just need the 24 hour time (0-23) and compare against CurrentHour
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 5, 2010In metatrader, time is the number of seconds after 00:00:00 January 1, 1970. Adjust accordingly..
How do I specify trading hours for my EA?
-
Ronald Raygun replied Jul 3, 2010Interesting take on system development... It seems you just try to throw as much on the wall as possible and see if it sticks.
Create Forex systems/strategies while you sleep FREE
-
Ronald Raygun replied Jul 2, 2010smilee89, I received your PMs, I'm not entirely sure how they are relevant. My suggestion, write a guide/manual/ebook/report on your optimization theory.
Effective optimization
-
Ronald Raygun replied Jul 2, 2010And what--pray tell--are your qualifications for knowing how best to optimize an EA? It's most generous of you to provide this service, but at the same time, I'm curious as to your intentions. Are you just looking for a bunch of free EAs? As a test, ...
Effective optimization
-
Ronald Raygun replied Jul 2, 2010How do you backtest triangular arbitrage?
MetaTrader 5 Client Terminal
-
Ronald Raygun replied Jul 2, 2010Based on your strategy, yes there will be that one floating loss. But the martingale component only happens after a closed loss. That is to say, you don't increase your lot size until you've had a loss. Hanover and I have years of experience at ...
help modification of an EA very profitable
-
Ronald Raygun replied Jul 1, 2010Martingale doesn't have one major loss. It has a string of losses which build on top of each other until--hopefully--one win offsets all previous losses. The string of losses will almost always inevitably result in what many here call the 'death ...
help modification of an EA very profitable
-
Ronald Raygun replied Jul 1, 2010what datatype is ln_txt[]?
return string value... getting incompatible error
-
Ronald Raygun replied Jul 1, 2010Maybe 5 or 6. Losing weeks tend to come when the overall market moves from trending to ranging or vice versa. Different settings based largely on spread and my personal knowledge with the pair.
Old Dog with New Tricks