I ask if someone could help me to add money managent to these buy/sell scripts.
Thanks in advance.
Lubo.
Thanks in advance.
Lubo.
Attached File(s)
If I know how, I tell You!! Few but Good!!
Help with Money Money Management Please! (Free EA) 4 replies
Can someone create this script/EA for Money Management? 4 replies
Need help programming Money Management script 0 replies
Pending order script with money management 1 reply
Money Management Script 6 replies
DislikedI'm too new to help, but:
- people that don't read russian might have a harder time figuring out what's going in that script.
- my own guess is that it looks like you either have to set a bunch of global variables yourself before running the buy or sell script, or there are more scripts that are part of this system you didn't include. Those scripts might be a better place to add any MM logic.Ignored
//Money Management sequence if (MoneyManagement) { if (Risk<1 || Risk>100) { Comment("Invalid Risk Value."); return(0); } else { Lots=MathFloor((AccountFreeMargin()*AccountLeverage()*Risk*Point*BrokerMultiplier*100)/(Ask*MarketInfo(Symbol(),MODE_LOTSIZE)*MarketInfo(Symbol(),MODE_MINLOT)))*MarketInfo(Symbol(),MODE_MINLOT); } }
That's it.