- Search Energy EXCH
- 1,159 Results (26 Threads, 1,133 Replies)
-
ecTrade replied Mar 12, 2010So, will that code work? It looks like it will. Or at least I'll give it a try. Of course I won't really know until trading opens again ... Oh, if it refreshes every second or whatever, does that mean I can close out trades before the next tick? ...
Updating EA Before Next Tick
-
ecTrade replied Mar 12, 2010Profit Monitor EA — Here is a copy of the EA if anyone is interested. Basically it allows you to set a profit target and close all orders (open and pending) by magic number. You also have the option to select the magic number by range (x 2) or ...
Updating EA Before Next Tick
-
ecTrade replied Mar 12, 2010Okay. However, I'm still getting the 'RefreshTicks variable not defined' ...??? This is where I added the code: //+------------------------------------------------------------------+ //| expert initialization function | ...
Updating EA Before Next Tick
-
ecTrade replied Mar 12, 2010Do you mean if(RefreshTicks()) ...? Nope, I tried that and it doesn't work ... So, basically everything except for the MotherFunction(); which goes in init (), is supposed to replace the start() function, correct?
Updating EA Before Next Tick
-
ecTrade replied Mar 12, 2010Okay, I added the code and tried compiling it, but I'm getting an error message saying "RefreshTicks" variable not defined. Am I missing something here?
Updating EA Before Next Tick
-
ecTrade replied Mar 12, 2010You make it sound easy enough. Will that code work pretty much the way it's shown? And what do you mean by putting start function contents in "void DaughterFunction()?" That's the whole rest of the EA isn't it? Or, are you just replacing "int ...
Updating EA Before Next Tick
-
Updating EA Before Next Tick
Started Mar 12, 2010|Platform Tech|42 replies
I have a question. Is it possible to update an EA internally before the next tick or, possibly ...
-
ecTrade replied Mar 11, 2010Wow! I just tested it after setting it to 5. I made an additional $10,000 (lot size of 2 and Power Lots on) in the same four month period. On top of that the profit factor increased to 4.01 (from 2.89) and the drawdown decreased to 67.13 (from ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010Yeah, I just noticed this when forward testing it. And you're right, it's 3 pips. I don't think it was doing it when I was backtesting it. Okay, I think I see what happened. I was modifying the code and inadvertently deleted the variable that resets ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010No, because it's only based upon price action (I think) and it shouldn't matter which time frame it's in. There is really nothing there, like an indicator to spot the overall trend, regardless of time frame, although it will make adjustments for ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010So what lot size were you using, versus opening deposit? Sounds like you may need to lower it a bit. No, it shouldn't do that, not unless you had more than one trade opened before it closed. If so, it will close early because you have "padded" the ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010I didn't lose everything. I lost just enough (about 25% of my account) to realize I better come up with a better strategy. I still have most of the money I started with or, at least close to where I'm breaking even. Of course if this is the best I ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010If there are other orders open, this is what creates the drawdown. So you have to be careful there too. If you have too many orders open or, "accumulated" lot size is too large (that's the real killer), this is what causes it to crash.
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010Because the orders below are closing (at TP value) and gradually increasing the equity, that is, until it reaches a certain point, above the break even point of the first trade (which can be adjustable), so it will close out all open orders at that ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010Another time to close (and hibernate) would be during the news. This is what happened the last time when the EUR/USD collapsed. If I had closed everything out beforehand, and waited a day or two to see what happened, I would probably still be ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010Possibly. Oh, here is a snapshot of a modified version (without too much tweaking and adjusting) that will open more trades within a certain time frame, so you don't have to sit there all day waiting for something to happen. I decreased the lot size ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010Oh, if there is little or no price movement (or beginning of a trend, or reversal), this EA basically won't open any orders or, that's pretty close to the way it works. So, in that regard opening is not that big of an issue either. The problem ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010There's also a bit of a Martingale involved, where the lot size increases by 50% (i.e., from 1.0 to 1.5, to 2.25, etc.) with each trade successively placed below the first. It's not a full blown Martingale, however. It's based more on the idea of ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 11, 2010The stoploss isn't necessary. It's based upon a formula. Where, when each order closes below the original or first, it "pads" the equity ... which, once it reaches a certain point (in profit above the first) it closes all trades and starts over ...
Help with EA ... More Fun with Dazz
-
ecTrade replied Mar 10, 2010Let's Shake n' Bake! — Are you guys ready to Shake and Bake? Check your Yahoos! ...
Help with EA ... More Fun with Dazz