Hi Funyoo & Others

Greetings!

I came here for seeking help, is someone kind enough to add to below EA code for moving average crossover (any MA number, any hour time frame):

Buy conditions
The moving average is up and above the pivot point (no R, no S) and the highs of the past 3 days (yesterday, previous day, previous day 2) are above the pivot point.

Sell conditions
The moving average is dn and belw pivot point (no R, no S) and the low of the past 3 days (yesterday, previous day, previous day 2) are below the pivot point.

Thank you
znnyy