iAC (Bill William's Accelerator & Stochastic Signal - ask for help

 

Can somebody help me to write a code based on the following rules:

iAC is Green and Stochastic & stochastic signal is above iAC =0 line

Thanks in advance

Fabio

Reason: