Your modification is still wrong, but this is probably what you wanted to do:

Code:
function run()
{
	
	NumDays = 500;
	var priceLevel1 = 1.4300;
	var *Open = series(priceOpen());
	if(CrossOver(Open,priceLevel1)
		enterLong();
	if(CrossUnder(Open,priceLevel1)
		exitLong();
	
}