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

MQL4 ライブラリ 統合

仕事が完了した

実行時間3 時間
開発者からのフィードバック
Thank you, good luck

指定

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

応答済み

1
開発者 1
評価
(885)
プロジェクト
1410
67%
仲裁
123
32% / 41%
期限切れ
218
15%
パブリッシュした人: 1 code
2
開発者 2
評価
(253)
プロジェクト
358
49%
仲裁
24
25% / 50%
期限切れ
80
22%
3
開発者 3
評価
(590)
プロジェクト
789
71%
仲裁
9
33% / 33%
期限切れ
22
3%
パブリッシュした人: 8 codes
4
開発者 4
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
487
17%
5
開発者 5
評価
(589)
プロジェクト
1066
50%
仲裁
39
28% / 41%
期限切れ
49
5%
仕事中
パブリッシュした人: 1 article, 8 codes
6
開発者 6
評価
(639)
プロジェクト
862
48%
仲裁
29
38% / 17%
期限切れ
63
7%
仕事中
7
開発者 7
評価
(1156)
プロジェクト
1462
63%
仲裁
21
57% / 10%
期限切れ
43
3%

プロジェクト情報

予算
50+ USD