Hi,
I'm new to programming in esignal, and am having problems with grasping the syntax and usage for programming in multi-time frame studies.
I have a study that I am working on. It is set to compute on close of each bar. When the study is run, as each bar is processed in the chart, I would like to break down the current interval and get the low value for each corresponding minute the makes up the current bar in the chart that I have my study on.
So for example:
main () {
var myInt = getInterval();
var i;
// in english since I can't get the syntax for multitime frame programming
get the corresponding last "myInt" lows on a 1 min chart that
correspond to the bar in my current chart that has just ended.
for (i = 0; i < myInt; i++) {
get the value for lowon1minute[-i] and
... do something with this value
}
}
Any help in getting my to understand multi time frame programming would be GREATLY appreciated.
Thanks,
Judy
I'm new to programming in esignal, and am having problems with grasping the syntax and usage for programming in multi-time frame studies.
I have a study that I am working on. It is set to compute on close of each bar. When the study is run, as each bar is processed in the chart, I would like to break down the current interval and get the low value for each corresponding minute the makes up the current bar in the chart that I have my study on.
So for example:
main () {
var myInt = getInterval();
var i;
// in english since I can't get the syntax for multitime frame programming
get the corresponding last "myInt" lows on a 1 min chart that
correspond to the bar in my current chart that has just ended.
for (i = 0; i < myInt; i++) {
get the value for lowon1minute[-i] and
... do something with this value
}
}
Any help in getting my to understand multi time frame programming would be GREATLY appreciated.
Thanks,
Judy
Comment