Forum

Need idea, code issues

HI, i try to design a function that read all open posiiton and return the position which are on same levels, and returning all the levels in questions. Example i have a buy at 1.3538 and some time after i take a position sell or buy at 1.3538 +/- spread, and 1 hour after i ask the ea to say if there

Old tick disturb my ea

Hi, I red most of the thread on this subject, and i found no solution for this problem ! (some says that it has no effect, but it has, or i'm not understanding something..) My ea is a high frequency trader so it takes a lot of trades, but the las two days i have several errors in journal (old tick

help with perkyasctrend

Hi, i'd like to make an ea with this indicator : perkyasctrend, (thanks collector !!), but the ea seems to miss some dot .... but not all of them ?!? here is my code : double perk_up = iCustom(NULL, 0, "PerkyAsctrend",4,250,0,1); double perk_down = iCustom(NULL, 0, "PerkyAsctrend",4,250,1,1); if

Range/trend indicator

Hi, I'm looking for an indicator which tells when we are in range/trend like ADX or Ravi, i think these two are too slown... Any advise ? Thanks Victor

Altern Buys and sells

Hi, I'd like to altern buys and sells op for my ea, but it keep on buys or sell.. I check the history tab with a loop with this code : int AlternBuySell(int MagicNumber) { int altern=0; int histb; int histbs=OrdersHistoryTotal(); for(histb=0;histb<histbs;histb++) {