function run()
{
BarPeriod = 60;
LookBack = 250;
StartDate = 2010;
EndDate = 2016;
set(PLOTNOW);
ColorDD = ColorEquity = 0; // don't plot Equty and drawdowns
// PlotBars = 1000; // number of bars to plot in the chart
Stop = ATR(100);
TakeProfit = ATR(200);
if (hour() == 13) {
PlotStart = Bar-10;
enterLong();
}
if (hour() == 21) {
PlotStart = Bar-10;
enterShort();
}
plot("Stp",TradeStopLimit,DOT,RED);
plot("Prft",TradeProfitLimit,DOT,BLUE);
}