Forum

EA gets slowly when backtesting

Hello, Any ideas why my EA gets slowly over time when backtesting ? CPU runs on 25% ram 280MB. I am Running the EA each minute. The variable are initialize before getting into the loop, there are approx 100 variables. int Check_Candles[ 3 ]; I have a loop that is executed three times, based on

Variable does not get saved

Hi, int Test gets set to 2 but bool buycondition2 not to true. the variable buycondition2 does not get value true outside of if, but variable test does. second if condition does not get met. Any ideas? int test = 1 ; if (Ask<structurelong2_high && structurelong2_high != 0 ) //