The attached indicator works as expected. Please open a chart and apply this indicator to a default MACD indicator inthe same panel. I assume you will see diamonds.
Assuming you do, that means the core functionality is working. Then you can take this indicator and layer on your code step by step until it finally breaks.
Comment