function stp(var entStp, var entT) {
print(TO_LOG,"\n in tmf: %s, high = %.5f, close = %.5f", strdate(HMS,wdate(0) ), priceHigh(0), priceClose(0) );
watch("#entT=",strdate(HMS,entT));
return 4; //or 0
}
function run()
{
set(LOGFILE, TICKS);
Verbose = 3;
Spread=Slippage = 0;
BarPeriod = 60;
StartDate = 2020;
EndDate = 2020;
watch("#wdate=",strdate(HMS,wdate(0)));
enterLong(stp,10*PIP,wdate(0));
}