I am using both the MACD and the MACD trigger. When comparing these two indicators with other stock charting programs, the MACD trigger doesn't
seem to be accurate. The MACD is accurate and agrees with every other chart program out there, but the MACD trigger is not correct. Am I doing something wrong?
I have used the MACD as the input to my MACDtrigger. That doesn't seem give the correct results for MACDtrigger. If I use Close as my input to MACDtrigger, it just follows the MACD exactly.
Here is part of my code that initializes these indicators:
public class MySymbolScript : MySymbolScriptBase
MACD myMACD = new MACD(12,26);
MACDTrigger trigger = new MACDTrigger(12,26);
public override void Startup()
// Perform initialization here.
myMACD.ChartSettings.Color = Color.Blue;
myMACD.ChartSettings.ShowInChart = true;
trigger.ChartSettings.ShowInChart = true;