Hello
I'm trying to use different timeframe with ichimoku.
I'd like have ichimoku in timeframe daily in 1 minutes trading
this is my script

Code:
void run()
{
	set(LOGFILE|PLOTNOW);
	set(TICKS);

	BarPeriod = 60;
	TimeFrame = 24;

	 vars H = series(priceHigh()), 
    L = series(priceLow()),
    O = series(priceOpen()),
    C = series(priceClose());
	 var Kijun = (MaxVal(H,26)+MinVal(L,26))/2;
	
	BarPeriod = 1;
	TimeFrame = 1;
	
	NumYears = 1;
	StartDate = 20180201;
	
	PlotScale = 8;
	PlotWidth = 1200;
	PlotHeight1 = 800;
	PlotHeight2 = 600;
	PlotDate = 20180201; 
	PlotBars = 2000;

	
	Ichimoku();
	plot("Kijun",Kijun,MAIN|LINE,BLUE);	
}



I chekeck with fxcm chart and kijun value is not good.
if i remove the two lines
Code:
BarPeriod = 1;
	TimeFrame = 1;


thekijun value is the same as fxcm charts.
Thank you