myhigh = Highest(High[1],length);
mylow = Lowest(Low[1],length);
PlotNumeric("myhigh",myhigh);
PlotNumeric("mylow",mylow);
if (High>myhigh and MarketPosition<>1 and open<=myhigh and time>=0.0901 && time <0.1458)
{
Buy(hands,myhigh+n*MinMove*pricescale);
}
if ( MarketPosition<>1 and open>myhigh and time>=0.0901 && time <0.1458)
{
Buy(hands,open);
}
if (Low<mylow and MarketPosition<>-1 and open>=mylow and time>=0.0901 && time <0.1458)
{
SellShort(hands,mylow-n*MinMove*pricescale);
}
if ( MarketPosition<>-1 and open<mylow and time>=0.0901 && time <0.1458)