Hello, I have a compilation error when using same bar stop exit in building blocks.

When I open the building block strategy as C#coded strategy it seams that it has a locale error
Also as you can see it's hard coded value in the C# code but I selected Stop Loss as an optimizable parameter in building block
When I open the building block strategy as C#coded strategy it seams that it has a locale error
CODE:
public override void AssignAutoStopTargetPrices(Transaction t, double basisPrice, double executionPrice) { double price = 0; /// !!! price = executionPrice * 0,966; /// !!! t.AssignAutoStopLossPrice(price); }
Also as you can see it's hard coded value in the C# code but I selected Stop Loss as an optimizable parameter in building block
Rename
Fixing this for B71. Thanks for the bug report.
Your Response
Post
Edit Post
Login is required