Lavoro terminato
Tempo di esecuzione 3 ore
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Feedback del dipendente
Thank you, good luck
Specifiche
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
Con risposta
1
Valutazioni
Progetti
1392
67%
Arbitraggio
117
32%
/
42%
In ritardo
215
15%
Gratuito
2
Valutazioni
Progetti
358
49%
Arbitraggio
24
25%
/
50%
In ritardo
80
22%
Gratuito
3
Valutazioni
Progetti
789
71%
Arbitraggio
9
33%
/
33%
In ritardo
22
3%
Gratuito
4
Valutazioni
Progetti
2820
80%
Arbitraggio
156
22%
/
43%
In ritardo
488
17%
Gratuito
5
Valutazioni
Progetti
1047
49%
Arbitraggio
39
28%
/
41%
In ritardo
49
5%
Gratuito
6
Valutazioni
Progetti
757
46%
Arbitraggio
23
39%
/
13%
In ritardo
63
8%
In elaborazione
7
Valutazioni
Progetti
1429
62%
Arbitraggio
21
57%
/
10%
In ritardo
43
3%
Gratuito
Informazioni sul progetto
Budget
50+ USD
Per lo sviluppatore
45
USD