MACD crossover code

Code for MACD crosses above MACD signal below the Zero line and the candle is green.

Hi @Chirayu08

I have created a strategy as per your requirement. Please click on the below link to find your strategy.

Note that I have kept the SL and TP as random numbers, you can change this as per your requirement.

I hope this helps.

Thanks