For any who are interested, I will go through the process of developing a backtest using my existing eSignal code. I will not spoonfeed. If you want to participate, it must be interactively. To begin, please look at the following structure and ask any questions about it you like. Following that we will build up code for an example of my choosing that I know functions correctly. I believe that eSignal's language is sufficiently simple that anyone here can follow it.
//system backtest structure
//variable declarations
//function declarations
//set up chart parameters
//backtesting code
{
//determine the time
//initialize variables
//establish trade day validity
//test for time window
{
//trade loop
{
//set up trade entry conditions
//entry code
//stop loss code
//profit stop code
//end of day exit code
//profit calculation and "helper" code
}
}
}
//system backtest structure
//variable declarations
//function declarations
//set up chart parameters
//backtesting code
{
//determine the time
//initialize variables
//establish trade day validity
//test for time window
{
//trade loop
{
//set up trade entry conditions
//entry code
//stop loss code
//profit stop code
//end of day exit code
//profit calculation and "helper" code
}
}
}