Auftrag beendet
Ausführungszeit 3 Stunden
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Bewertung des Entwicklers
Thank you, good luck
Spezifikation
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
Bewerbungen
1
Bewertung
Projekte
1392
67%
Schlichtung
117
32%
/
42%
Frist nicht eingehalten
215
15%
Frei
2
Bewertung
Projekte
358
49%
Schlichtung
24
25%
/
50%
Frist nicht eingehalten
80
22%
Frei
3
Bewertung
Projekte
789
71%
Schlichtung
9
33%
/
33%
Frist nicht eingehalten
22
3%
Frei
4
Bewertung
Projekte
2820
80%
Schlichtung
156
22%
/
43%
Frist nicht eingehalten
488
17%
Frei
5
Bewertung
Projekte
1047
49%
Schlichtung
39
28%
/
41%
Frist nicht eingehalten
49
5%
Frei
6
Bewertung
Projekte
757
46%
Schlichtung
23
39%
/
13%
Frist nicht eingehalten
63
8%
Arbeitet
7
Bewertung
Projekte
1429
62%
Schlichtung
21
57%
/
10%
Frist nicht eingehalten
43
3%
Frei
Projektdetails
Budget
50+ USD
Für die Entwickler
45
USD