Code required for Macd and stoc

i want code for when macd signal corossover is same stochastic oscillator.

Example: Macd singal Crossover =stochastic oscillator

for the above condition you can check the strategy from the expert advisor page

thanks …