How to show Indicators in live chart? - page 2

 
1531691:

Hi Malacarne

Thank you. You understood well. My issue was exactly this.

The problem I'm running in is that my EA calls the MA's, but the period is calculated from the EA, so the MA periods are changing and they are depending on the market. Your answer means that I have to adapt my indicators manually and drag it to the chart. Is there any possibility to display it without draging to the chart. Maybe it sounds very stupied, but for me it is essential that my EA can change the periods of MA's and display them automatically. Are there any chances?

Thank you

Of course it's possible. See documentation...
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
  • www.mql5.com
Chart Operations / ChartIndicatorAdd - Documentation on MQL5
 

THANK YOU GUYS!!


Your are awesome!!!