how to make EA for test only and not display the indicator in test

 
hai all, help me how to make ea for test only and dont display the indicator in test mode, im serach in google not get anything somone can help me.
 
Sukino Sukino:
hai all, help me how to make ea for test only and dont display the indicator in test mode, im serach in google not get anything somone can help me.

MT5 ?

 

yes in mt5 how to do that ?

 
Sukino Sukino:

yes in mt5 how to do that ?

No easy way currently.

HideTestIndicators function in MQL5
HideTestIndicators function in MQL5
  • 2016.01.28
  • www.mql5.com
Hi Traders. Just curious if there is any function that does the same job in MQL5 as in HideTestIndicators in MQL4...
 
Sukino Sukino:
hai all, help me how to make ea for test only and dont display the indicator in test mode, im serach in google not get anything somone can help me.

Test only:

if(MQLInfoInteger(MQL_TESTER)){//-- your EA code --}

Hide indicator:

TesterHideIndicators(true);

//-- your indicator(s) --

TesterHideIndicators(false);
Reason: