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
(879)
Projekte
1392
67%
Schlichtung
117
32% / 42%
Frist nicht eingehalten
215
15%
Frei
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
4
Entwickler 4
Bewertung
(1235)
Projekte
2820
80%
Schlichtung
156
22% / 43%
Frist nicht eingehalten
488
17%
Frei
5
Entwickler 5
Bewertung
(586)
Projekte
1047
49%
Schlichtung
39
28% / 41%
Frist nicht eingehalten
49
5%
Frei
6
Entwickler 6
Bewertung
(547)
Projekte
757
46%
Schlichtung
23
39% / 13%
Frist nicht eingehalten
63
8%
Arbeitet
7
Entwickler 7
Bewertung
(1127)
Projekte
1429
62%
Schlichtung
21
57% / 10%
Frist nicht eingehalten
43
3%
Frei

Projektdetails

Budget
50+ USD
Für die Entwickler
45 USD