Create Function To Find Candle Index Based Off Datetime (on higher tf)

MQL4 Bibliotheken Integration

Auftrag beendet

Ausführungszeit 3 Stunden
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
Entwickler 1
Bewertung
(885)
Projekte
1410
67%
Schlichtung
123
32% / 41%
Frist nicht eingehalten
218
15%
Frei
Veröffentlicht: 1 Beispiel
2
Entwickler 2
Bewertung
(253)
Projekte
358
49%
Schlichtung
24
25% / 50%
Frist nicht eingehalten
80
22%
Frei
3
Entwickler 3
Bewertung
(590)
Projekte
789
71%
Schlichtung
9
33% / 33%
Frist nicht eingehalten
22
3%
Frei
Veröffentlicht: 8 Beispiele
4
Entwickler 4
Bewertung
(1235)
Projekte
2820
80%
Schlichtung
156
22% / 43%
Frist nicht eingehalten
487
17%
Frei
5
Entwickler 5
Bewertung
(589)
Projekte
1066
50%
Schlichtung
39
28% / 41%
Frist nicht eingehalten
49
5%
Arbeitet
Veröffentlicht: 1 Artikel, 8 Beispiele
6
Entwickler 6
Bewertung
(639)
Projekte
862
48%
Schlichtung
29
38% / 17%
Frist nicht eingehalten
63
7%
Arbeitet
7
Entwickler 7
Bewertung
(1156)
Projekte
1462
63%
Schlichtung
21
57% / 10%
Frist nicht eingehalten
43
3%
Frei

Projektdetails

Budget
50+ USD