Query on Ease of Movement indicator

Hi All,
I have plotted EOM (Ease of Movement) indicator in my chart. I want to write a strategy using EOM.
Checked the Tradescript guide, found the syntax. Unfortunately, the seeded indicator drawn on the chart and the indicator drawn by using syntax from guide are different (drawn while doing backtesting).

The parameters of the indicators and the mentions in the syntax are different. The seeded indicator has “MA Type” parameter whereas EOM syntax does not have this. Seeded EOM indicator does cross “zero” line with long interval whereas EOM indicator drawn using tradescript guide’s syntax crosses zero too frequently.

Anyone who has any idea how to use EOM indicator for backtesting, please reply.