You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
here's the data from the files
and here's this bar on the chart
and this is not the only case, it's just one example of many.
All of these bars are related to "Sunday" bars.
but the fact that it can not position an object (build a line), probably something else with a quote base, if you think you need it, try first nail it, and then manually add
Search for bar by time. The function returns the offset of the bar to which the specified time belongs. If there is no bar for the specified time (a "gap" in the history), the function, depending on the exact parameter, returns -1 or the shift of the nearest bar.
Parameters:
symbol - symbol name of the instrument. NULL means the current symbol.
timeframe - Period. Can be one of the chart's periods. 0 means period of current chart.
time - Time value to search.
exact - Returned value if no bar is found. FALSE - iBarShift returns the closest one. TRUE - iBarShift returns -1.
Example:
datetime some_time=D'2004.03.21 12:00';
int shift=iBarShift("EUROUSD",PERIOD_M1,some_time);
Print("shift of bar with open time ",TimeToStr(some_time)," is ",shift);
I'll try to look at the MiG quotes, later.
No, it wasn't.
It's a regular "Sunday" bar, and it does open at 23:00. FIBO, for example, has "Sunday" bars that start at 10 p.m.
Different bar arrival times as well as omissions in the history are taken into account.
Criticism is welcome.
Э... It's just that there was an MA, and then I removed it. But not all the way :)