Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MT5 Position Netting changing SLO/TP to the last trade Python 3 #993

Open
zeshansari opened this issue May 25, 2023 · 0 comments
Open

MT5 Position Netting changing SLO/TP to the last trade Python 3 #993

zeshansari opened this issue May 25, 2023 · 0 comments

Comments

@zeshansari
Copy link

Expected Behavior

Actual Behavior

I have Mt5 Netting Demo account and I am using MT5 api to test my strategy on demo account

when any trade open it get merged in the same group and because of that I face the following problems:

  1. Stoploss and Take profit get revised not on average but as per the last trade, infact all trade requests have their separate slo/tp value
  2. so many lots/volume added i.e. 200+ sometimes which is not required because it gives too much loss at once

I want to know following:

  1. How to put slo/tp separately on individual lot/trade/volume
  2. How to limit lot/volume size not to trade more if I have 10 lots in 1 position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant