Backtest with negative value parameters (shift)

 

Hi everybody

I have realized a simple EA but i have noticed that if i set parameters with negative values on shift when i try to backtest it the program doesn't open positions.

For example, if EA include CCI period 14 but shift -1, on graph i can see signals, but if i use tester it doesn't open positions.

The same if i would like to test an indicator that has parameters with negative values.

Is it a limit of Metatrader or there could be an issue on EA/indicator?

If i put all parameters with value 0 or positive the tester functions properly.

Ideas?

 
matghid: t if i set parameters with negative values on shift

Negative shift is the future, you can't read the future.