Someone must have solved this by now. My conditions are met on the close of the previous bar and an order is entered. However my SL is hit before the present bar closes (hourly chart). Since the conditions still exist from the previous bar, another order is entered. SL hits again before bar close and another order is entered. I've had up to three orders on one bar.
Anyone have simple code to solve this?
Anyone have simple code to solve this?