Hi, I'm newbie and I'm trying to learn lite C.
I have some problems with this script; it's formally ok, but no one buyng and selling operations.

function run ()
{
//no trade costs...
BarPeriod = 5;
Spread = 0;
Slippage = 0;
RollLong = RollShort = 0;
vars Price = series(priceClose());
var HighC = (MaxVal(priceClose,6));
var LowC = (MinVal(priceClose,6));
var PriceRange = (priceHigh()-priceLow());
var BuyStop = priceClose() + 1*PIP;
var SellStop = priceLow() - 1*PIP;
TakeProfit = 150*PIP;
Stop = 200*PIP;
if (Price[0] > (HighC[1] + PriceRange[1]))
enterLong(1,BuyStop, TakeProfit, Stop);
if (Price[0] < (LowC - PriceRange))
enterShort(1,SellStop);
}

Can anyone help me?

Thanks