- Search Metals Mine
-
Irtron replied Aug 25, 2009MQL4 Documentation: datetime TimeCurrent( ) Returns the last known server time (time of incoming of the latest quote) as number of seconds elapsed from 00:00 January 1, 1970. Note: At the testing, the last known server time is modelled. Sample: ...
TimeCurrent() in strategy tester
-
Irtron replied Aug 24, 2009Yes, drag&drop is supported by mql4. I've developed quite a few applications like this.
Drag and Drop Elliott Labels
-
Irtron replied Aug 19, 2009It does indeed! I have a commercial solution that utilises WinAPI IPC facilities. Very fast and most reliable.
Copy Demo acc's orders
-
Irtron replied Aug 18, 2009Yeah, the idea is rather obvious. What puzzles me is why you compare time value with price? Are you aware of implications of casting a double (Open[0]) to an unsigned integer (OpenTime)? Let me assure you that the code in the quote won't work. The ...
Market Statistics (Volume Histogram, VWAP with SD bands)
-
Irtron replied Aug 13, 2009RefreshRates() Actually if synchronous computation doesn't work in real time why not to process the ticks asynchronously? A lightweight and quick EA or indicator gathers the ticks in a fifo queue that in turn is processed by a worker script. BTW on ...
Writing an EA without the start function?
-
Irtron replied Aug 12, 2009datetime OpenTime = 0; // To check if we have a new bar int start() { ... if (OpenTime != Open[0]) { ... OpenTime = Open[0]; ... Akiff, could you elaborate on this bit of code please? I'm rather curious...
Market Statistics (Volume Histogram, VWAP with SD bands)
-
Irtron replied Aug 10, 2009Disappear from visual area most likely. Find your graphic object in the object list (Ctrl-b) and check its coordinates against new timeframe visibility scope.
Lines are disappearing
-
Irtron replied Aug 9, 2009I gave you three apples. You've eaten two. How many apples do you have?

How to get my Initial Deposit value?
-
Irtron replied Aug 9, 2009About what exactly? for (int i = OrdersHistoryTotal() - 1; i >= 0; i--) if (OrderSelect(i, SELECT_BY_POS, MODE_HISTORY)) if (OrderType() == 6) OrderPrint();
How to get my Initial Deposit value?
-
Irtron replied Aug 8, 2009Deposit/withdrawal orders have type 6. Search order history for orders with that type.
How to get my Initial Deposit value?
-
Irtron replied Jun 4, 2009You're missing the other option here I'm afraid: 'which I think will be very profitable' 'which I think will be very detrimental'
Professional MQL 4 programmer wanted
-
Irtron replied Jun 4, 2009I don't mind being paid too. For the opposite result of course. Please email or PM me for the details.
Does anybody have a candle straddle EA with step/trailing stops?
-
Irtron replied Jun 3, 2009Like any binary file - using a hex editor. You can easily find one in the Internet. There is an issue though. According to the question you have no idea how the things work in the computer. So how are you going to change something that you're not ...
Can anyone modify QQE like this?
-
Irtron replied Jun 2, 2009graphic object — A script that tracks graphic object, e.g. a vertical line, coordinates can calculate and display the data in real time whilst you drag the line around.
Mid-Point indicator
-
Irtron replied May 26, 2009OBJ_LABEL instead of OBJ_TEXT might help the message not to disappear automatically as the chart progresses

how to add text label to an indicator
-
Irtron replied May 22, 2009It's worth checking GetLastError() value at this point. If you call the function from a timeframe different from PERIOD_D1 it can return zero while the data is downloading. There is an example in ArrayCopySeries() documentation.Close in EL ...
Choppy Market Index
-
Irtron replied May 14, 2009Sure. That is what I do for living actually. That's why I removed 'just' from the quote.

Help need MA indicator
-
Irtron replied May 14, 2009Any number of platforms can work simultaneously without interfering with each other unless you exhaust system limits like memory, file descriptors, etc.
Running multiple EA's
-
Irtron replied May 14, 2009double PrevBid; int init() { PrevBid = Bid; return (0); } int start() { double ma = iMA(NULL, 0, 20, 0, MODE_SMA, PRICE_CLOSE, 0); if (Bid >= ma) if (PrevBid < ma) Alert("touch up!"); if (Bid <= ma) if (PrevBid > ma) Alert("touch down!"); PrevBid = ...
Help need MA indicator