Get in Optimization Test Future Close/Open

 

Hello,

i want to predict/backtest Patterns. The Pattern are the last 1-5 Candles in the Chart. I want to have this price data in my backtest, but i dont get these data with iBarShift(date), because i just can get the data of the past in the backtest which have been tested.

How i can get them automatically(except the Date) without typing in Open/Close etc?

best regards

 
  1. Your post is unintelligible. Don't speak Engrish.
  2. You can't get them automatically, you must learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 

I have for example a chart of 2014. I want to backtest the last candle of 2014 in 2014. It doesnt work with BarShift(extern datetime), because the pattern is in the Future(iClose(Symbol(),0,-100) while the backtest is running. I cant pay someone for something that he cant do.

Your Answer confirms my thoughts that it doesnt work because of MT4.

 
So move the tester forward
Reason: