I'm currently using an EA that gives me good results, but in the settings window I have to choose the number of Lots to be traded, while I would prefer to have a % of available cash to set to my convenience. How can I modify the EA to obtain this? Any help truly appreciate, I can give you a copy of the EA to check and to keep for your use. Thank you.
- Scripts: Money Management Script
- how to check profit and modify stop
- Money Management
Arirang88:
I'm currently using an EA that gives me good results, but in the settings window I have to choose the number of Lots to be traded, while I would prefer to have a % of available cash to set to my convenience. How can I modify the EA to obtain this? Any help truly appreciate, I can give you a copy of the EA to check and to keep for your use. Thank you.
I'm currently using an EA that gives me good results, but in the settings window I have to choose the number of Lots to be traded, while I would prefer to have a % of available cash to set to my convenience. How can I modify the EA to obtain this? Any help truly appreciate, I can give you a copy of the EA to check and to keep for your use. Thank you.
Very common calculation:
Lots=AccountEquity()*MaxRisk/Stop* MarketInfo(Symbol(),MODE_TICKSIZE) / MarketInfo(Symbol(),MODE_TICKVALUE);
Many programmers use this, where:
MaxRisk: Fraction of the equity you want to risk on a single trade
Stop: absolute value Open price less Stop price
jtcash:
Very common calculation:
Lots=AccountEquity()*MaxRisk/Stop* MarketInfo(Symbol(),MODE_TICKSIZE) / MarketInfo(Symbol(),MODE_TICKVALUE);
Many programmers use this, where:
MaxRisk: Fraction of the equity you want to risk on a single trade
Stop: absolute value Open price less Stop price
Thank you jtcash! But how can I insert this Money Manager into my EA so that the risk is the same for every trade, even if balance changes, automatically?
jtcash:
Lots=AccountEquity()*MaxRisk/Stop*
MarketInfo(Symbol(),MODE_TICKSIZE)
/ MarketInfo(Symbol(),MODE_TICKVALUE);
Arirang88: But how can I insert this Money Manager into my EA so that the risk is the same for every trade, even if balance changes, automatically?
|
|
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register