How to add and display indicators on the chart from my EA?

Hello everybody,

how can I display the indicatos used in my EA in my live chart window?

Problem: While running the “MACD Sample” in Strategy Tester I can see the indicator but not when running the “MACD Sample” in a live chart. Is there any #property of other function I can use to tell the terminal to display the indicators used in my EA also in a live chart window?

This would be helpful for visual testing.


Try ChartIndicatorAdd()

That was great!

Thanks :slight_smile:

This is not working in my editor.

Are you on mt4 or mt5?