I am trying to back test a system. I want to start my loop from 
i=FirstBarIntest to LastBarInTest. It that possible? if so how?

if (Status("action") == 5) // Backtest
{
        for ( i =1 ; i < BarCount; i++ )
        {
                if (BuySignal[i])
                {
                        Buy[i] = 1 ;
                        CategoryAddSymbol("", categoryWatchlist, 61);
                }
                if (SellSignal[i] AND InWatchList(61) )
                {
                        Sell[i] = 1;
                }
        }
}

Reply via email to