- ago
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
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
0
280
Solved
1 Replies

Reply

Bookmark

Sort
- ago
#1
Fixing this for B71. Thanks for the bug report.
0
Best Answer

Reply

Bookmark

Sort