I import 5 min data to my chart via OLE, as example below;
My hourly chart registers as half past the hour, rather than on the hour and as such, my hourly OHLC values are different (presumably to everyone else)
My settings seem fine;
Code for my chart is;
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
_SECTION_BEGIN("Short EMA");
Plot( EMA( C,8),"Short EMA",colorRed,styleLine,0,0,0,0,1);
_SECTION_END();
_SECTION_BEGIN("Medium EMA");
Plot( EMA( C, 34),"Medium EMA",colorGreen,styleLine,0,0,0,0,1);
_SECTION_END();
_SECTION_BEGIN("21 EMA");
Plot( EMA( C, 21),"21 EMA",colorPlum,styleLine,0,0,0,0,1);
_SECTION_END();
_SECTION_BEGIN("Medium MA");
Plot( MA( C, 50 ),"Medium MA",ColorRGB(0,115,255),styleLine,0,0,0,0,2);
_SECTION_END();
_SECTION_BEGIN("Long MA");
Plot( MA( C, 200 ), "Long MA", ColorRGB(255,220,0), styleLine|styleThick,0,0,0,0,2);
_SECTION_END();
_SECTION_BEGIN("Bollinger Bands");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );
Color = ParamColor("Color", colorCycle );
Style = ParamStyle("Style");
Plot( BBandTop( P, Periods, Width ), "BBTop" + _PARAM_VALUES(), Color, Style );
Plot( BBandBot( P, Periods, Width ), "BBBot" + _PARAM_VALUES(), Color, Style );
_SECTION_END();
_SECTION_BEGIN("Bollinger Bands1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 100, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );
Color = ParamColor("Color", colorLightGrey );
Style = ParamStyle("Style", styleLine | styleNoLabel ) | styleNoLabel;
Plot( bbt = BBandTop( P, Periods, Width ), "BBTop" + _PARAM_VALUES(), Color, Style );
Plot( bbb = BBandBot( P, Periods, Width ), "BBBot" + _PARAM_VALUES(), Color, Style );
PlotOHLC( bbt, bbt, bbb, bbb, "", ColorBlend( Color, GetChartBkColor(), 0.85 ), styleNoLabel | styleCloud | styleNoRescale, Null, Null, Null, -1 );
_SECTION_END();
I'm in AWST and its binance data. My EOD is my 8am, a,d Binance I think uses UTC, but I don't think that's implicated in my 30 minute time shift on the 1hr data.
Any ideas?