How can I know the number of profit trade in optimization tab when I finish the optimization?

 

Hi Guys

      Profit trade num is important when I choose the parameter after optimization, but I can't get this number in the optimization tab.Is any one know how can I get it? 

 
comix_ye:

Hi Guys

      Profit trade num is important when I choose the parameter after optimization, but I can't get this number in the optimization tab.Is any one know how can I get it? 

It seems to me when can't. This value is only showed when "simple" backtesting, not optimization. Not 100% sure.
 
comix_ye:

      Profit trade num is important when I choose the parameter after optimization, but I can't get this number in the optimization tab.Is any one know how can I get it? 

You can analyze it as a custom optimization criteria. Just a simple example:

double OnTester()
  {
   double ProfitTrades=TesterStatistics(STAT_PROFIT_TRADES); 
//---
   return(ProfitTrades);
  }
 
Alexx:

You can analyze it as a custom optimization criteria. Just a simple example:

I did not know about this feature, thank you.
comix_ye:

Hi Guys

      Profit trade num is important when I choose the parameter after optimization, but I can't get this number in the optimization tab.Is any one know how can I get it?

comix_ye, tell me if you need help to use Alexx suggestion.
 
this really help me understand something. but i don't know about coding.
Reason: