Hi vhervatin and mary, Can share more with me on how to check if the variable have value? Here are mine: if (sig_wave0 > 0.01) OrderEntry(0); if (sig_wave1 > 0.01) OrderEntry(1);