Newbie looking for code

 

Hello there. I am in the beginning stage of learning the MQL4 language but no where close to being able to program a couple of what should be simple formulas.

I am in need of two indicators. The first is the difference between +DI and -DI for a 21 period timespan and calculated as a histogram.
The second is a stochastic with periods between 3 and 21 that is plotted so that its color changes when its slope changes.

I hope there is someone out there that can help.

Thank you.

Reason: