Objective. Filter bank canonical correlation analysis (FBCCA) is a widely-used classification approach implemented in steady-state visual evoked potential (SSVEP)–based brain computer interfaces (BCIs). However, conventional detection algorithms for SSVEP recognition problems, including the FBCCA, were usually based on ‘fixed window’ strategy. That’s to say, these algorithms always analyze data with fixed length. This study devoted to enhance the performance of SSVEP-based BCIs by designing a new dynamic window strategy which automatically finds an optimal data length to achieve higher information transfer rate (ITR). Approach. The main purpose of ‘dynamic window’ is to minimize the required data length while maintaining high accuracy. This study projected the correlation coefficients of FBCCA into probability space by softmax function and built a hypothesis testing model, which took risk function as evaluation of classification result’s ‘credibility’. In order to evaluate the superiority of this approach, FBCCA with fixed data length (FBCCA-FW) and spatial temporal equalization dynamic window (STE-DW) were implemented for comparison. Main results. Fourteen healthy subjects’ results were concluded by a 40-target online SSVEP-based BCI speller system. The results suggest that this proposed approach significantly outperforms STE-DW and FBCCA-FW in terms of accuracy and ITR. Significance. By incorporating the fundamental ideas of FBCCA and dynamic window strategy, this study proposed a new training-free dynamical optimization algorithm, which significantly improved the performance of online SSVEP-based BCI systems.