I think there is also a huge issue on the lot calculation on the FOREX. I tried the function on GBPUSD
For an account of $1.000.000 and 10 pips Stop Loss, the function Symbol.VolumeForProportionalRisk proposed me to buy 2.500.00 lots which is by far too much…
But when I trued to reverse it with the function Symbol.AmountRisked, it says that I risk $2.500 which is the right number because my risk is 0.25% of the balance.
But obviously, it is not the risk that I have for 2.500.000 lots with a 10pips Stop Loss.
I can't even put a trade with that figures…
Is it also a but? When do you expect to fix it?
Thank you
protected override void OnStart()
{
Print("Symbol "+ Symbol.Name);
Print("Pip size "+Symbol.PipSize);
Print("Account Balance " + Account.Balance);
Print("Volume to risk for SL 10pips " + Symbol.VolumeForProportionalRisk( ProportionalAmountType.Balance, RiskPerTrade, 10));
Print("Amount risked for Volume 2 500 000 with SL 10pips " + Symbol.AmountRisked(Symbol.VolumeForProportionalRisk( ProportionalAmountType.Balance, RiskPerTrade, 10), 10));
I think there is also a huge issue on the lot calculation on the FOREX. I tried the function on GBPUSD
For an account of $1.000.000 and 10 pips Stop Loss, the function Symbol.VolumeForProportionalRisk proposed me to buy 2.500.00 lots which is by far too much…
But when I trued to reverse it with the function Symbol.AmountRisked, it says that I risk $2.500 which is the right number because my risk is 0.25% of the balance.
But obviously, it is not the risk that I have for 2.500.000 lots with a 10pips Stop Loss.
I can't even put a trade with that figures…
Is it also a but? When do you expect to fix it?
Thank you
protected override void OnStart()
{
Print("Symbol "+ Symbol.Name);
Print("Pip size "+Symbol.PipSize);
Print("Account Balance " + Account.Balance);
Print("Volume to risk for SL 10pips " + Symbol.VolumeForProportionalRisk( ProportionalAmountType.Balance, RiskPerTrade, 10));
Print("Amount risked for Volume 2 500 000 with SL 10pips " + Symbol.AmountRisked(Symbol.VolumeForProportionalRisk( ProportionalAmountType.Balance, RiskPerTrade, 10), 10));
PanagiotisCharalampous
28 Apr 2024, 15:44
Hi there,
I don't see any problem.
Can you please explain what the problem is?
Best regards,
Panagiotis
@PanagiotisCharalampous