Anomaly on a snippet
3 replies
Aschab
8 years ago #114530
I created an extended Equity Control, with a series of logs for testing purposes:
tomas262
8 years ago #134524
Hello, do you use same versions of QA in both cases?
Aschab
8 years ago #134525
I got the free trial, is that a problem?
Tamas
8 years ago #134526
Hello Aschab,
I think the problem is that you define a “StopValue” as a double value
addDoubleParameter(“StopValue”, “Stop Trading Value”, 1.5d, 0d, 200d, 0.1d);
but in the code bellow you get it as Integer which removes the decimal part of value
double stopv = getIntParameterValue(“StopValue”);
Best regards,
Tomas
Viewing 3 replies - 1 through 3 (of 3 total)