工作已完成
执行时间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
等级
项目
1410
67%
仲裁
123
32%
/
41%
逾期
218
15%
空闲
发布者: 1 代码
2
等级
项目
358
49%
仲裁
24
25%
/
50%
逾期
80
22%
空闲
3
等级
项目
789
71%
仲裁
9
33%
/
33%
逾期
22
3%
空闲
发布者: 8 代码
4
等级
项目
2820
80%
仲裁
156
22%
/
43%
逾期
487
17%
空闲
5
等级
项目
1066
50%
仲裁
39
28%
/
41%
逾期
49
5%
工作中
发布者: 1 文章, 8 代码
6
等级
项目
862
48%
仲裁
29
38%
/
17%
逾期
63
7%
工作中
7
等级
项目
1462
63%
仲裁
21
57%
/
10%
逾期
43
3%
空闲
项目信息
预算
50+ USD