Topics
Replies
TakeProfit
11 Feb 2019, 18:12
Hi Panagiotis,
Thank you very much, it works, I went with the following addition to also filter for Symbol.Code.
- var OpenPositions = Positions.Where(x => x.SymbolCode == Symbol.Code && x.Label == "Long" || x.Label == "Short");
foreach (Position position in OpenPositions)
{...}
@TakeProfit
TakeProfit
24 Jan 2019, 13:13
( Updated at: 21 Dec 2023, 09:21 )
Hi Panagiotis,
The clean installation did fix the issue.
Although I didn't removed the 2.0 folder or reinstalled the .NET Framework, it still worked. Maybe this helps finding the root of the problem for a fix in the future.
I saved all folders before reinstallation and I am looking for the settings of the instances from the Algorithms in cAlgo.
After clean installation all those instances (see red boxes in picture) with the setups I was working on were gone.
Best Regards
@TakeProfit
TakeProfit
16 Jun 2020, 16:28
RE:
PanagiotisCharalampous said:
Hi Panagiotis,
thank you for your quick reply!
The example helped a lot.
I just implemented and tested it and it works exactly as I wanted it to!
Best regards
@TakeProfit