To use chat, please login.
Back to contacts

The Old Tick Problem.

ForexSeeker (ForexSeeker)
Jun 04 2010 at 10:57
814 posts
Any Experience Trader encounter the old tick problem before ?

What caused the old tick ?

As in real account, this problem seem can be fix.

But in demo account, it seem permanently disable your account to trade anymore.

Information is Gold when come to organised.
Elkart
Elkart
Jun 04 2010 at 11:46
941 posts
I think you have to get the result from your broker when you do a transaction and check if the transaction occurred or not. Not good enough to just send. You have to make sure it happened and if it hasn't re-do the process.

We don't have any old tick problems, but I suspect it's because we wrote them out.

Elkart
Elkart
Jun 04 2010 at 11:50
941 posts
Result = OrderSend(Symbol(), OP_SELLSTOP, MyLots, Bid - TradeGap * Pips, Slip, 0, 0, 'Selling', 0, 0, 0);
    if (Result < 1)
     {
      Print('Error ', GetLastError(), ' On First Attempt at SellStop On ', Symbol());
      RefreshRates();
      Result = OrderSend(Symbol(), OP_SELLSTOP, MyLots, Bid - TradeGap * Pips, Slip, 0, 0, 'Selling', 0, 0, 0);
      if (Result <1)
       {
        Print('Error ', GetLastError(), ' While Placing SellStop On ', Symbol());
        Print(' Lots = ', OrderLots(), ' Bid = ', Bid, ' Slip = ');
       }

Elkart
Elkart
Jun 04 2010 at 11:52
941 posts
And so on, stays in a loop till it gets it.

compuforexpamm (compuforexpamm)
Jun 04 2010 at 16:10
265 posts
ForexSeeker (ForexSeeker)
Jun 04 2010 at 17:13
814 posts
Obviously is not the EA code problem, as It's the delay of data delivery to the MT4 system.
Even though I have deleted the history folder file data, this problem still occur in demo.

I have try to copy a working probably platform, copy the default folder in profile to the new platform.
The same thing happened again, I suspected the demo server ping connection is slow to the MT4 platform result such error.

While in life account this problem can be solve by just deleting the history folder data.
Restart the platform, load the data on each time frame and restart platform again.

Any more opinion what causes old tick data ?

Information is Gold when come to organised.
Elkart
Elkart
Jun 05 2010 at 05:42
941 posts
Double trap.

See - in this thread they give the same solution I did: https://forum.mql4.com/10869

Doesn't matter what causes it, to get around it you have to go refresh your rates and try again. So your code needs to be adjusted.

bob1234
Jun 22 2010 at 05:17
9 posts
Scroll down a bit and read the post by mill at https://www.metatrader4.com/forum/893 - basically, it’s a broker issue that you can do nothing about; it’s a MT4 terminal error, not an EA error.

faisalsagala (faisalsagala)
May 31 2012 at 12:50
1 posts

   ForexSeeker posted:
   Any Experience Trader encounter the old tick problem before ?

What caused the old tick ?

As in real account, this problem seem can be fix.

But in demo account, it seem permanently disable your account to trade anymore.


You can read this solution and visit my web.
    Hello traders users EA (robot trading), which often have oldtick - ping failed in its metatrader (see journal), which led to the failure of EA to open position, can use the software OldTick Killer. Read the information robottradingcerdas.com /? P = 3347. OldTick killer robots 'that sucks' can be FREE TRIAL today. Can try it before buying.

    Regards,
    robottradingcerdas.com


It is stupid but it is profit!
Please login to comment .