İş tamamlandı
Tamamlanma süresi: 3 saat
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Geliştirici tarafından geri bildirim
Thank you, good luck
İş Gereklilikleri
Hi guys,
I need a function that returns the index of the candle when passed a datetime value.
Similar to iBarShift(), but I need this function to handle different time frames.
Example.
I pass the datetime of a daily candle, I need it to return the weekly candle's index in which the daily candle is contained within.
Same with say a 1 hour candle timestamp, this function should be able to return the index of the relevant 4 hour candle and so on.
So the function will accept a datetime, and a timeframe to search on.
function(datetime timeStamp, int timeFrameToSearch)
Thanks
Yanıtlandı
1
Derecelendirme
Projeler
1392
67%
Arabuluculuk
117
32%
/
42%
Süresi dolmuş
215
15%
Serbest
2
Derecelendirme
Projeler
358
49%
Arabuluculuk
24
25%
/
50%
Süresi dolmuş
80
22%
Serbest
3
Derecelendirme
Projeler
789
71%
Arabuluculuk
9
33%
/
33%
Süresi dolmuş
22
3%
Serbest
4
Derecelendirme
Projeler
2820
80%
Arabuluculuk
156
22%
/
43%
Süresi dolmuş
488
17%
Serbest
5
Derecelendirme
Projeler
1047
49%
Arabuluculuk
39
28%
/
41%
Süresi dolmuş
49
5%
Serbest
6
Derecelendirme
Projeler
757
46%
Arabuluculuk
23
39%
/
13%
Süresi dolmuş
63
8%
Çalışıyor
7
Derecelendirme
Projeler
1429
62%
Arabuluculuk
21
57%
/
10%
Süresi dolmuş
43
3%
Serbest
Proje bilgisi
Bütçe
50+ USD
Geliştirici için
45
USD