I need to convert a pinescript V2 to V4

Job ID: 32016130

Budget: $15 – $25 USD

I have an indicator that use open cross close strategy in V2 version.
I was able to convert it to V4 but it doesn't look the same as my old V2.
So I need to convert my old V2 to V4 without changing my old strategy.
Related categories: Pine Script