An example could be the one shown in the image. The parameters for opening a trade could be the price-moving average crossover indicator (as a filter) and the Heiken Ashi (as a trigger). In this case, if the price is above the 50-period simple moving average, it would be expressed as a buy signal, but a buy trade will not be opened until there are three consecutive Heiken Ashi candles.
Then to complete we would put two options to close the operations, the Trailing Stop, and the other would be Losses in 50 pips.