I would like to use tmfs to put a trade in a pending state and only enter it if a stop in a synthetic value is reached
I can do it with something like this:

int mytmf() {

if(stop_is_reached) return 2;

return 0;
}

function run() {

StartDate = 20100105;
EndDate = 20100105;

Entry = 200*PIP;
EntryTime = 50;
if(tod()==600) enterLong(mytmf);

}

What I dont like about is that I need to use Entry for the current Asset, so I have to set it to some arbitraty high value to make sure that is not reached.

Isnt there a cleaner way to open a pending trade via tmf without using there asset specific trade parameters?