OK spent way too long trying to bug hunt this issue. For some reason, long trades only are being taken my scripts.

Example script below:

Code:
function run()
{
	set(LOGFILE);
	BarOffset = timeOffset(ET,0,17,0);
	BarPeriod = 1440;
	StartDate = 2002;	
	
	vars cl	= series(priceClose());
	int threshold = 80;
	int exitbars  = 8;
	
	ExitTime = exitbars;
	Stop = 140*PIP;
	
	if (cl[0] > MaxVal(cl+1,threshold)) enterLong();
	if (cl[0] < MinVal(cl+1,threshold))	enterShort();
}