Hi,
last night i have tried to include the script in attachments in my EA but it doesn't work.
So the main problem for me is the riks per trade. Many people use this function for calculate the right size of lots.
lot=NormalizeDouble(AccountFreeMargin()*MaximumRisk/1000.0,2);
But is not sufficient. So I have found this Script. it is perfect but only for manual traders.
First my GAP Ea with Moving Average and then the Script for the calculation of the Lot size. Can someone help me to include the script in the EA? or give me some suggestions?
Thanks
last night i have tried to include the script in attachments in my EA but it doesn't work.
So the main problem for me is the riks per trade. Many people use this function for calculate the right size of lots.
lot=NormalizeDouble(AccountFreeMargin()*MaximumRisk/1000.0,2);
But is not sufficient. So I have found this Script. it is perfect but only for manual traders.
First my GAP Ea with Moving Average and then the Script for the calculation of the Lot size. Can someone help me to include the script in the EA? or give me some suggestions?
Thanks