- Search Energy EXCH
- 1,159 Results (26 Threads, 1,133 Replies)
-
ecTrade replied Aug 22, 2009Hey Oz, I had to modify code in EA. Where it said OrderOpenPrice(), I changed to OrderClosePrice(), which is how I coded it originally. But I was looking at it and it didn't look right, and without thinking about it changed it. So, I couldn't figure ...
Grid Trading
-
ecTrade replied Aug 21, 2009Sounds similar to something I'm working on. And yes, "modified" is the correct choice of words.
Grid Trading
-
ecTrade replied Aug 21, 2009If you have a demo account, I've created a test EA with some mock trades for testing. You can try that if you like. Oh, depending on who your broker is (or type of account), you'll have to strike the lowercase "m" at the end of the symbol ... i.e., ...
Grid Trading
-
ecTrade replied Aug 21, 2009You have to open it on each individual pair (or chart) you intend to use and enter the symbol and price. It manages it according to the symbol you select and/or the pair (or chart) the EA is attached to. This is why I didn't think it worked with ...
Grid Trading
-
ecTrade replied Aug 21, 2009Do you mean like this? I tested it on my demo account and it seems to work.
//+------------------------------------------------------------------+ //| Close Orders by Symbol and Set Price.mq4 | //| Copyright
2009, Dennis Hamilton | //| | ...Grid Trading
-
ecTrade replied Aug 21, 2009Yes, the code that sets the closing price is mine. The code that closes all trades I found here at the Forex Factory. I just implemented it today and it seems to work fine.
//+------------------------------------------------------------------+ ...Grid Trading
-
ecTrade replied Aug 20, 2009One thing you might consider doing is setting a price, say $5, $10, $50, $100, or whatever, and once it is met, having it close all orders and start all over again. That way you're always closing with a profit and starting fresh and not worrying ...
Grid Trading
-
ecTrade replied Aug 18, 2009Actually, it would be nice to have something for this, at least for me, to monitor the movement in the opposite direction. I'm working with a grid system right now and, since the new FIFO rule came out, you can only place trades (more than one) ...
speed of bar on 1 minute chart indicator?
-
ecTrade replied Aug 18, 2009Yeah, I've had it set up this way on my computer for the last hour so, and I definitely know an event has occurred. It's probably the best option to go with for now. Sounds interesting. Haven't tried my hand at programming indicators yet but, at ...
Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009It seems to work, but it's not consistent. It seems to vary between 8 and 25 seconds, or longer. Sometimes it will go "bling bling" twice within the same second. So, when the "ticks" are not coming in fast enough is that something that can be set ...
Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009No, it seems to be doing the same thing. Now the tick count is when the price goes up and down, and that can vary between 2-3 times a second or, once every 5 minutes, correct? Because this is what's triggering the alarm.
Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009Nope, I can't get it to work. Sorry. Here is the code in a dummy EA. //+------------------------------------------------------------------+ //| Alarm Wave.mq4 | //| Copyright
2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net | ...Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009Hey, that looks pretty straight forward. Will give it a try! Thanks!

Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009Nothing is ever that easy now is it? Damn! No, I need something to sound off every 7 seconds or so, for up to 1,000 times, in case I wander off or leave the house. I don't think it will work this way, because it will probably affect the opening and ...
Creating Sound Alert with Timeout and Iterations
-
ecTrade replied Aug 18, 2009Hey, that looks like it might work. Will give it a try! Oh, does the Sleep() function suspend the execution of "all" EA operations while sleeping? I was looking at this in the MetaEditor help section and it sounded like that's what it was saying. If ...
Creating Sound Alert with Timeout and Iterations
-
Creating Sound Alert with Timeout and Iterations
Started Aug 18, 2009|Platform Tech|13 replies
Hi, This is a pretty basic question I believe. I am trying to create sound alert with a ...
-
ecTrade replied Aug 14, 2009Are you speaking in the event that a drop occurs or, to have it close and delete orders at a specific time? You can probably create something to do it either way, however, it would probably be much easier to it do at a specific time.
Baby Sitter EA
-
ecTrade replied Aug 11, 2009It hasn't been compiled (without a .ex4 I believe) or wasn't compiled correctly. Try opening it up in the Meta Editor and compiling it and see what happens.
Why is my EA gray?
-
ecTrade replied Aug 11, 2009Isn't the .ex4 file generated after you compile the .mq4 file and makes the mq4 file executable? For example, oscillator_1.mq4 versus oscillator_1.exe? I think what you need is the Candle_Identifier.mq4 file and, once you compile it through the Meta ...
How to make MT4 trailing stops work?