I have been trying to get the value of the $TICK into my EFS study, so I am using the following code:
myTICK_O = open(0, 1, "$tick")*1;
myTICK_H = high(0, 1, "$tick")*1;
myTICK_L = low(0, 1, "$tick")*1;
myTICK_C = close(0, 1, "$tick")*1;
I basically found some various snipets of code out there for $TRIN and $TICKI, I am not sure why the code that I found is multiplying the value by 1, but what have you.
So I print out the value in an output file, and I know the values that it should be getting for a 1-minute bar in specific, but I can not get the same value in my EFS output as see on a $TICK chart.
I went through the obvious, I matched up the specific bar to the value I am looking for, but still nothing. Can someone help me out, what am I doing wrong, and in specific, how can I get the same value that I see in a $TICK chart in my EFS?
Thanks so much,
Thomas.
myTICK_O = open(0, 1, "$tick")*1;
myTICK_H = high(0, 1, "$tick")*1;
myTICK_L = low(0, 1, "$tick")*1;
myTICK_C = close(0, 1, "$tick")*1;
I basically found some various snipets of code out there for $TRIN and $TICKI, I am not sure why the code that I found is multiplying the value by 1, but what have you.
So I print out the value in an output file, and I know the values that it should be getting for a 1-minute bar in specific, but I can not get the same value in my EFS output as see on a $TICK chart.
I went through the obvious, I matched up the specific bar to the value I am looking for, but still nothing. Can someone help me out, what am I doing wrong, and in specific, how can I get the same value that I see in a $TICK chart in my EFS?
Thanks so much,
Thomas.
Comment