Topic: HELP- Filter needed to allow trading or not.

For my Strategy i will need a Filter , who allowes Trading or not.
In detail:

I compare two ATR .

If    ATR_1 > ATR_2  then Blocking all trades unequal in which direction short or long.
If   ATR_1 > ATR_2  then allow Trading so other indicators cann open short or long.

This is only a filter and do not think about the direction of the trade, the filter only think about trading is possible or not.

Can i write this customer Filter with the indicator logic in FSB????

Thank for help, and sorry for my english.