Topic: open only one trade in each condition


I am new to use FSB. I have a scalping strategy to trade that I prefer. It is more reliable for me. But it has a one bad side. I have to wait all around the day in front of the pc to take that signal. So I want to create an EA with FSB. In my strategy I want to take only one trade for each condition.

my strategy is 2 EMA crossover..........
BUY = fast Ema > slow Ema
SELL = fast Ema < slow Ema

take only one trade for each condition

how can I do it....?