I am trying to experiment with a multiple time frame trading system which
1)buys End of day on positive daily close . 2) Sells next day intraday at 9.30 ( to be optimized later)
following code gives only 1 trade on backtest
---------------------------------
TimeFrameSet( inDaily );
Buy=ROC(C,1)>0;
TimeFrameRestore();
Sell= TimeNum() == 093000 ;
--------------------------------
database has intraday data of 1 min
setting>periodicity = 1 min
Any clues.
1)buys End of day on positive daily close . 2) Sells next day intraday at 9.30 ( to be optimized later)
following code gives only 1 trade on backtest
---------------------------------
TimeFrameSet( inDaily );
Buy=ROC(C,1)>0;
TimeFrameRestore();
Sell= TimeNum() == 093000 ;
--------------------------------
database has intraday data of 1 min
setting>periodicity = 1 min
Any clues.