欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

资金管理问题 (Money management question)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:yaniv_av
发布日期:First Post: Jan 20, 2008 10:30pm
Hello all!

I'm looking for a piece of code that calculate the amount of money to put into a trade as a fixed precentage of the account's worst-case balance.
Now, I know the "fx maney management" indicator that was published in the past.
The problem with that code and a lot of other similar indicators, that it is not taking into considaration other open positions.
What I mean is, that if I want to put 1% of my account into a trade, but I already has an open position(s), I want to calculate the amount of money to put into the new trade as a precentage from the account's worst-case-balance ("worst case" = if the existing opened position(s) will hit SL...)

Does anyone know a code to do that (calculating the current worst-case-balance)?

Thanks !
🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录