thanks for the immediate reply, but unfortunally this not helps. Seem's to be a bug in forextester.exe!?In the attachment you can find my complete (extremely simple) VS-project: The only real code there is "int IndMACD = CreateIndicator("EURUSD", 15, "MACD", "8;20;12;Close");"