- Search Energy EXCH
- 1,159 Results (26 Threads, 1,133 Replies)
-
ecTrade replied Jul 14, 2010Actually, until I got the error message, I thought the idea was pretty straightforward and simple. But still, I am that much further along than I was, because now it displays the correct information ... at least in terms of the math. Thanks ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 14, 2010Hey, don't they have a flame wars section for this kind of stuff?

Keeping Track of Equity by Pair
-
ecTrade replied Jul 14, 2010Okay guys, this is what I did in order to get it to work ... well, almost ... int t_cnt=0,OOT,FOOT; double a_profit=0,b_profit=0,t_profit; for(int cnt=0; cnt<=OrdersTotal(); cnt++) { OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES); // open orders ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Yeah, I was kind of wondering about that. Although I don't think it's wrong as much as it's unnecessary. I actually tried doing it without it, but felt I should leave it there just to be on the safe side. Oh well ... I didn't notice the part about ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Yeah that makes sense, which in fact is similar (like I said) to what I had done in this other EA. It was only caching or "banking" once the total order count shifted (downwards). And continued to add to and maintain until the closeall function ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Okay, those were datetime variables (ct1[],ct2[],ct3[],ct4[],ct5[]) that I set up in the header (prior to init()). I hope that makes more sense. Yes, and each one of those is a separate array. Oh, it's currently not part of the EA I'm working on ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010This looks like a bunch of good stuff here, except I only need it to count from the earliest current order, so I don't need to go back any further than that. While there will still be orders opening and closing after this (not always), which is why ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Or, maybe if you created an array similar to this, which tells you if the order is open or closed: for(int v=0; v<=L+1; v++) { OrderSelect(T1[v],SELECT_BY_TICKET,MODE_HISTORY); ct1[v]=OrderCloseTime(); if(ct1[v]>0){ gt1[v]=0; } ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Alight guys!
So, was my use of the "=" sign wrong in either case? If so, I think I better correct it, because it seems like I've always done it this way. Most of the time I don't notice any errors, however, there are times when the count gets ...Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Heh heh heh ... shame on you! I got something like this to work on a similar EA. I also tried doing it with this EA, but there's too many possible open and close configurations that it's hard to keep track of it all. I wound up getting bogged down ...
SWB Martingale EA
-
ecTrade replied Jul 13, 2010It's not always easy to follow, especially when you are first starting out. It's much easier (at least for me) to begin working with the code, and try to establish some working examples. Then it's one step at a time from there. Except of course this ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Actually I had done something similar to this in another EA and got it to work. I "banked" the profit each time an order closed (against total orders) and added that to the current total of all open orders, and it worked great for that particular ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010I'm not sure what you mean by offline charts? Basically I want each instance of the EA to calculate the profit based upon the criteria specific to that instance. Is that what you're saying?
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Hey, I'm not trying to downplay anything you've said here. I would just like to know if I could get it to work with what I've already done first? Oh, in case you missed it: Thanks.

Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010I might give it a shot. Do you have to change the name of the EA to less than five characters in order to use it though? Basically all I need though is the code to incorporate into the EA, something along these lines: int t_cnt=0,OOT,FOOT; for(int ...
Keeping Track of Equity by Pair
-
ecTrade replied Jul 13, 2010Indicator? No, there was no indicator attached to this version. While here is the last update on this particular thread. If it doesn't work, then I guess I can't help. Sorry.
SWB Martingale EA
-
ecTrade replied Jul 13, 2010Yes, I believe I have it set up here as the global kill switch. So it's just a matter of setting what percentage of account you want to close all trades and adjust lot size to fit within that range. Of course I haven't spent a lot of time testing it ...
SWB Martingale EA
-
Keeping Track of Equity by Pair
Started Jul 13, 2010|Platform Tech|38 replies
Is there an easy way to keep track of order profit/equity by pair? I would like to run ...
-
ecTrade replied Jul 13, 2010How many points there are between each level or the next trade.
SWB Martingale EA