Set the type ot the constant to color
0_1542655110780_4dd37fb3-d020-40db-bbdc-fecf326bfdf8-image.png
... if you are asking about this, because I'm not sure
But i am taking about 2 pairs are opened by the EA (while other trades are running too), I need to check the added profits for those 2 trades only and decide based on that.
I do not need to know the overall account profit, equity,......
I decided to rewrite the function that creates and removes the virtual stops. I tried few variants and I can't decide which is the best one. The one that is the best logically and allows for less possible problems is unfortunately very slow when backtesting. So I think I will use this variant, but when testing the EA will turn off Virtual Stops and will work with normal stops instead. This is actually the case now when optimizing, because the Tester doesn't work with objects (horizontal lines...) when optimizing.