Download MetaTrader 5

MQL4 - Trying to add lot size as percentage of margin to EA

To add comments, please log in or register
Find out how to add a video in the messages editor
windowshopr 2015.04.09 04:56 

Ok guys,


I am at a total loss as to why this isn't working. I have a nice snippet of code that I like using to optimize the lot size based on a percentage of account balance and the stop loss that's been set, but I don't know why the EA is only keeping it at a constant 0.1. I have been trying to mod the MACD Pivot Points stock EA that comes with MT4. Anyone with some free time want to help me out? Been trying at it for a few hours now and can't see why it won't work. Thanks a lot. 

To add comments, please log in or register