tarry0099
tarry0099
Amici 1
tarry0099
tarry0099
Hello,

Thank you for your work on this expert advisor. I am experiencing a problem with the risk calculation that I hope you can address.

I trade on the Dow Jones US30 symbol with a $5,000 account balance, typically using the 5-minute and 1-minute time frames. I have set the default risk to 0.5% of my account per trade in the settings menu, changing it from the default 2%, and saved this configuration.

However, when I attempt to set a buy or sell position, the problem arises. After clicking the button to set a position, three lines for entry, stop-loss, and take-profit appear on the chart. Initially, the stop-loss is set at a default location, and the lot size is correctly calculated based on the 0.5% risk, as expected.

The issue occurs when I adjust the stop-loss line before confirming the position. The risk percentage displayed begins to change, which should not happen. Instead, the lot size should automatically adjust to maintain the specified 0.5% risk level, based on the new stop-loss location. This discrepancy interferes with the expert advisor's primary function, and I have not encountered this issue with other expert advisors.

Could you please investigate this issue and provide a solution? I would appreciate your assistance in resolving this matter.

Thank you!

Best regards,

tarry0099
tarry0099
Registrato sulla MQL5.community