Replies

trander002
04 Sep 2020, 11:46

RE:

PanagiotisCharalampous said:

Hi trander002,

Here is an example

            var totalSL = 0.0;
            foreach (var position in Positions)
            {
                var slAmount = (position.EntryPrice - position.StopLoss) * (Symbol.PipValue / Symbol.PipSize) * position.VolumeInUnits - (position.Commissions * 2);
                Print("Position ID: " + position.Id + " Stop Loss Amount: " + (-Math.Round((double)slAmount,2)));
                totalSL += (double)slAmount;
            }
            Print("Total SL " + (-Math.Round(totalSL, 2)));

Best Regards,

Panagiotis 

Join us on Telegram

 

 

thank you very much,  it  can work 

 


@trander002

trander002
14 Feb 2020, 15:53

Left panel steals many places


@trander002

trander002
14 Feb 2020, 15:37

we need this


@trander002

trander002
14 Feb 2020, 15:23

how to hidden the QuickTrade buttons?

how to hidden the QuickTrade buttons?


@trander002