Getting always the same position value

In our AFL-Code we inserted a lineto control the positionsize


But, we can insert any percentage as positionsize,
the analysis shows always the same position value

Is there anything missing or needs to be set
to be able to alter the positionsize?
For your info I also attached my analysis settings here:


Please let me know how to solve this issue ?
Thank you in advance.

The "issue" is in your code, you are calling SetPositionSize later on with 0.1 as a size.


1 Like

Thanks, that solved the problem!