Buy at the Next candle open?

#1
I want a amibroker code for the buy signal at the open of the next candle bar.


The signal should not flip. If signal comes at first time, it should not change till the close of the bar.

How to check this settings in the AFL?

Experts.. Please help me