Hi,
I want to run multiple batches one after the other. (The second batch needs to wait for the completion of first batch and start)
if( ParamTrigger("batch", "run me" ) )
{
ShellExecute("runbatch", "C:/Program Files/AmiBroker/Formulas/Custom/Batch/Optimization_Batch.abb", "" );
ShellExecute("runbatch", "C:/Program Files/AmiBroker/Formulas/Custom/Batch/Optimization_Batch_2.abb", "" );
}
I tried above code. I see ShellExecute executes these aynchronously and second batch also getting started. But, I want second batch to be automatically started after 1st batch completes. How to achieve this?
Second query: While setting up actions in batch, I see maximum 34 rows and I dont see scroll down to extend batch further. This forced me to use second batch (That is too batches instead of 1 single batch). Is there a way to extend creating actions in first batch beyond 34 rows or so.