It rises 100 points, find a program that automatically calculates the number of lot

 

Setting a goal to find the ea that automatically limit losses amount to $ 20.


200 pips profit target would be lost if the pips is also automatically adjusted to 200.


Then it'll be automatically assigned 200 Pip loss of $ 20 million calculations allow me lots.


Looking from five years ago, but could not be found.


Help me, please.


 
  • 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 = RISK = |OrderOpenPrice - OrderStopLoss| * OrderLots * DeltaPerlot (Note OOP-OSL includes the SPREAD)
  • 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
Reason: