- Search Metals Mine
- euclid replied Oct 17, 2011
Yes. I haven't tested that TimeToUTC function and as you've discovered, it's broken. Please hold ..... Try this. datetime TimeToUTC(string TimeZone, datetime t) { int SysTime[4], LocTime[4], TZInfo[43]; GetTZI(TZInfo, TimeZone); TimeToSystime(t, ...
New very cool CandleTime and session time Clock indicators
- euclid replied Oct 14, 2011
Here's one I just put together.
Need MT4 Indicator revised or re-created
- euclid replied Oct 11, 2011
I've done a chart version so you can see what's going on.
Unknown Indicator and amazing result
- euclid replied Oct 11, 2011
The second input doesn't do anything useful. I put the other one back. That was a mistake. I edited my post so you can download it again.
Unknown Indicator and amazing result
- euclid replied Oct 11, 2011
OK. It's looking at the midpoint between the highest and lowest price over a seven bar period (bar 2 to bar 8) and compares that with the another seven bar period (bar -5 to bar 1). Since bar -5 is 5 bars into the future, that's cheating
Here's a ...Unknown Indicator and amazing result
- euclid replied Oct 11, 2011
It repaints the last 7 bars. Live signals are up to 7 bars later then those shown on the chart.

Unknown Indicator and amazing result
- euclid replied Oct 11, 2011
EAs are trading systems. We certainly don't want this forum cluttered with trading system threads.
EA Forum
- euclid replied Oct 11, 2011
This bit doesn't look right. You are adding the suffix twice. //Set up the trading pair and type //TradePair TradePair = StringConcatenate(StrongestCcy, WeakestCcy); TradeType = OP_BUY; string AddChar = StringSubstr(Symbol(),6,4); TradePair = ...
Hanover: an auto-trader using Recent Strength
- euclid replied Oct 9, 2011
Well I did bother after all. It seems to work OK.
New very cool CandleTime and session time Clock indicators
- euclid replied Oct 8, 2011
Well it does. If you compare the output with UTC to see what the offset is and then check that against the TZInfoArray to see whether it's ST or DST. Personally, I wouldn't bother
I was experimenting today with pulling the TZInfo from the windows ...New very cool CandleTime and session time Clock indicators
- euclid replied Sep 14, 2011
If you just want one trade per MA crossing, you can do something like this: //---- input parameters extern double TakeProfit=130; extern double StopLoss = 100; extern double Lots=1; bool TradeOpenAllowed=false; int MagicNumber=12345; ...
My EA Creates a lot of sell orders! How can i avoid that?
- euclid replied Sep 6, 2011
Everybody who trades FX signs a declaration stating that they know what they are doing and understand the risks. Nobody would sign that if they didn't really understand it would they? So what's the problem?

Danger.. Why You Should Stop Trading FX - CHF Rate Decision
- euclid replied Aug 31, 2011
OP means "throws it out" as in throwing the calculations off.
FF Tunnel Method
- euclid replied Aug 26, 2011
I use this code. TimeUTC() gives you GMT. #import "kernel32.dll" int GetTimeZoneInformation(int& TZInfoArray[]); #import #define TIME_ZONE_ID_UNKNOWN 0 #define TIME_ZONE_ID_STANDARD 1 #define TIME_ZONE_ID_DAYLIGHT 2 int TZInfoArray[43]; datetime ...
How to convert to GMT
- euclid replied Aug 14, 2011
I had a quick look, but I still can't find those trends.

% of times a price move of X is followed by another in the same direction ========================================================================= Pair | X 0.25% 0.5% 1% 1.5% 2% ...Where is the EDGE in trading? The most important thing in trading!
- euclid replied Aug 13, 2011
According to my data, it is less than 50%. Edit: No, sorry. I shouldn't write code at 2am. I found my error, it is 50%.

Where is the EDGE in trading? The most important thing in trading!
- euclid replied Aug 9, 2011
That's all based on past or current price. It's mumbo-jumbo. Show me proof that any of this stuff works. Anyone making money with this stuff is just lucky.

Where is the EDGE in trading? The most important thing in trading!
- euclid replied Jul 11, 2011
Let's assume that if the market "moves in your favour", you win 100%. And if the market doesn't "move in your favour" you win 33%. With 50% "moves in your favour", you make 0.5*1+0.5*0.33 = 66% With 70% "moves in your favour", you make ...
Math Help: Probability