According to the manual when setting up EntryDelay and an entry limit the trade opens either after the given delay time (default: 0 - no entry delay), or when the entry limit is met.

Doing following:

set(TICKS);
BarPeriod = 1440;

LifeTime = 10;
Entry = -1*PIP;
EntryDelay = 20000;

enterLong();

This should open a long trade a soon as the price decreases by 1 pip or if that does not happen open the trade after 20000 seconds.

I could not figure out how this works.

When I set up both the Entry is just ignored and I get the same result as if I only used EntryDelay on its own.

As an example some trades open just 1 minute after the bar opens when setting up Entry only. If I set up EntryDelay too this very same trade opens after 20000 seconds.
Shouldn't the trade open after 1 minute already as the entry limit was fulfilled first?

Attached the script I used.

Cheers

Attached Files
entrydelay.c (3 downloads)