Not sure where to go with this, posting here.
I've been working on an .efs and for some reason the + has started to concatenate rather than add.
snippet:
var x;
var y;
var x1;
var x7;
x = close(-1);
var y = study.getValue(MAStudy.MA);
if (x > y) {
x1 = y + 1;
x7 = y + 7;
}
If y is equal to 981.666618
then x1 will be 981.6666181
and x7 will be 981.6666187.
If I change the operation to "-" then it works ok.
ideas?
TIA
Dale
I've been working on an .efs and for some reason the + has started to concatenate rather than add.
snippet:
var x;
var y;
var x1;
var x7;
x = close(-1);
var y = study.getValue(MAStudy.MA);
if (x > y) {
x1 = y + 1;
x7 = y + 7;
}
If y is equal to 981.666618
then x1 will be 981.6666181
and x7 will be 981.6666187.
If I change the operation to "-" then it works ok.
ideas?
TIA
Dale
Comment