- Search Crypto Craft
-
luxinterior replied Apr 17, 2010I understood the code perfectly and I understand you perfectly. You seem to find it very hard to take any kind of criticism even when it's blatantly obvious to any sane person that you made a simple error in your initial post. I've always enjoyed ...
code quality
-
luxinterior replied Apr 17, 2010It's nothing more complicated than buy if less than WPR lower value and sell if greater than WPR upper value. I'm sure you could find something similar around the Internet. Lux
Stop Loss Help
-
luxinterior replied Apr 17, 2010No need for the explanation thanks. I totally understood the code and the coding logic. You did however make a particular point to mention that the loop would occur 3 times. You then went on to say that the alert and email would be sent three times. ...
code quality
-
luxinterior replied Apr 17, 2010While I don't particularly like the method and wouldn't use it for the alarm the NewBar() function call will stop it being called more than once. Lux
code quality
-
luxinterior replied Apr 17, 2010yes you can run multiple EA's on different charts. If you want them to be autonomous then make sure they have different magic numbers. Lux
running two experts at the same time.
-
luxinterior replied Apr 16, 2010There's no need to 're-invent the wheel'. Why not just use one of the many grid EA's that's already been posted? Try a search for 'Blessing3' which seems to be one of the more robust grid EA's and has a strong developer support system. Lux
I need help about pending orders
-
luxinterior replied Apr 14, 2010Years ago I wrote a simple bot using AuotIT that would click the tabs of each chart at set intervals. It's not too hard to do if you have some programming experience and a bit of time. Lux
Flicking through charts
-
luxinterior replied Apr 13, 2010You can't access OPEN only the values in the DDE example. Lux
MT4 DDE for Excel 2007
-
luxinterior replied Apr 10, 2010That's the second time you've got my name wrong.
Good job I'm not a sensitive kinda guy.
LuxThe Dance
-
luxinterior replied Apr 10, 2010Round Numbers for 5 Digit Brokers — Here's a quick hack I did to make it work on 5 digit brokers. Hope it helps. Lux
The Dance
-
luxinterior replied Apr 7, 2010If the objects have unique names you can use ObjectGet. If not then just add buffers to the indicator and put the values in the buffers. Lux
icustom without indexbuffer value
-
luxinterior replied Mar 26, 2010Why not use an SMA set to 1 then? You could change the period to show higher TF's on the same chart. If I've misunderstood again please explain a little more with maybe a graphic. LUx
Closing Price Indicator
-
luxinterior replied Mar 23, 2010Yes. If an EA is not on an active chart it won't work. What you could do I guess is have two terminals open. Lux
MT4 profiles
-
luxinterior replied Mar 18, 2010Try MarketInfo(Symbol(),MODE_SPREAD); Lux
Ask/Bid programming problem
-
luxinterior replied Mar 17, 2010initialize = this is called once the EA is started. This is normally where you'd put code that is needed to 'initialzie' the EA. Setting global variables for example. deinitalize = This is basically the opposite of init and it's called only once at ...
Coding Tutorial
-
luxinterior replied Mar 17, 2010You can't open ex4 files. They are the compiled code. Metaeditor only opens mq4 files. Lux
Problem with opening ex4 indies
-
luxinterior replied Mar 15, 2010As soon as I hit send on my previous post I noticed the files on the site.
Thanks LuxSnowballs and the anti-grid
-
luxinterior replied Mar 15, 2010Hi Bernd Another valuable and thought provoking contribution. I tried downloading the mql file so I could test it but it needs a couple of extra files which were not included. #include <common_functions.mqh> #include <offline_charts.mqh> Thanks ...
Snowballs and the anti-grid