customized strategy tester charts

 
Is it possible to customize the chart style that is outputted by the strategy tester when selecting Open Chart?

Being able to customize this chart output to match what I have on manually marked up charts would help tremendously.
 

Create tester.tpl template in the templates directory. It will be used when You press Open Chart button

 

Excellent. Thanks. I see it working.

What about the ability to customize the size and type of arrows that are drawn?

 
You need for additional script, that enumerates all the your arrows and changes their size
 
stringo wrote:
You need for additional script, that enumerates all the your arrows and changes their size
Okay. Still new to MQL4 here. Could you kindly provide some code to show how to do this? For example, change all entries to Left Price Labels (box with price) and all exits to Right Price Labels.

Thanks

Bill
 
billworld wrote:
stringo wrote:
You need for additional script, that enumerates all the your arrows and changes their size
Okay. Still new to MQL4 here. Could you kindly provide some code to show how to do this? For example, change all entries to Left Price Labels (box with price) and all exits to Right Price Labels.

Thanks

Bill

Okay, I've been learning MQL4 and have figured out how to change the params of objects already existing on a chart. However, I'm still struggling on one point, that is, how do I go about adding text objects near existing objects where the description of the next text object is taken from the name of the "reference" object?

Understanding how to do this last little bit will allow me to fully customize the charts output by the Strategy Tester. I just need to know how to display text on the chart showing the trade#s and trade types alongside the existing arrows.

Thanks in advance for any assistance.

Bill
 
I need some help
I wrote a tester metatrader file and it never buy or sell
Can some one help me?
I attach the file
//+------------------------------------------------------------------+
//|                                                  B2J.mq4 |
//|                      Copyright © 2005, MetaQuotes Software Corp. |
//|                                       https://www.metaquotes.net// |
//+------------------------------------------------------------------+
extern double TakeProfit = 50;
extern double Lots = 1;
 
int start()
{
   double MacdCurrent, MacdPrevious, SignalCurrent;
   double SignalPrevious, MaCurrent, MaPrevious;
   double SMiActual, SMiAnterior, SMiAnt2;
   double SarActual,SarAnterior;
   double adxActual,adxAnterior;
   
  
// Definición de Indicadores
// ------------------------------------------------------
   SMiActual=iStochastic(NULL,0,9,3,3,MODE_SMA,0,MODE_MAIN,0);
   SMiAnterior=iStochastic(NULL,0,9,3,3,MODE_SMA,0,MODE_MAIN,1);
   SMiAnt2=iStochastic(NULL,0,9,3,3,MODE_SMA,0,MODE_MAIN,2);
   
   SarActual=iSAR(NULL,0.02,0.02,0.2,0);
   SarAnterior=iSAR(NULL,0.02,0.02,0.2,1);
   
   MacdCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
   MacdPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
   
   SignalCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0);
   SignalPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,1);
   
   adxActual=iADX(NULL,0,14,PRICE_HIGH,MODE_MAIN,0);
   adxAnterior=iADX(NULL,0,14,PRICE_HIGH,MODE_MAIN,5);
   
      //-------------------------------------------------------
      //                         BUY1
      //-------------------------------------------------------
     {
     if (SarAnterior>Close[1] && SarActual<Close[0] && SarActual<45 && SarActual>16)
         Print ("BUY 1");
         OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,1,"B2J BUY1",16384,0,Green);
        return(0);
      }
      //-------------------------------------------------------
      //                         BUY2
      //-------------------------------------------------------
      {
      if (Close[2]>Close[1] && Close[1]<Close[0] && SMiAnt2>SMiAnterior && 
         SMiAnterior<SMiActual && SMiActual>-16 && adxActual>adxAnterior)
                  
         Print ("BUY 2");
         OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,1,"B2J BUY2",16384,0,Violet);   
         return (0);
      }
      
      
      {
      //-------------------------------------------------------
      //                         SELL1
      //-------------------------------------------------------
      if (SMiActual<SMiAnterior && SMiAnterior>SMiAnt2)
          OrderSend(Symbol(),OP_SELL,Lots,Bid,3,0,1,"B2J SELL1",16384,0,Violet);
          OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet);
      }
 
}
Reason: