Hello Guys, good afternoon.
i am try to create timestamp in seconds of 130.833333333333.
so i am first try Preferences>Intraday>Customs time intervals. in this setting only allow 130 seconds. but not allow milliseconds.
so i am try another option DataBase Settings>Intraday Settings>Per-database Settings>Time Shifts.
i put TimeShift -0.0363425925925926. but i am getting error.
i don't know this is correct way for timestamp candle.
tfrm=in1Second*130.833333333333;
TimeFrameSet(tfrm);
OpeninM = O;
HighinM = H;
LowinM = L;
CloseinM = C;
TimeFrameRestore();
OpeninM = TimeFrameCompress(OpeninM, tfrm, compressOpen );
HighinM = TimeFrameCompress(HighinM, tfrm, compressHigh);
LowinM = TimeFrameCompress(LowinM, tfrm, compressLow);
CloseinM = TimeFrameCompress(CloseinM, tfrm, compressLast);
OpeninM = TimeFrameExpand(OpeninM, tfrm, expandFirst);
HighinM = TimeFrameExpand(HighinM, tfrm, expandLast);
LowinM = TimeFrameExpand(LowinM, tfrm, expandLast);
CloseinM = TimeFrameExpand(CloseinM, tfrm, expandLast);
PlotOHLC(OpeninM,HighinM,LowinM,CloseinM,"Candle",IIf( CloseinM > OpeninM, colorGreen, colorRed ),styleCandle|styleOwnScale);
Title = EncodeColor( colorViolet )+ "Open " + OpeninM + "High " + HighinM + "Low " + LowinM + "Close " + CloseinM ;
any one please guide me.