Traslate the code of NinjaTrader and understand some part

Job ID: 36127166

Budget: $10 – $30 USD

I would like to know how work an indicator that I found
How is taken the swings. What is the filter? I know that we can change the number of bar minimun to make swings