Progrramming Question?

 
Hi,

I wonder if any body know any function (Script.ex4) to calculate the Max. DD% in a historical period such as a year ago..

Thanks,
 
Could EA Really Live By Order_History Alone? (ubzen) - MQL4 forum will give you the orders. determine the maximum
  • You place the stop where it needs to be - where the reason for the trade is no longer valid. E.g. trading a support bounce the stop goes below the support.
  • Account Balance * percent/100 = RISK = OrderLots * (|OrderOpenPrice - OrderStopLoss| * DeltaPerLot + CommissionPerLot) (Note OOP-OSL includes the SPREAD, and DeltaPerLot is usually around $10/pip but it takes account of the exchange rates of the pair vs. your account currency.)
  • Do NOT use TickValue by itself - DeltaPerLot
  • You must normalize lots properly and check against min and max.
  • You must also check FreeMargin to avoid stop out
 
whroeder1, Thanks for sharing your great experience