Need to set a flag — You just need to set a flag. Initialize an int variable to 0 and set it to 1 after the cross. Everytime the EA runs have it check the flag and if it is 1 then check the Stochastic function. when the flag is set, you'll ...