Indicators and EA

 
Good morning
I was wondering when you run an EA, demo or reel on the terminal if you like to see the indicators that trigger the EA?

Because technically, the EA does not display the indicators

THANKS
 
In strategy-tester it may show.(if the coder did not use TesterHideIndicators)
 
yes I know that the indicators are displayed in the strategy tester.
My question is really about execution on the trading terminal
 

may have to call this function in OnInit

https://www.mql5.com/en/docs/chart_operations/chartindicatoradd


If the indicator is on the main chart window:

ChartIndicatorAdd(ChartID(), 0, handle); 

If the indicator would be displayed in the subwindow:

ChartIndicatorAdd(ChartID(), 1, handle); 


that's all I know, maybe someone else had something else to suggest

Documentation on MQL5: Chart Operations / ChartIndicatorAdd
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
  • www.mql5.com
Adds an indicator with the specified handle into a specified chart window. Indicator and chart should be generated on the same symbol and time...
 
Good morning
I'll do a test
 

Hi

If you trade regularly the same EA with same indicators you can also use templates and create a template with used indicators and even with the EA . Add this to the chart you want to trade on. So, at once you start the EA and chosen indicators.

Best Regards

 
Good morning
That answers my question well
If the EA uses a homemade indicator it will not be displayed