If visualization is not checked in strategy tester - no trading at all.

 

Hi everyone, 

If visualization is not checked in strategy tester - there is no trading (EA). If checked then it is working fine. This makes me scratch my head.

Any ideas? 

 
ROMAN5:

Hi everyone, 

If visualization is not checked in strategy tester - there is no trading (EA). If checked then it is working fine. This makes me scratch my head.

Any ideas? 

Weird. Which settings ? which EA, build ?
 
angevoyageur:
Weird. Which settings ? which EA, build ?
I built my own Time Breakout EA. If you download (demo) -- you will see.
 
ROMAN5:
I built my own Time Breakout EA. If you download (demo) -- you will see.
Are you using objects to check your trading signal ?
 
angevoyageur:
Are you using objects to check your trading signal ?

No, I am using:

high = iHigh(Symbol(),NULL, i);
low = iLow(Symbol(),NULL, i);
//+------------------------------------------------------------------+
//| Get Low for specified bar index                                  |
//+------------------------------------------------------------------+
double iLow(string symbol,ENUM_TIMEFRAMES timeframe,int index)
{
   double low=0;
   ArraySetAsSeries(Low,true);
   int copied=CopyLow(symbol,timeframe,0,Bars(symbol,timeframe),Low);
   if(copied>0 && index<copied) low=Low[index];
   return(low);
}
//+------------------------------------------------------------------+
//| Get the High for specified bar index                             |
//+------------------------------------------------------------------+
double iHigh(string symbol,ENUM_TIMEFRAMES timeframe,int index)
{
   double high=0;
   ArraySetAsSeries(High,true);
   int copied=CopyHigh(symbol,timeframe,0,Bars(symbol,timeframe),High);
   if(copied>0 && index<copied) high=High[index];
   return(high);
}
 
ROMAN5:

No, I am using:

Are you sure ? it seems to me there are objects on the chart, not ? I'm not absolutely certain that it is connected, but in your place I will check my code in this direction.