Bitcoin

Long and Short MACD Idea

1 542
Hi All

Need help with my script.

I want to only enter a long position if the MACD line is above 0 and there has been a histogram crossover above 0. Trade ends when hist drops below 0.

A short trade is visa versa. If MACD line is below ) and histogram crossunder below 0. Trade ends when histo crosses above 0.

My crossovers work fine. Adding the MACD rule is killing me. Ive tried everything with errors so thought id throw it out there.

I know the results will be great

cheers

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.