I want to sell a position if the EMA formula conditions are met, how do I implement this?

: Strategy settings

In the strategy settings there is a SellByCustomEMA parameter for this purpose, in the field of which you specify the EMA formula and if the condition is met, the strategy turns on Panic Sell and sells the open position.